aboutsummaryrefslogtreecommitdiff
path: root/net/ndisc6
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2013-04-30 16:26:32 +0000
committerJason Helfman <jgh@FreeBSD.org>2013-04-30 16:26:32 +0000
commit3ebd84eadafc6adfbfffaf3d38a180c8aa131b3f (patch)
treed8db2ac45c224d55ca1c7386852b0b1434f35dcd /net/ndisc6
parent0cda9daa2b1bb6ba7ad36765916d7e243c3d63e5 (diff)
downloadports-3ebd84eadafc6adfbfffaf3d38a180c8aa131b3f.tar.gz
ports-3ebd84eadafc6adfbfffaf3d38a180c8aa131b3f.zip
- conversion of USE_GETTEXT to USES framework
Approved by: portmgr (bapt@)
Notes
Notes: svn path=/head/; revision=316948
Diffstat (limited to 'net/ndisc6')
-rw-r--r--net/ndisc6/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/net/ndisc6/Makefile b/net/ndisc6/Makefile
index 6545dd57c2ef..49891f6b977e 100644
--- a/net/ndisc6/Makefile
+++ b/net/ndisc6/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: ndisc6
-# Date created: 12 July 2006
-# Whom: rdenis@simphalempin.com
-#
+# Created by: rdenis@simphalempin.com
# $FreeBSD$
-#
PORTNAME= ndisc6
PORTVERSION= 1.0.2
@@ -21,14 +17,14 @@ USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-suid-install
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if ${OSVERSION} >= 803000
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-rdnssd-rdnssd.h
.endif
-.if !defined(WITHOUT_NLS)
-USE_GETTEXT= yes
+.if ${PORT_OPTIONS:MNLS}
+USES+= gettext
.else
CONFIGURE_ARGS+=--disable-nls
.endif
@@ -45,11 +41,11 @@ USE_RC_SUBR= rdnssd
PORTDOCS= AUTHORS NEWS README
post-install:
-.ifndef(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>