svn commit: r342035 - head/net/nc6

Antoine Brodin antoine at FreeBSD.org
Fri Jan 31 17:00:24 UTC 2014


Author: antoine
Date: Fri Jan 31 17:00:23 2014
New Revision: 342035
URL: http://svnweb.freebsd.org/changeset/ports/342035
QAT: https://qat.redports.org/buildarchive/r342035/

Log:
  - Stage support
  - Use OPTIONS helpers

Modified:
  head/net/nc6/Makefile
  head/net/nc6/pkg-plist

Modified: head/net/nc6/Makefile
==============================================================================
--- head/net/nc6/Makefile	Fri Jan 31 16:54:48 2014	(r342034)
+++ head/net/nc6/Makefile	Fri Jan 31 17:00:23 2014	(r342035)
@@ -11,21 +11,14 @@ MASTER_SITES=	ftp://ftp.deepspace6.net/p
 MAINTAINER=	ports at 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>

Modified: head/net/nc6/pkg-plist
==============================================================================
--- head/net/nc6/pkg-plist	Fri Jan 31 16:54:48 2014	(r342034)
+++ head/net/nc6/pkg-plist	Fri Jan 31 17:00:23 2014	(r342035)
@@ -1 +1,2 @@
 bin/nc6
+man/man1/nc6.1.gz


More information about the svn-ports-all mailing list