svn commit: r308785 - head/editors/aee
Bryan Drewery
bdrewery at FreeBSD.org
Wed Dec 12 19:41:06 UTC 2012
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 at posi.net>
-#
+# Created by: Kelly Yancey <kbyanc at posi.net>
# $FreeBSD$
-#
PORTNAME= aee
PORTVERSION= 2.2.15b
@@ -12,13 +8,14 @@ CATEGORIES= editors
MASTER_SITES= http://mahon.cwx.net/sources/
MAINTAINER= ports at 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>
More information about the svn-ports-all
mailing list