2000-11-08 05:15:11 +00:00
|
|
|
# New ports collection makefile for: cflowd
|
|
|
|
# Date created: Di 7 Nov 2000 19:48:50 CET
|
|
|
|
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= cflowd
|
2003-10-08 02:55:42 +00:00
|
|
|
PORTVERSION= 2.1.b1
|
2006-02-23 10:40:44 +00:00
|
|
|
PORTREVISION= 9
|
2003-10-08 02:55:42 +00:00
|
|
|
PORTEPOCH= 1
|
2004-02-23 04:42:13 +00:00
|
|
|
CATEGORIES= net-mgmt
|
2000-11-08 05:15:11 +00:00
|
|
|
MASTER_SITES= ftp://ftp.caida.org/pub/cflowd/
|
2004-12-01 02:04:06 +00:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S|.|-|g}
|
2001-03-13 22:20:15 +00:00
|
|
|
|
2004-03-22 11:48:21 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 13:28:59 +00:00
|
|
|
COMMENT= Flow analysis tool used for analyzing Cisco's NetFlow switching
|
2000-11-08 05:15:11 +00:00
|
|
|
|
2004-12-01 02:04:06 +00:00
|
|
|
LIB_DEPENDS= Arts.0:${PORTSDIR}/net-mgmt/arts++
|
2000-11-18 23:26:01 +00:00
|
|
|
|
2000-11-08 05:15:11 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
2000-11-18 23:26:01 +00:00
|
|
|
USE_BISON= yes
|
2006-08-15 00:56:24 +00:00
|
|
|
USE_LDCONFIG= yes
|
2004-12-01 02:04:06 +00:00
|
|
|
USE_GCC= 2.95
|
2000-11-18 23:26:01 +00:00
|
|
|
|
2004-12-01 02:04:06 +00:00
|
|
|
CONFIGURE_ARGS= --enable-shared --with-artspp=${LOCALBASE}
|
2000-11-08 05:15:11 +00:00
|
|
|
|
|
|
|
MANL= cfdases.l cfdifmatrix.l cfdnets.l cfdnexthops.l \
|
|
|
|
cfdportmatrix.l cfdprotos.l cfdtos.l flowdump.l flowwatch.l
|
|
|
|
|
2004-12-01 02:04:06 +00:00
|
|
|
OPTIONS= FLOWSCAN "FlowScan patch" off
|
2004-03-13 23:55:49 +00:00
|
|
|
|
2004-12-01 02:04:06 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
2004-03-13 23:55:49 +00:00
|
|
|
|
2004-12-01 02:04:06 +00:00
|
|
|
.if defined(WITH_FLOWSCAN)
|
|
|
|
PATCH_SITES+= http://net.doit.wisc.edu/~plonka/cflowd/
|
|
|
|
PATCHFILES+= cflowd-${PORTVERSION:S|.|-|g}-djp.patch
|
2001-03-13 22:20:15 +00:00
|
|
|
.endif
|
|
|
|
|
2004-12-01 02:04:06 +00:00
|
|
|
post-configure:
|
|
|
|
${REINPLACE_CMD} -e 's/ gcc\* / gcc\* | g\+\+\* /g' ${WRKSRC}/libtool
|
|
|
|
|
2001-03-25 10:37:36 +00:00
|
|
|
post-install:
|
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/cflowd.sh \
|
2001-03-25 13:28:21 +00:00
|
|
|
${PREFIX}/etc/rc.d/cflowd-base.sh.sample
|
2001-03-25 10:37:36 +00:00
|
|
|
|
2004-03-13 23:55:49 +00:00
|
|
|
.include <bsd.port.post.mk>
|