From owner-svn-ports-all@FreeBSD.ORG Wed Oct 3 18:08:47 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C71B0106566B; Wed, 3 Oct 2012 18:08:47 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 90DCA8FC20; Wed, 3 Oct 2012 18:08:47 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q93I8lHV070738; Wed, 3 Oct 2012 18:08:47 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q93I8leI070736; Wed, 3 Oct 2012 18:08:47 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201210031808.q93I8leI070736@svn.freebsd.org> From: Eitan Adler Date: Wed, 3 Oct 2012 18:08:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r305214 - head/net/datapipe X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Oct 2012 18:08:47 -0000 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 -# +# Created by: Daniel Baker # $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 -.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