diff options
author | krion <krion@FreeBSD.org> | 2004-07-10 16:58:28 +0000 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-07-10 16:58:28 +0000 |
commit | 5f509113b7b48c470bbd65829c29c4c15a5e4188 (patch) | |
tree | 9f2d2e7e7e1ca3b86a0b4adfc05ed0ecead32c9d /archivers/dpkg | |
parent | a3d8a31c4900e5d4655637b10af28e70a5791a1b (diff) | |
download | FreeBSD-ports-5f509113b7b48c470bbd65829c29c4c15a5e4188.zip FreeBSD-ports-5f509113b7b48c470bbd65829c29c4c15a5e4188.tar.gz |
Support WITHOUT_NLS
Diffstat (limited to 'archivers/dpkg')
-rw-r--r-- | archivers/dpkg/Makefile | 8 | ||||
-rw-r--r-- | archivers/dpkg/pkg-plist | 30 |
2 files changed, 23 insertions, 15 deletions
diff --git a/archivers/dpkg/Makefile b/archivers/dpkg/Makefile index cf73b3d..12c4bd1 100644 --- a/archivers/dpkg/Makefile +++ b/archivers/dpkg/Makefile @@ -36,4 +36,12 @@ MAN8= cleanup-info.8 dpkg-divert.8 dpkg-scanpackages.8 \ dpkg.8 dselect.8 install-info.8 start-stop-daemon.8 \ update-alternatives.8 update-rc.d.8 +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " +.endif + .include <bsd.port.mk> diff --git a/archivers/dpkg/pkg-plist b/archivers/dpkg/pkg-plist index c8636ba..e78d5f2 100644 --- a/archivers/dpkg/pkg-plist +++ b/archivers/dpkg/pkg-plist @@ -42,21 +42,21 @@ sbin/install-info sbin/start-stop-daemon sbin/update-alternatives sbin/update-rc.d -share/locale/ca/LC_MESSAGES/dpkg.mo -share/locale/cs/LC_MESSAGES/dpkg.mo -share/locale/da/LC_MESSAGES/dpkg.mo -share/locale/de/LC_MESSAGES/dpkg.mo -share/locale/en/LC_MESSAGES/dpkg.mo -share/locale/es/LC_MESSAGES/dpkg.mo -share/locale/fr/LC_MESSAGES/dpkg.mo -share/locale/gl/LC_MESSAGES/dpkg.mo -share/locale/it/LC_MESSAGES/dpkg.mo -share/locale/ja/LC_MESSAGES/dpkg.mo -share/locale/nl/LC_MESSAGES/dpkg.mo -share/locale/pl/LC_MESSAGES/dpkg.mo -share/locale/pt_BR/LC_MESSAGES/dpkg.mo -share/locale/ru/LC_MESSAGES/dpkg.mo -share/locale/sv/LC_MESSAGES/dpkg.mo +%%NLS%%share/locale/ca/LC_MESSAGES/dpkg.mo +%%NLS%%share/locale/cs/LC_MESSAGES/dpkg.mo +%%NLS%%share/locale/da/LC_MESSAGES/dpkg.mo +%%NLS%%share/locale/de/LC_MESSAGES/dpkg.mo +%%NLS%%share/locale/en/LC_MESSAGES/dpkg.mo +%%NLS%%share/locale/es/LC_MESSAGES/dpkg.mo +%%NLS%%share/locale/fr/LC_MESSAGES/dpkg.mo +%%NLS%%share/locale/gl/LC_MESSAGES/dpkg.mo +%%NLS%%share/locale/it/LC_MESSAGES/dpkg.mo +%%NLS%%share/locale/ja/LC_MESSAGES/dpkg.mo +%%NLS%%share/locale/nl/LC_MESSAGES/dpkg.mo +%%NLS%%share/locale/pl/LC_MESSAGES/dpkg.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/dpkg.mo +%%NLS%%share/locale/ru/LC_MESSAGES/dpkg.mo +%%NLS%%share/locale/sv/LC_MESSAGES/dpkg.mo @dirrm var/dpkg/updates @dirrm var/dpkg/methods/mnt @dirrm var/dpkg/methods/floppy |