aboutsummaryrefslogtreecommitdiff
path: root/security/gpa
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2013-04-30 06:28:27 +0000
committerJason Helfman <jgh@FreeBSD.org>2013-04-30 06:28:27 +0000
commitbd64d519948dea6790e0a951fce1299c4e3adb5a (patch)
tree9ac8f69fd2dfd45c6681e387401491b9bfe89ed8 /security/gpa
parent454daa83e829dbd47ec4bf10e0b285ea55cfe6ef (diff)
downloadports-bd64d519948dea6790e0a951fce1299c4e3adb5a.tar.gz
ports-bd64d519948dea6790e0a951fce1299c4e3adb5a.zip
- convert ports to USES= gettext
Approved by: portmgr (bapt@)
Notes
Notes: svn path=/head/; revision=316883
Diffstat (limited to 'security/gpa')
-rw-r--r--security/gpa/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/security/gpa/Makefile b/security/gpa/Makefile
index cba48511390f..86e4aac45f25 100644
--- a/security/gpa/Makefile
+++ b/security/gpa/Makefile
@@ -32,18 +32,18 @@ MAN1= gpa.1
OPTIONS_DEFINE= NLS
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if !exists(${LOCALBASE}/bin/gpgsm)
IGNORE= requires gpgsm. (Re)Install security/gnupg with the GPGSM option ON, then rebuild security/gpgme if installed
.endif
-.if empty(PORT_OPTIONS:MNLS)
+.if ${PORT_OPTIONS:MNLS}
+USES+= gettext
+PLIST_SUB+= NLS=""
+.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
-.else
-USE_GETTEXT= yes
-PLIST_SUB+= NLS=""
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>