1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/security/ipfcount/Makefile
Adam Weinberger de9b552061 I experienced catastrophic brain failure and put
PORT_OPTIONS= instead of OPTIONS_DEFINE=. Oops.
2014-05-01 02:33:06 +00:00

36 lines
895 B
Makefile

# Created by: Robert Archer <freebsd@deathbeforedecaf.net>
# $FreeBSD$
PORTNAME= ipfcount
PORTVERSION= 0.2.1
PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= http://deathbeforedecaf.net/misc/ports/ \
http://users.netleader.com.au/~rob/
MAINTAINER= freebsd@deathbeforedecaf.net
COMMENT= Summarise ipf logs by counting and sorting the fields
PLIST_FILES= bin/ipfcount man/man1/ipfcount.1.gz
USES= perl5
OPTIONS_DEFINE= EXAMPLES
PORTEXAMPLES= 100.ipfcount
SUB_FILES= pkg-message
post-patch:
@${REINPLACE_CMD} -e '1s,^#![^ ]*,#!${PERL},' ${WRKSRC}/ipfcount
do-build:
cd ${WRKSRC} && pod2man ipfcount > ipfcount.1
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/ipfcount ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/ipfcount.1 ${STAGEDIR}${PREFIX}/man/man1
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/100.ipfcount ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>