1 # Created by: Robert Archer <freebsd@deathbeforedecaf.net>
8 MASTER_SITES= http://deathbeforedecaf.net/misc/ports/ \
9 http://users.netleader.com.au/~rob/
11 MAINTAINER= ports@FreeBSD.org
12 COMMENT= Summarise ipfw logs by counting and sorting the fields
14 USES= perl5 shebangfix
15 SHEBANG_FILES= ipfwcount
17 PLIST_FILES= bin/ipfwcount man/man1/ipfwcount.1.gz
18 PORTEXAMPLES= 100.ipfwcount
20 SUB_FILES= pkg-message
22 OPTIONS_DEFINE= EXAMPLES
25 cd ${WRKSRC} && pod2man ipfwcount > ipfwcount.1
28 ${INSTALL_SCRIPT} ${WRKSRC}/ipfwcount ${STAGEDIR}${PREFIX}/bin
29 ${INSTALL_MAN} ${WRKSRC}/ipfwcount.1 ${STAGEDIR}${PREFIX}/man/man1
30 @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
31 ${INSTALL_SCRIPT} ${WRKSRC}/100.ipfwcount ${STAGEDIR}${EXAMPLESDIR}
33 .include <bsd.port.mk>