aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2012-12-13 03:41:05 +0800
committerbdrewery <bdrewery@FreeBSD.org>2012-12-13 03:41:05 +0800
commitc10069374769562f38c17c8b5d4ff6fb0616ed73 (patch)
tree19bb100e8d3fbb81aae239865dd8a44f9d889523
parentd5175010a16873a476fda1e7e3311c9ce3a86034 (diff)
downloadfreebsd-ports-gnome-c10069374769562f38c17c8b5d4ff6fb0616ed73.tar.gz
freebsd-ports-gnome-c10069374769562f38c17c8b5d4ff6fb0616ed73.tar.zst
freebsd-ports-gnome-c10069374769562f38c17c8b5d4ff6fb0616ed73.zip
- 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
-rw-r--r--editors/aee/Makefile19
1 files changed, 8 insertions, 11 deletions
diff --git a/editors/aee/Makefile b/editors/aee/Makefile
index 2aa5d5723bf0..a80671259155 100644
--- a/editors/aee/Makefile
+++ b/editors/aee/Makefile
@@ -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>