aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-06 23:18:38 +0800
committerbapt <bapt@FreeBSD.org>2013-05-06 23:18:38 +0800
commit1a690bacd9585a99a155a2f741cff79b443b6523 (patch)
treec7e91489b0dba2b35a29ac169022f6d1f2d0ecb0 /devel
parentd7700830d846aa135f6cc2d27c2ad15d2c795b13 (diff)
downloadfreebsd-ports-gnome-1a690bacd9585a99a155a2f741cff79b443b6523.tar.gz
freebsd-ports-gnome-1a690bacd9585a99a155a2f741cff79b443b6523.tar.zst
freebsd-ports-gnome-1a690bacd9585a99a155a2f741cff79b443b6523.zip
Convert from WITHOUT_NLS to PORT_OPTIONS:MNLS
Diffstat (limited to 'devel')
-rw-r--r--devel/popt/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/devel/popt/Makefile b/devel/popt/Makefile
index fa57e4927f4a..8d48c0653218 100644
--- a/devel/popt/Makefile
+++ b/devel/popt/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: popt
-# Date Created: 29 Dec 1999
-# Whom: Yuan-Chen Cheng <ycheng@sinica.edu.tw>
-#
+# Created by: Yuan-Chen Cheng <ycheng@sinica.edu.tw>
# $FreeBSD$
-#
PORTNAME= popt
PORTVERSION= 1.16
@@ -24,13 +20,15 @@ USE_LDCONFIG= yes
MAN3= popt.3
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
-.else
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
CONFIGURE_ARGS+=--enable-nls
PLIST_SUB+= NLS=""
USES+= gettext
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
.endif
.include <bsd.port.mk>