aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-06 18:22:41 +0800
committerbapt <bapt@FreeBSD.org>2013-05-06 18:22:41 +0800
commit9448bf8a9893f033f4857b17e60990eaf05437f2 (patch)
tree35173dab2afafdac2c12b688bfc1f1397a7b8cfb /net-mgmt
parent3d353e31abfcd08740e73294d90f9ba291e25502 (diff)
downloadfreebsd-ports-gnome-9448bf8a9893f033f4857b17e60990eaf05437f2.tar.gz
freebsd-ports-gnome-9448bf8a9893f033f4857b17e60990eaf05437f2.tar.zst
freebsd-ports-gnome-9448bf8a9893f033f4857b17e60990eaf05437f2.zip
Convert from WITHOUT_NLS to PORT_OPTIONS:MNLS
While here do some conversion to new options framework
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/ap-utils/Makefile14
-rw-r--r--net-mgmt/etherape/Makefile10
-rw-r--r--net-mgmt/wifimgr/Makefile13
3 files changed, 16 insertions, 21 deletions
diff --git a/net-mgmt/ap-utils/Makefile b/net-mgmt/ap-utils/Makefile
index ca96fec38dc6..335c1ccb6b8b 100644
--- a/net-mgmt/ap-utils/Makefile
+++ b/net-mgmt/ap-utils/Makefile
@@ -1,15 +1,11 @@
-# New ports collection makefile for: ap-utils
-# Date created: 2002/07/10
-# Whom: Jerry A! <jerry@thehutt.org>
-#
+# Created by: Jerry A! <jerry@thehutt.org>
# $FreeBSD$
-#
PORTNAME= ap-utils
PORTVERSION= 1.4.1
PORTREVISION= 4
CATEGORIES= net-mgmt
-MASTER_SITES=` SF
+MASTER_SITES= SF
MAINTAINER= david@catwhisker.org
COMMENT= A set of utilities to configure and monitor wireless access points
@@ -22,7 +18,9 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -lintl -L${LOCALBASE}/lib
MAN8= ap-trapd.8 ap-mrtg.8 ap-config.8
-.if !defined(WITHOUT_NLS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
@@ -34,7 +32,7 @@ PLIST_SUB+= NLS="@comment "
post-patch:
@${REINPLACE_CMD} -e 's|_nl_domain_bindings|libintl_nl_domain_bindings|' ${WRKSRC}/configure
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
post-install:
${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/Documentation && \
diff --git a/net-mgmt/etherape/Makefile b/net-mgmt/etherape/Makefile
index bf7fbb90aa69..dd3400aad376 100644
--- a/net-mgmt/etherape/Makefile
+++ b/net-mgmt/etherape/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: etherape
-# Date created: 4 April 2001
-# Whom: Holger Lamm <holger@eit.uni-kl.de>
-#
+# Created by: Holger Lamm <holger@eit.uni-kl.de>
# $FreeBSD$
-#
PORTNAME= etherape
PORTVERSION= 0.9.9
@@ -23,7 +19,9 @@ LDFLAGS+= -L${LOCALBASE}/lib
MAN1= etherape.1
-.if !defined(WITHOUT_NLS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
diff --git a/net-mgmt/wifimgr/Makefile b/net-mgmt/wifimgr/Makefile
index e23c4e95b220..3d877e19c9f2 100644
--- a/net-mgmt/wifimgr/Makefile
+++ b/net-mgmt/wifimgr/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: wifimgr
-# Date created: 2009 November 10
-# Whom: J.R. Oldroyd <fbsd@opal.com>
-#
+# Created by: J.R. Oldroyd <fbsd@opal.com>
# $FreeBSD$
-#
PORTNAME= wifimgr
PORTVERSION= 1.10
@@ -15,12 +11,15 @@ MASTER_SITES= http://opal.com/freebsd/ports/net-mgmt/wifimgr/ \
MAINTAINER= fbsd@opal.com
COMMENT= WiFi Networks Manager
+USES= pkgconfig
USE_BZIP2= yes
USE_XORG= x11
-USE_GNOME= gtk20 pkgconfig
+USE_GNOME= gtk20
INSTALLS_ICONS= yes
-.if !defined(WITHOUT_NLS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else