svn commit: r305214 - head/net/datapipe
Eitan Adler
eadler at FreeBSD.org
Wed Oct 3 18:08:47 UTC 2012
Author: eadler
Date: Wed Oct 3 18:08:47 2012
New Revision: 305214
URL: http://svn.freebsd.org/changeset/ports/305214
Log:
Covert to OptionsNG
Trim the header
Modified:
head/net/datapipe/Makefile
Modified: head/net/datapipe/Makefile
==============================================================================
--- head/net/datapipe/Makefile Wed Oct 3 17:46:09 2012 (r305213)
+++ head/net/datapipe/Makefile Wed Oct 3 18:08:47 2012 (r305214)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: datapipe
-# Date created: 04 January 2000
-# Whom: Daniel Baker <dbaker at FreeBSD.org> <dbaker at cuckoo.com>
-#
+# Created by: Daniel Baker <dbaker at FreeBSD.org> <dbaker at cuckoo.com>
# $FreeBSD$
-#
PORTNAME= datapipe
PORTVERSION= 1.0
@@ -17,16 +13,18 @@ COMMENT= Bind a local port and connect i
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
More information about the svn-ports-all
mailing list