aboutsummaryrefslogtreecommitdiff
path: root/net/nc6
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-07-11 10:22:46 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-07-11 10:22:46 +0000
commit066a44e530dcfa65ac33962e2d3f404fd760adc7 (patch)
treed1859a993523573db922e30f4df436c95895fdd3 /net/nc6
parent037281d66e93469b2b0f6e355259f29176cd1f54 (diff)
downloadports-066a44e530dcfa65ac33962e2d3f404fd760adc7.tar.gz
ports-066a44e530dcfa65ac33962e2d3f404fd760adc7.zip
Notes
Diffstat (limited to 'net/nc6')
-rw-r--r--net/nc6/Makefile9
-rw-r--r--net/nc6/pkg-plist2
2 files changed, 9 insertions, 2 deletions
diff --git a/net/nc6/Makefile b/net/nc6/Makefile
index 0bf1a9b2185b..5f467bec2c6a 100644
--- a/net/nc6/Makefile
+++ b/net/nc6/Makefile
@@ -16,11 +16,18 @@ MAINTAINER= filippo@widestore.net
COMMENT= Netcat clone with IPv6 support
MAN1= nc6.1
-USE_GETTEXT= yes
USE_ICONV= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
+.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/net/nc6/pkg-plist b/net/nc6/pkg-plist
index 50493af43171..7892725bad17 100644
--- a/net/nc6/pkg-plist
+++ b/net/nc6/pkg-plist
@@ -1,2 +1,2 @@
bin/nc6
-share/locale/it/LC_MESSAGES/nc6.mo
+%%NLS%%share/locale/it/LC_MESSAGES/nc6.mo