aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-07-11 03:07:27 +0800
committerkrion <krion@FreeBSD.org>2004-07-11 03:07:27 +0800
commit65ca9b28ede2694e2073b2d361ec8ead2ed66319 (patch)
tree31f539a79919ab4f00b081b8c213c692ccbe900b /dns
parent4d5f6a4605a1a3cfd2e4d4bb5ec1ad0fe5812c5d (diff)
downloadfreebsd-ports-gnome-65ca9b28ede2694e2073b2d361ec8ead2ed66319.tar.gz
freebsd-ports-gnome-65ca9b28ede2694e2073b2d361ec8ead2ed66319.tar.zst
freebsd-ports-gnome-65ca9b28ede2694e2073b2d361ec8ead2ed66319.zip
Support WITHOUT_NLS
Diffstat (limited to 'dns')
-rw-r--r--dns/mydns-ng/Makefile8
-rw-r--r--dns/mydns-ng/pkg-plist6
-rw-r--r--dns/mydns/Makefile8
-rw-r--r--dns/mydns/pkg-plist6
4 files changed, 22 insertions, 6 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
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