Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2012 19:41:05 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308785 - head/editors/aee
Message-ID:  <201212121941.qBCJf5YV031600@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Wed Dec 12 19:41:05 2012
New Revision: 308785
URL: http://svnweb.freebsd.org/changeset/ports/308785

Log:
  - Trim header
  - Remove indefinite article from COMMENT
  - Convert to new options framework
  - Cleanup pkg-descr to new standards
  - Remove use of bsd.port.pre.mk

Modified:
  head/editors/aee/Makefile

Modified: head/editors/aee/Makefile
==============================================================================
--- head/editors/aee/Makefile	Wed Dec 12 19:29:29 2012	(r308784)
+++ head/editors/aee/Makefile	Wed Dec 12 19:41:05 2012	(r308785)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	aee
-# Date created:		19 Aug 1999
-# Whom:			Kelly Yancey <kbyanc@posi.net>
-#
+# Created by: Kelly Yancey <kbyanc@posi.net>
 # $FreeBSD$
-#
 
 PORTNAME=	aee
 PORTVERSION=	2.2.15b
@@ -12,13 +8,14 @@ CATEGORIES=	editors
 MASTER_SITES=	http://mahon.cwx.net/sources/
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	An easy editor with both curses and X11 interfaces
+COMMENT=	Easy editor with both curses and X11 interfaces
 
-OPTIONS=	XAE "Build X11 version 'xae'" off
+OPTIONS_DEFINE=	XAE
+XAE_DESC=	Build X11 version 'xae'
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-.if !defined(WITH_XAE)
+.if !${PORT_OPTIONS:MXAE}
 ALL_TARGET=	main
 PLIST_SUB=	XAE="@comment "
 .else
@@ -42,9 +39,9 @@ do-install:
 	${LN} ${PREFIX}/bin/aee ${PREFIX}/bin/rae
 	${INSTALL_MAN} ${WRKSRC}/aee.1 ${PREFIX}/man/man1
 	${INSTALL_DATA} ${WRKSRC}/help.ae ${PREFIX}/lib
-.if defined(WITH_XAE)
+.if ${PORT_OPTIONS:MXAE}
 	${INSTALL_PROGRAM} ${WRKSRC}/xae ${PREFIX}/bin
 	${LN} ${PREFIX}/bin/xae ${PREFIX}/bin/rxae
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212121941.qBCJf5YV031600>