summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2012-10-03 18:08:47 +0000
committerEitan Adler <eadler@FreeBSD.org>2012-10-03 18:08:47 +0000
commitd61e63bc3fab49f0f825adb4ff49a5bcd684befb (patch)
treebcac77a8c92a4af8b8670d123acf68349c17789d
parent- Fix plist for NLS case (diff)
Covert to OptionsNG
Trim the header
Notes
Notes: svn path=/head/; revision=305214
-rw-r--r--net/datapipe/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/net/datapipe/Makefile b/net/datapipe/Makefile
index 52c646cae894..c497cbafd6a1 100644
--- a/net/datapipe/Makefile
+++ b/net/datapipe/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: datapipe
-# Date created: 04 January 2000
-# Whom: Daniel Baker <dbaker@FreeBSD.org> <dbaker@cuckoo.com>
-#
+# Created by: Daniel Baker <dbaker@FreeBSD.org> <dbaker@cuckoo.com>
# $FreeBSD$
-#
PORTNAME= datapipe
PORTVERSION= 1.0
@@ -17,16 +13,18 @@ COMMENT= Bind a local port and connect it to a remote socket
PLIST_FILES= bin/datapipe
-OPTIONS= REUSEADDR "Reuse the listening socket address" on \
- NOFORK "Do not fork and background" off
+OPTIONS_DEFINE= REUSEADDR NOFORK
+OPTIONS_DEDFAULT= REUSEADDA
+REUSEADDR_DESC= Reuse the listening socket address
+NOFORK_DESC= Do not fork and background
.include <bsd.port.pre.mk>
-.if defined(WITH_REUSEADDR)
+.if ${PORT_OPTIONS:MREUSEADDR}
CFLAGS+= -DDATAPIPE_REUSEADDR
.endif
-.if defined(WITH_NOFORK)
+.if ${PORT_OPTIONS:MNOFORK}
CFLAGS+= -DDATAPIPE_NOFORK
PKGNAMESUFFIX+=-nofork
.endif