aboutsummaryrefslogtreecommitdiff
path: root/comms/gpredict
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-04-29 22:27:05 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-04-29 22:27:05 +0000
commit9ff06b3cbf038359059e40e0db31ba0cbe996d0f (patch)
tree8583dfe71adaea6ce266633e1799cd602516b801 /comms/gpredict
parent25c4307da135103ea810d65f96f2f1c21e0547b4 (diff)
downloadports-9ff06b3cbf038359059e40e0db31ba0cbe996d0f.tar.gz
ports-9ff06b3cbf038359059e40e0db31ba0cbe996d0f.zip
Convert a bunch of ports from WITHOUT_NLS -> ${PORT_OPTIONS:MNLS}
While here: - trim headers - convert to new options framework
Notes
Notes: svn path=/head/; revision=316850
Diffstat (limited to 'comms/gpredict')
-rw-r--r--comms/gpredict/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/comms/gpredict/Makefile b/comms/gpredict/Makefile
index be804c71b11c..a9a88545fcae 100644
--- a/comms/gpredict/Makefile
+++ b/comms/gpredict/Makefile
@@ -1,7 +1,4 @@
-# New ports collection makefile for: gpredict
-# Date created: 2004-01-22
-# Whom: Matt Dawson <matt@mattsnetwork.co.uk>
-#
+# Created by: Matt Dawson <matt@mattsnetwork.co.uk>
# $FreeBSD$
PORTNAME= gpredict
@@ -27,12 +24,14 @@ MAN1= gpredict.1
LICENSE= GPLv2
-.if defined(WITHOUT_NLS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
+USES+= gettext
+PLIST_SUB+= NLS=""
+.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
-.else
-USES= gettext
-PLIST_SUB+= NLS=""
.endif
DESKTOP_ENTRIES="GPREDICT" \