- Convert to new options framework
- Remove ABI version from LIB_DEPENDS - Switch to using bsd.port.options.mk Approved by: eadler, bapt (mentors, implicit)
This commit is contained in:
parent
e69b8885c6
commit
c228339f43
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=304077
1 changed files with 6 additions and 5 deletions
|
@ -16,7 +16,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S|.|-|g}
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= Flow analysis tool used for analyzing Cisco's NetFlow switching
|
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_AUTOTOOLS= libtool
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
|
@ -28,11 +28,12 @@ CONFIGURE_ARGS= --enable-shared --with-artspp=${LOCALBASE}
|
||||||
MANL= cfdases.l cfdifmatrix.l cfdnets.l cfdnexthops.l \
|
MANL= cfdases.l cfdifmatrix.l cfdnets.l cfdnexthops.l \
|
||||||
cfdportmatrix.l cfdprotos.l cfdtos.l flowdump.l flowwatch.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/
|
PATCH_SITES+= http://net.doit.wisc.edu/~plonka/cflowd/
|
||||||
PATCHFILES+= cflowd-${PORTVERSION:S|.|-|g}-djp.patch
|
PATCHFILES+= cflowd-${PORTVERSION:S|.|-|g}-djp.patch
|
||||||
.endif
|
.endif
|
||||||
|
@ -60,4 +61,4 @@ post-install:
|
||||||
${INSTALL_SCRIPT} ${FILESDIR}/cflowd.sh \
|
${INSTALL_SCRIPT} ${FILESDIR}/cflowd.sh \
|
||||||
${PREFIX}/etc/rc.d/cflowd-base.sh.sample
|
${PREFIX}/etc/rc.d/cflowd-base.sh.sample
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Reference in a new issue