aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-02-01 01:00:23 +0800
committerantoine <antoine@FreeBSD.org>2014-02-01 01:00:23 +0800
commit179a5cca46fc682812378c8e9f1189e574852361 (patch)
tree1356acdfb0fb12f2bfae1f601aac350132d4b0c7 /net
parentad5abc50b033b6dfa3b00d39987638320e645d43 (diff)
downloadfreebsd-ports-gnome-179a5cca46fc682812378c8e9f1189e574852361.tar.gz
freebsd-ports-gnome-179a5cca46fc682812378c8e9f1189e574852361.tar.zst
freebsd-ports-gnome-179a5cca46fc682812378c8e9f1189e574852361.zip
- Stage support
- Use OPTIONS helpers
Diffstat (limited to 'net')
-rw-r--r--net/nc6/Makefile15
-rw-r--r--net/nc6/pkg-plist1
2 files changed, 5 insertions, 11 deletions
diff --git a/net/nc6/Makefile b/net/nc6/Makefile
index a49de165d4a9..26cbe5558605 100644
--- a/net/nc6/Makefile
+++ b/net/nc6/Makefile
@@ -11,21 +11,14 @@ MASTER_SITES= ftp://ftp.deepspace6.net/pub/ds6/sources/nc6/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Netcat clone with IPv6 support
-MAN1= nc6.1
-USES= iconv
+USES= iconv
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= NLS
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-PLIST_SUB+= NLS=""
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
+NLS_USES= gettext
+NLS_CONFIGURE_OFF= --disable-nls
.include <bsd.port.mk>
diff --git a/net/nc6/pkg-plist b/net/nc6/pkg-plist
index 847e1ac926e2..24e592234a07 100644
--- a/net/nc6/pkg-plist
+++ b/net/nc6/pkg-plist
@@ -1 +1,2 @@
bin/nc6
+man/man1/nc6.1.gz