openbsd-ports/net/flow-tools/Makefile
2003-04-10 18:08:56 +00:00

39 lines
1011 B
Makefile

# $OpenBSD: Makefile,v 1.8 2003/04/10 18:08:57 jsyn Exp $
COMMENT= "cisco NetFlow utilities"
DISTNAME= flow-tools-0.64
CATEGORIES= net
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
HOME_PAGE= http://www.splintered.net/sw/flow-tools/
MASTER_SITES= ftp://ftp.eng.oar.net/pub/flow-tools/
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu
CONFIGS_CFG= map filter-acl
CONFIGS_SYM= asn ip-prot tcp-port
do-install:
(cd ${WRKSRC}/src; env ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} install)
${INSTALL_MAN} ${WRKSRC}/docs/*.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/flow-tools/cfg
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/flow-tools/sym
.for file in ${CONFIGS_CFG}
${INSTALL_DATA} ${WRKSRC}/configs/${file} \
${PREFIX}/share/examples/flow-tools/cfg
.endfor
.for file in ${CONFIGS_SYM}
${INSTALL_DATA} ${WRKSRC}/configs/${file} \
${PREFIX}/share/examples/flow-tools/sym
.endfor
.include <bsd.port.mk>