diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-07-11 10:22:46 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-07-11 10:22:46 +0000 |
commit | 066a44e530dcfa65ac33962e2d3f404fd760adc7 (patch) | |
tree | d1859a993523573db922e30f4df436c95895fdd3 /net/nc6 | |
parent | 037281d66e93469b2b0f6e355259f29176cd1f54 (diff) | |
download | ports-066a44e530dcfa65ac33962e2d3f404fd760adc7.tar.gz ports-066a44e530dcfa65ac33962e2d3f404fd760adc7.zip |
Notes
Diffstat (limited to 'net/nc6')
-rw-r--r-- | net/nc6/Makefile | 9 | ||||
-rw-r--r-- | net/nc6/pkg-plist | 2 |
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 |