summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-10-04 10:00:38 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-10-04 10:00:38 +0000
commit8da9eeea9bc847ec985612266eb2cbb0a5c9a0cc (patch)
treead6ce86a39fc8a59b7fcf6f2b0eacd5d669174c2 /net
parentUpdate to 5.4.7 release. (diff)
Convert to new options framework
Notes
Notes: svn path=/head/; revision=305247
Diffstat (limited to 'net')
-rw-r--r--net/beanstalkd/distinfo4
-rw-r--r--net/fsplib/Makefile9
-rw-r--r--net/gq/Makefile20
-rw-r--r--net/rwhoisd/Makefile22
-rw-r--r--net/ssvnc/Makefile15
5 files changed, 30 insertions, 40 deletions
diff --git a/net/beanstalkd/distinfo b/net/beanstalkd/distinfo
index 2c2b49576061..c26c6cb1fc0b 100644
--- a/net/beanstalkd/distinfo
+++ b/net/beanstalkd/distinfo
@@ -1,2 +1,2 @@
-SHA256 (beanstalkd-1.6.tar.gz) = f39aa9de0692272b0249134cdf4f0e0c42da7755bad600403ac90e34bac235af
-SIZE (beanstalkd-1.6.tar.gz) = 59880
+SHA256 (beanstalkd-1.7.tar.gz) = 1d851677096d3cee4ee5710ee6cf1cebe8f2b5d9fa05792561ab55b534cbdaf8
+SIZE (beanstalkd-1.7.tar.gz) = 59829
diff --git a/net/fsplib/Makefile b/net/fsplib/Makefile
index 44a09cff2fb0..6216d823538c 100644
--- a/net/fsplib/Makefile
+++ b/net/fsplib/Makefile
@@ -1,7 +1,3 @@
-# New ports collection makefile for: fsplib
-# Date created: 15 Jan 2005
-# Whom: X
-#
# $FreeBSD$
PORTNAME= fsplib
@@ -19,11 +15,12 @@ SCONS_ARGS= prefix=${PREFIX}
PLIST_FILES= include/fsplib.h lib/libfsplib.a
-OPTIONS= SHARED "Install shared library (EXPERIMENTAL)" OFF
+OPTIONS_DEFINE= SHARED
+SHARED_DESC= Install shared library (EXPERIMENTAL)
.include <bsd.port.options.mk>
-.if defined(WITH_SHARED)
+.if ${PORT_OPTIONS:MSHARED}
SCONS_ARGS+= enable-shared=1
PLIST_FILES+= lib/libfsplib.so.0.0.0
.endif
diff --git a/net/gq/Makefile b/net/gq/Makefile
index ae38341c497c..927242bc6928 100644
--- a/net/gq/Makefile
+++ b/net/gq/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: gq
-# Date Created: 8 Jun 2000
-# Whom: Roman Shterenzon <roman@xpert.com>
-#
+# Created by: Roman Shterenzon <roman@xpert.com>
# $FreeBSD$
-#
PORTNAME= gq
PORTVERSION= 1.3.4
@@ -17,8 +13,10 @@ COMMENT= GTK-based LDAP client
LIB_DEPENDS= gnome-keyring:${PORTSDIR}/security/gnome-keyring
-OPTIONS= DND "Enable Drag and drop support in browse mode" On \
- CACHE "Support the OpenLDAP experimental client cache" On
+OPTIONS_DEFINE= DND CACHE
+OPTIONS_DEFAULT= DND CACHE
+DND_DESC= Enable Drag and drop support in browse mode
+CACHE_DESC= Support the OpenLDAP experimental client cache
USE_GNOME= libglade2 gnomedocutils
USE_OPENSSL= yes
@@ -31,14 +29,14 @@ CONFIGURE_ARGS= --with-ldap-prefix=${LOCALBASE}
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if !defined(WITHOUT_DND)
+.if ${PORT_OPTIONS:MDND}
CONFIGURE_ARGS+= --enable-browser-dnd
.endif
-.if !defined(WITHOUT_CACHE)
+.if ${PORT_OPTIONS:MCACHE}
CONFIGURE_ARGS+= --enable-cache
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net/rwhoisd/Makefile b/net/rwhoisd/Makefile
index b4bdefb0b715..6b2250c7f7c8 100644
--- a/net/rwhoisd/Makefile
+++ b/net/rwhoisd/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: rwhoisd
-# Date created: May 9th 1997
-# Whom: James FitzGibbon <jfitz@FreeBSD.org>
-#
+# Created by: James FitzGibbon <jfitz@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= rwhoisd
PORTVERSION= 1.5.9.6
@@ -19,8 +15,10 @@ COMMENT= The Internic referral whois server
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
-OPTIONS= IPV6 "Enable IPV6 support" On \
- LARGEFILE "Enable largefile support (> 2Gb)" Off
+OPTIONS_DEFINE= IPV6 LARGEFILE DOCS
+OPTIONS_DEFAULT= IPV6
+IPV6_DESC= Enable IPV6 support
+LARGEFILE_DESC= Enable largefile support (> 2Gb)
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
@@ -36,13 +34,13 @@ MAN8= rwhois_indexer.8 rwhoisd.8
PORTDOCS= INSTALL.html TODO UPGRADE operations_guide.html \
operations_guide.txt rfc2167.txt security.html security.txt
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITHOUT_IPV6)
+.if empty(PORT_OPTIONS:MIPV6)
CONFIGURE_ARGS+= --disable-ipv6
.endif
-.if defined(WITH_LARGEFILE)
+.if ${PORT_OPTIONS:MLARGEFILE}
CONFIGURE_ARGS+= --enable-largefile
.endif
@@ -60,11 +58,11 @@ post-install:
@${CHOWN} -R nobody /var/log/rwhoisd /var/run/rwhoisd
${INSTALL_MAN} ${WRKSRC}/doc/rwhois_indexer.8 ${PREFIX}/man/man8
${INSTALL_MAN} ${WRKSRC}/doc/rwhoisd.8 ${PREFIX}/man/man8
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
. for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
. endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net/ssvnc/Makefile b/net/ssvnc/Makefile
index 500f48fad8bf..2ff58c92c09e 100644
--- a/net/ssvnc/Makefile
+++ b/net/ssvnc/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: ssvnc
-# Date created: 2007-04-22
-# Whom: alepulver
-#
+# Created by: Alejandro Pulver <alepulver@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= ssvnc
PORTVERSION= 1.0.29
@@ -22,7 +18,8 @@ LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg
RUN_DEPENDS= stunnel:${PORTSDIR}/security/stunnel \
xterm:${PORTSDIR}/x11/xterm
-OPTIONS= ULTRAFTP "UltraVNC File Transfer support (Java required)" off
+OPTIONS_DEFINE= ULTRAFTP DOCS
+ULTRAFTP_DESC= UltraVNC File Transfer support (Java required)
USE_XORG= xi xmu xt xaw ice xpm xext sm
USE_TK_WRAPPER= yes
@@ -33,14 +30,14 @@ MAN1= ssvnc-gui.1 ssvncviewer.1
.include <bsd.port.options.mk>
-.if defined(WITH_ULTRAFTP)
+.if ${PORT_OPTIONS:MULTRAFTP}
USE_JAVA= yes
PLIST_SUB+= ULTRAFTP=""
.else
PLIST_SUB+= ULTRAFTP="@comment "
.endif
-.if defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
MAKE_ARGS+= DOCS=""
.endif
@@ -49,7 +46,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|[[:<:]]ssvnc[[:>:]]|ssvnc-gui|' ${WRKSRC}/man/man1/ssvnc.1
@${REINPLACE_CMD} -e 's|/usr/local/bin|${LOCALBASE}/bin|' \
-e 's|^CC =|CC ?=|' ${WRKSRC}/vncstorepw/Makefile
-.if !defined(WITH_ULTRAFTP)
+.if ${PORT_OPTIONS:MULTRAFTP}
@${REINPLACE_CMD} -e "s|sh -c 'type javac'|:|" \
-e "s|sh -c 'type jar'|:|" \
-e 's|cd $$(JSRC);|: |' \