diff options
author | krion <krion@FreeBSD.org> | 2004-07-11 03:32:49 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-07-11 03:32:49 +0800 |
commit | 6939f4686be14077063d363ad36889b5b3347ce1 (patch) | |
tree | 87c6bcac3e00873b24e8e651c13f0cf9b53712c0 /net/tcpreen | |
parent | aa2ae8f55bb62e651fb81428224b9b1a8eb18baf (diff) | |
download | freebsd-ports-gnome-6939f4686be14077063d363ad36889b5b3347ce1.tar.gz freebsd-ports-gnome-6939f4686be14077063d363ad36889b5b3347ce1.tar.zst freebsd-ports-gnome-6939f4686be14077063d363ad36889b5b3347ce1.zip |
Support WITHOUT_NLS
Diffstat (limited to 'net/tcpreen')
-rw-r--r-- | net/tcpreen/Makefile | 9 | ||||
-rw-r--r-- | net/tcpreen/pkg-plist | 2 |
2 files changed, 9 insertions, 2 deletions
diff --git a/net/tcpreen/Makefile b/net/tcpreen/Makefile index 9184b0dbb46d..6130321d41cc 100644 --- a/net/tcpreen/Makefile +++ b/net/tcpreen/Makefile @@ -16,12 +16,19 @@ COMMENT= A simple TCP session re-engineering tool USE_BZIP2= yes USE_GETOPT_LONG= yes -USE_GETTEXT= yes GNU_CONFIGURE= yes MAN1= tcpreen.1 DOC_FILES= AUTHORS NEWS README THANKS TODO +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " +.endif + post-install: .ifndef(NOPORTDOCS) @${MKDIR} ${DOCSDIR} diff --git a/net/tcpreen/pkg-plist b/net/tcpreen/pkg-plist index 72bb2c877542..0a2daa929ee9 100644 --- a/net/tcpreen/pkg-plist +++ b/net/tcpreen/pkg-plist @@ -1,5 +1,5 @@ bin/tcpreen -share/locale/fr/LC_MESSAGES/tcpreen.mo +%%NLS%%share/locale/fr/LC_MESSAGES/tcpreen.mo %%PORTDOCS%%share/doc/tcpreen/AUTHORS %%PORTDOCS%%share/doc/tcpreen/NEWS %%PORTDOCS%%share/doc/tcpreen/README |