Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jan 2014 17:00:23 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342035 - head/net/nc6
Message-ID:  <201401311700.s0VH0NEC004186@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401311700.s0VH0NEC004186>