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
|
|
|
|
PORTVERSION= 2-1-b1
|
2001-03-25 14:24:42 +00:00
|
|
|
PORTREVISION= 5
|
2000-11-08 05:15:11 +00:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ftp://ftp.caida.org/pub/cflowd/
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}
|
|
|
|
|
2001-03-13 22:20:15 +00:00
|
|
|
.if defined(CFLOWD_FLOWSCAN_PATCH)
|
|
|
|
PATCH_SITES= http://net.doit.wisc.edu/~plonka/cflowd/
|
|
|
|
PATCHFILES= cflowd-2-1-b1-djp.patch
|
|
|
|
.endif
|
|
|
|
|
2001-08-16 09:45:22 +00:00
|
|
|
MAINTAINER= lyngbol@wheel.dk
|
2000-11-08 05:15:11 +00:00
|
|
|
|
2000-11-18 23:26:01 +00:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libArts.a:${PORTSDIR}/net/arts++
|
|
|
|
|
2000-11-08 05:15:11 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
2001-03-17 11:30:07 +00:00
|
|
|
USE_NEWGCC= yes
|
2000-11-18 23:26:01 +00:00
|
|
|
USE_BISON= yes
|
|
|
|
|
2000-11-08 05:15:11 +00:00
|
|
|
CONFIGURE_ARGS+=--enable-shared --with-artspp=${PREFIX}
|
|
|
|
|
|
|
|
MANL= cfdases.l cfdifmatrix.l cfdnets.l cfdnexthops.l \
|
|
|
|
cfdportmatrix.l cfdprotos.l cfdtos.l flowdump.l flowwatch.l
|
|
|
|
|
2001-03-13 22:20:15 +00:00
|
|
|
.if !defined(CFLOWD_FLOWSCAN_PATCH)
|
2001-12-31 10:20:19 +00:00
|
|
|
pre-everything::
|
2001-03-13 22:20:15 +00:00
|
|
|
@${ECHO} "you can compile cflowd with patches for FlowScan by typing:"
|
|
|
|
@${ECHO} "make CFLOWD_FLOWSCAN_PATCH=yes"
|
|
|
|
.endif
|
|
|
|
|
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
|
|
|
|
2000-11-08 05:15:11 +00:00
|
|
|
.include <bsd.port.mk>
|