55 lines
1.4 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.21 2016/09/10 13:03:42 ajacoutot Exp $
2008-05-21 22:28:35 +00:00
COMMENT-main = tools to collect and process netflow data
COMMENT-nfprofile = filters data from nfdump according to profiles
2014-12-17 14:53:43 +00:00
V = 1.6.13
DISTNAME = nfdump-$V
FULLPKGNAME-main = nfdump-$V
FULLPKGNAME-nfprofile = nfprofile-$V
REVISION-main = 0
REVISION-nfprofile = 0
2008-05-21 22:28:35 +00:00
CATEGORIES = net
HOMEPAGE = http://nfdump.sourceforge.net/
MAINTAINER = Stuart Henderson <sthen@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM = Yes
WANTLIB = c z
2008-05-21 22:28:35 +00:00
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=nfdump/}
2011-03-24 23:03:23 +00:00
CONFIGURE_STYLE = gnu
2008-05-21 22:28:35 +00:00
CONFIGURE_ARGS += --enable-compat15 \
2008-05-21 22:28:35 +00:00
--enable-ftconv \
--enable-nfprofile \
--enable-nftrack \
--enable-nsel \
2011-03-24 23:03:23 +00:00
--enable-sflow \
--with-rrdpath=${LOCALBASE} \
--with-ftpath=${LOCALBASE}
2008-05-21 22:28:35 +00:00
MULTI_PACKAGES = -main -nfprofile
2010-11-19 22:31:32 +00:00
LIB_DEPENDS-main = net/flow-tools>=0.68.5
2010-11-11 16:27:54 +00:00
WANTLIB-main = ${WANTLIB} ft
2010-11-19 22:31:32 +00:00
LIB_DEPENDS-nfprofile = net/rrdtool
WANTLIB-nfprofile = ${WANTLIB} pthread rrd
2010-11-19 22:31:32 +00:00
RUN_DEPENDS-nfprofile = nfdump-$V:net/nfdump,-main
2008-05-21 22:28:35 +00:00
REORDER_DEPENDENCIES += ${PORTSDIR}/infrastructure/mk/automake.dep
2008-05-21 22:28:35 +00:00
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nfdump
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/nfdump
2011-03-24 23:03:23 +00:00
head -119 ${WRKSRC}/bin/sflow.c > ${PREFIX}/share/doc/nfdump/COPYRIGHT
2008-05-21 22:28:35 +00:00
CONFIGURE_ENV = LDFLAGS="${LDFLAGS} -L${X11BASE}/lib"
2013-03-11 11:35:43 +00:00
TEST_FLAGS = TZ=CET
2008-05-21 22:28:35 +00:00
.include <bsd.port.mk>