svn commit: r304077 - head/net-mgmt/cflowd
Bryan Drewery
bdrewery at FreeBSD.org
Tue Sep 11 02:25:33 UTC 2012
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 at 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>
More information about the svn-ports-head
mailing list