diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-07-10 19:07:27 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-07-10 19:07:27 +0000 |
commit | 51325d940af41e15482984805add992181e68be0 (patch) | |
tree | ef83c55da640b01dd93b6d31c5c0f4120b18e8ba /dns/mydns | |
parent | 85658cd493906dcdb6c2571351a5a5a203345bc0 (diff) | |
download | ports-51325d940af41e15482984805add992181e68be0.tar.gz ports-51325d940af41e15482984805add992181e68be0.zip |
Notes
Diffstat (limited to 'dns/mydns')
-rw-r--r-- | dns/mydns/Makefile | 8 | ||||
-rw-r--r-- | dns/mydns/pkg-plist | 6 |
2 files changed, 11 insertions, 3 deletions
diff --git a/dns/mydns/Makefile b/dns/mydns/Makefile index 4363c468f45f..c5b175b41273 100644 --- a/dns/mydns/Makefile +++ b/dns/mydns/Makefile @@ -46,6 +46,14 @@ PKGNAMESUFFIX= -mysql USE_MYSQL= yes .endif +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " +.endif + .include <bsd.port.pre.mk> .if ${ARCH} == "alpha" && ${OSVERSION} >= 502102 diff --git a/dns/mydns/pkg-plist b/dns/mydns/pkg-plist index ea9422735c43..791e30a5e0ac 100644 --- a/dns/mydns/pkg-plist +++ b/dns/mydns/pkg-plist @@ -6,9 +6,9 @@ bin/mydnsptrconvert etc/mydns.conf.sample etc/rc.d/mydns.sh.sample sbin/mydns -share/locale/es/LC_MESSAGES/mydns.mo -share/locale/fr/LC_MESSAGES/mydns.mo -share/locale/pt_BR/LC_MESSAGES/mydns.mo +%%NLS%%share/locale/es/LC_MESSAGES/mydns.mo +%%NLS%%share/locale/fr/LC_MESSAGES/mydns.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/mydns.mo %%PORTDOCS%%%%DOCSDIR%%/AUTHORS %%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%%%DOCSDIR%%/ChangeLog |