Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Oct 2012 18:08:47 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305214 - head/net/datapipe
Message-ID:  <201210031808.q93I8leI070736@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210031808.q93I8leI070736>