aboutsummaryrefslogtreecommitdiffstats
path: root/security/gpa/Makefile
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-04-30 14:28:27 +0800
committerjgh <jgh@FreeBSD.org>2013-04-30 14:28:27 +0800
commitf295e054a260dfe63b0118e593f9c0ca548a52df (patch)
tree9ac8f69fd2dfd45c6681e387401491b9bfe89ed8 /security/gpa/Makefile
parent01caedcbcc0dfdc057c7f11d56cbb949ba1cf620 (diff)
downloadfreebsd-ports-gnome-f295e054a260dfe63b0118e593f9c0ca548a52df.tar.gz
freebsd-ports-gnome-f295e054a260dfe63b0118e593f9c0ca548a52df.tar.zst
freebsd-ports-gnome-f295e054a260dfe63b0118e593f9c0ca548a52df.zip
- convert ports to USES= gettext
Approved by: portmgr (bapt@)
Diffstat (limited to 'security/gpa/Makefile')
-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>