aboutsummaryrefslogtreecommitdiff
path: root/sysutils/env4801
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-04-28 20:01:07 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-04-28 20:01:07 +0000
commit27d44119e7e106f32a4b4b25539a57a35cc68823 (patch)
tree8462df47de7a523e2debd710ebc0516911e33a43 /sysutils/env4801
parentf3184698839707db08f51b1529956b01b49932cf (diff)
downloadports-27d44119e7e106f32a4b4b25539a57a35cc68823.tar.gz
ports-27d44119e7e106f32a4b4b25539a57a35cc68823.zip
Convert left sysutils ports to new options framework
Notes
Notes: svn path=/head/; revision=316744
Diffstat (limited to 'sysutils/env4801')
-rw-r--r--sysutils/env4801/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/sysutils/env4801/Makefile b/sysutils/env4801/Makefile
index 27f836d24f3e..1adaa2782e5f 100644
--- a/sysutils/env4801/Makefile
+++ b/sysutils/env4801/Makefile
@@ -1,9 +1,5 @@
-# Ports collection makefile for: env4801
-# Date created: Tue, Nov 24th, 2004
-# Whom: Patrick M. Hausen (pmh@hausen.com)
-#
+# Created by: Patrick M. Hausen (pmh@hausen.com)
# $FreeBSD$
-#
PORTNAME= env4801
PORTVERSION= 0.3
@@ -26,12 +22,14 @@ MAKE_ARGS= -DNOMAN
PLIST_FILES= sbin/env4801 etc/rc.d/env4801.sh
-OPTIONS= STATIC "Build a statically linked executable" On
+OPTIONS_DEFINE= STATIC
+OPTIONS_DEFAULT= STATIC
+STATIC_DESC= Build a statically linked executable
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
post-patch:
-.ifdef(WITHOUT_STATIC)
+.if ! ${PORT_OPTIONS:MSTATIC}
@${REINPLACE_CMD} -e '/-static/d' ${WRKSRC}/Makefile
.endif
@@ -46,4 +44,4 @@ do-install:
post-install:
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>