From owner-svn-ports-head@FreeBSD.ORG Tue Sep 11 02:25:33 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B58101065672; Tue, 11 Sep 2012 02:25:33 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A0AAA8FC15; Tue, 11 Sep 2012 02:25:33 +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 q8B2PXnb060485; Tue, 11 Sep 2012 02:25:33 GMT (envelope-from bdrewery@svn.freebsd.org) Received: (from bdrewery@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q8B2PX82060483; Tue, 11 Sep 2012 02:25:33 GMT (envelope-from bdrewery@svn.freebsd.org) Message-Id: <201209110225.q8B2PX82060483@svn.freebsd.org> From: Bryan Drewery Date: Tue, 11 Sep 2012 02:25:33 +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: r304077 - head/net-mgmt/cflowd X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Sep 2012 02:25:33 -0000 Author: bdrewery Date: Tue Sep 11 02:25:33 2012 New Revision: 304077 URL: http://svn.freebsd.org/changeset/ports/304077 Log: - Convert to new options framework - Remove ABI version from LIB_DEPENDS - Switch to using bsd.port.options.mk Approved by: eadler, bapt (mentors, implicit) Modified: head/net-mgmt/cflowd/Makefile Modified: head/net-mgmt/cflowd/Makefile ============================================================================== --- head/net-mgmt/cflowd/Makefile Tue Sep 11 02:23:30 2012 (r304076) +++ head/net-mgmt/cflowd/Makefile Tue Sep 11 02:25:33 2012 (r304077) @@ -16,7 +16,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S|.| MAINTAINER= ports@FreeBSD.org COMMENT= Flow analysis tool used for analyzing Cisco's NetFlow switching -LIB_DEPENDS= Arts.0:${PORTSDIR}/net-mgmt/arts++ +LIB_DEPENDS= Arts:${PORTSDIR}/net-mgmt/arts++ USE_AUTOTOOLS= libtool USE_GMAKE= yes @@ -28,11 +28,12 @@ CONFIGURE_ARGS= --enable-shared --with-a MANL= cfdases.l cfdifmatrix.l cfdnets.l cfdnexthops.l \ cfdportmatrix.l cfdprotos.l cfdtos.l flowdump.l flowwatch.l -OPTIONS= FLOWSCAN "FlowScan patch" off +OPTIONS_DEFINE= FLOWSCAN +FLOWSCAN_DESC= FlowScan patch -.include +.include -.if defined(WITH_FLOWSCAN) +.if ${PORT_OPTIONS:MFLOWSCAN} PATCH_SITES+= http://net.doit.wisc.edu/~plonka/cflowd/ PATCHFILES+= cflowd-${PORTVERSION:S|.|-|g}-djp.patch .endif @@ -60,4 +61,4 @@ post-install: ${INSTALL_SCRIPT} ${FILESDIR}/cflowd.sh \ ${PREFIX}/etc/rc.d/cflowd-base.sh.sample -.include +.include