diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-04-05 15:09:00 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-04-05 15:09:00 +0000 |
commit | 16711df729c0befd450e36c30749fa97d3b9a5d1 (patch) | |
tree | aa58af9d1cbc5f9852e5d321dbd30c3e52c817c9 /security/gnupg1 | |
parent | Add zope-cmftransforms, a Zope product that handles transformations between (diff) |
Add WITHOUT_NLS knob.
PR: ports/64491
Submitted by: Sebastian Klemke <packet@adrenochrome.nl>
Notes
Notes:
svn path=/head/; revision=106239
Diffstat (limited to 'security/gnupg1')
-rw-r--r-- | security/gnupg1/Makefile | 12 | ||||
-rw-r--r-- | security/gnupg1/pkg-plist | 52 |
2 files changed, 37 insertions, 27 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 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 |