aboutsummaryrefslogtreecommitdiff
path: root/dns/mydns-ng
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-07-10 19:07:27 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-07-10 19:07:27 +0000
commit51325d940af41e15482984805add992181e68be0 (patch)
treeef83c55da640b01dd93b6d31c5c0f4120b18e8ba /dns/mydns-ng
parent85658cd493906dcdb6c2571351a5a5a203345bc0 (diff)
downloadports-51325d940af41e15482984805add992181e68be0.tar.gz
ports-51325d940af41e15482984805add992181e68be0.zip
Notes
Diffstat (limited to 'dns/mydns-ng')
-rw-r--r--dns/mydns-ng/Makefile8
-rw-r--r--dns/mydns-ng/pkg-plist6
2 files changed, 11 insertions, 3 deletions
diff --git a/dns/mydns-ng/Makefile b/dns/mydns-ng/Makefile
index 4363c468f45f..c5b175b41273 100644
--- a/dns/mydns-ng/Makefile
+++ b/dns/mydns-ng/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-ng/pkg-plist b/dns/mydns-ng/pkg-plist
index ea9422735c43..791e30a5e0ac 100644
--- a/dns/mydns-ng/pkg-plist
+++ b/dns/mydns-ng/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