Date: Tue, 11 Sep 2012 02:25:33 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r304077 - head/net-mgmt/cflowd Message-ID: <201209110225.q8B2PX82060483@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.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 <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209110225.q8B2PX82060483>