aboutsummaryrefslogtreecommitdiff
path: root/security/gnupg1/Makefile
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2004-04-05 15:09:00 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2004-04-05 15:09:00 +0000
commit16711df729c0befd450e36c30749fa97d3b9a5d1 (patch)
treeaa58af9d1cbc5f9852e5d321dbd30c3e52c817c9 /security/gnupg1/Makefile
parentaf67605c763258c2924df48f240dc524d1940261 (diff)
downloadports-16711df729c0befd450e36c30749fa97d3b9a5d1.tar.gz
ports-16711df729c0befd450e36c30749fa97d3b9a5d1.zip
Notes
Diffstat (limited to 'security/gnupg1/Makefile')
-rw-r--r--security/gnupg1/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/security/gnupg1/Makefile b/security/gnupg1/Makefile
index ed09cd8b7a15..d353148e4a9a 100644
--- a/security/gnupg1/Makefile
+++ b/security/gnupg1/Makefile
@@ -18,7 +18,11 @@ MAINTAINER= kuriyama@FreeBSD.org
COMMENT= The GNU Privacy Guard
USE_BZIP2= YES
-USE_GETTEXT= yes
+
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= YES
+.endif
+
USE_GMAKE= YES
GNU_CONFIGURE= YES
CONFIGURE_TARGET= --build ${MACHINE_ARCH}-portbld-freebsd${OSREL}
@@ -26,6 +30,12 @@ CONFIGURE_TARGET= --build ${MACHINE_ARCH}-portbld-freebsd${OSREL}
MACHINE_ARCH= i586
.endif
CFLAGS:= ${CFLAGS:S/-pipe//g}
+.if !defined(WITHOUT_NLS)
+PLIST_SUB= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB= NLS="@comment "
+.endif
MAN1= gpg.1 gpgv.1
MAN7= gnupg.7