aboutsummaryrefslogtreecommitdiff
path: root/sysutils/psmisc
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/psmisc
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/psmisc')
-rw-r--r--sysutils/psmisc/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/sysutils/psmisc/Makefile b/sysutils/psmisc/Makefile
index 6758db8b533a..6034cb30568c 100644
--- a/sysutils/psmisc/Makefile
+++ b/sysutils/psmisc/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: psmisc
-# Date created: 10 March 1998
-# Whom: rantapaa@uswest.net
-#
+# Created by: rantapaa@uswest.net
# $FreeBSD$
-#
PORTNAME= psmisc
PORTVERSION= 22.16
@@ -22,19 +18,19 @@ CONFLICTS= pidof-[0-9]* pstree-2.[0-9]*
GNU_CONFIGURE= yes
USE_GMAKE= yes
-OPTIONS= NLS "Native Language Support via gettext utilities" on
+OPTIONS_DEFINE= NLS
.include <bsd.port.options.mk>
MAN1= killall.1 pstree.1
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS= --disable-nls
-PLIST_SUB+= NLS="@comment "
-.else
+.if ${PORT_OPTIONS:MNLS}
USES+= gettext
CONFIGURE_ARGS= --enable-nls
PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS= --disable-nls
+PLIST_SUB+= NLS="@comment "
.endif
post-patch: