aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2004-04-05 23:09:00 +0800
committerkuriyama <kuriyama@FreeBSD.org>2004-04-05 23:09:00 +0800
commit1b6444435f5ade32707c5786306b6aecea889953 (patch)
tree2ca1f84338b3f2c9fa66acf64d8c8edfc3680e07 /security
parent52c47abb84438147bddaef35047a1ae11470d638 (diff)
downloadfreebsd-ports-gnome-1b6444435f5ade32707c5786306b6aecea889953.tar.gz
freebsd-ports-gnome-1b6444435f5ade32707c5786306b6aecea889953.tar.zst
freebsd-ports-gnome-1b6444435f5ade32707c5786306b6aecea889953.zip
Add WITHOUT_NLS knob.
PR: ports/64491 Submitted by: Sebastian Klemke <packet@adrenochrome.nl>
Diffstat (limited to 'security')
-rw-r--r--security/gnupg/Makefile12
-rw-r--r--security/gnupg/pkg-plist52
-rw-r--r--security/gnupg1/Makefile12
-rw-r--r--security/gnupg1/pkg-plist52
4 files changed, 74 insertions, 54 deletions
diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile
index ed09cd8b7a15..d353148e4a9a 100644
--- a/security/gnupg/Makefile
+++ b/security/gnupg/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
diff --git a/security/gnupg/pkg-plist b/security/gnupg/pkg-plist
index d003fc6e8601..5ba6ec5e49dc 100644
--- a/security/gnupg/pkg-plist
+++ b/security/gnupg/pkg-plist
@@ -24,32 +24,32 @@ share/gnupg/options.skel
%%PORTDOCS%%share/doc/gnupg/THANKS
%%PORTDOCS%%share/doc/gnupg/TODO
%%PORTDOCS%%share/doc/gnupg/VERSION
-share/locale/be/LC_MESSAGES/gnupg.mo
-share/locale/ca/LC_MESSAGES/gnupg.mo
-share/locale/cs/LC_MESSAGES/gnupg.mo
-share/locale/da/LC_MESSAGES/gnupg.mo
-share/locale/de/LC_MESSAGES/gnupg.mo
-share/locale/el/LC_MESSAGES/gnupg.mo
-share/locale/eo/LC_MESSAGES/gnupg.mo
-share/locale/es/LC_MESSAGES/gnupg.mo
-share/locale/et/LC_MESSAGES/gnupg.mo
-share/locale/fi/LC_MESSAGES/gnupg.mo
-share/locale/fr/LC_MESSAGES/gnupg.mo
-share/locale/gl/LC_MESSAGES/gnupg.mo
-share/locale/hu/LC_MESSAGES/gnupg.mo
-share/locale/id/LC_MESSAGES/gnupg.mo
-share/locale/it/LC_MESSAGES/gnupg.mo
-share/locale/ja/LC_MESSAGES/gnupg.mo
-share/locale/nl/LC_MESSAGES/gnupg.mo
-share/locale/pl/LC_MESSAGES/gnupg.mo
-share/locale/pt/LC_MESSAGES/gnupg.mo
-share/locale/pt_BR/LC_MESSAGES/gnupg.mo
-share/locale/ro/LC_MESSAGES/gnupg.mo
-share/locale/ru/LC_MESSAGES/gnupg.mo
-share/locale/sk/LC_MESSAGES/gnupg.mo
-share/locale/sv/LC_MESSAGES/gnupg.mo
-share/locale/tr/LC_MESSAGES/gnupg.mo
-share/locale/zh_TW/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/be/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/da/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/de/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/el/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/eo/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/es/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/et/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/gl/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/id/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/it/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/gnupg.mo
@dirrm share/gnupg
@unexec rmdir %D/share/locale/be/LC_MESSAGES 2>/dev/null || true
@unexec rmdir %D/share/locale/be 2>/dev/null || true
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
diff --git a/security/gnupg1/pkg-plist b/security/gnupg1/pkg-plist
index d003fc6e8601..5ba6ec5e49dc 100644
--- a/security/gnupg1/pkg-plist
+++ b/security/gnupg1/pkg-plist
@@ -24,32 +24,32 @@ share/gnupg/options.skel
%%PORTDOCS%%share/doc/gnupg/THANKS
%%PORTDOCS%%share/doc/gnupg/TODO
%%PORTDOCS%%share/doc/gnupg/VERSION
-share/locale/be/LC_MESSAGES/gnupg.mo
-share/locale/ca/LC_MESSAGES/gnupg.mo
-share/locale/cs/LC_MESSAGES/gnupg.mo
-share/locale/da/LC_MESSAGES/gnupg.mo
-share/locale/de/LC_MESSAGES/gnupg.mo
-share/locale/el/LC_MESSAGES/gnupg.mo
-share/locale/eo/LC_MESSAGES/gnupg.mo
-share/locale/es/LC_MESSAGES/gnupg.mo
-share/locale/et/LC_MESSAGES/gnupg.mo
-share/locale/fi/LC_MESSAGES/gnupg.mo
-share/locale/fr/LC_MESSAGES/gnupg.mo
-share/locale/gl/LC_MESSAGES/gnupg.mo
-share/locale/hu/LC_MESSAGES/gnupg.mo
-share/locale/id/LC_MESSAGES/gnupg.mo
-share/locale/it/LC_MESSAGES/gnupg.mo
-share/locale/ja/LC_MESSAGES/gnupg.mo
-share/locale/nl/LC_MESSAGES/gnupg.mo
-share/locale/pl/LC_MESSAGES/gnupg.mo
-share/locale/pt/LC_MESSAGES/gnupg.mo
-share/locale/pt_BR/LC_MESSAGES/gnupg.mo
-share/locale/ro/LC_MESSAGES/gnupg.mo
-share/locale/ru/LC_MESSAGES/gnupg.mo
-share/locale/sk/LC_MESSAGES/gnupg.mo
-share/locale/sv/LC_MESSAGES/gnupg.mo
-share/locale/tr/LC_MESSAGES/gnupg.mo
-share/locale/zh_TW/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/be/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/da/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/de/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/el/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/eo/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/es/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/et/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/gl/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/id/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/it/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/gnupg.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/gnupg.mo
@dirrm share/gnupg
@unexec rmdir %D/share/locale/be/LC_MESSAGES 2>/dev/null || true
@unexec rmdir %D/share/locale/be 2>/dev/null || true