freebsd-ports/security/ipfwcount/Makefile
Mathieu Arnold 7c47779cb9 Fix usage of ${PERL5}.
${PERL5} points to a specific version of perl, say, perl5.22.1, it is
fine to use it in a ports Makefile to do Perly things, but ports using
it must use ${PERL}, that points to /usr/local/bin/perl so that if the
minor version is updated, the shebang keep working.

While there, make some ports use shebangfix, regen a few patches, and
bump PORTREVISION where a shebang went from PERL5 to PERL.

PR:		205367
With hat:	portmgr
Sponsored by:	Absolight
2015-12-17 17:19:48 +00:00

33 lines
852 B
Makefile

# Created by: Robert Archer <freebsd@deathbeforedecaf.net>
# $FreeBSD$
PORTNAME= ipfwcount
PORTVERSION= 0.2.1
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://deathbeforedecaf.net/misc/ports/ \
http://users.netleader.com.au/~rob/
MAINTAINER= ports@FreeBSD.org
COMMENT= Summarise ipfw logs by counting and sorting the fields
USES= perl5 shebangfix
SHEBANG_FILES= ipfwcount
PLIST_FILES= bin/ipfwcount man/man1/ipfwcount.1.gz
PORTEXAMPLES= 100.ipfwcount
SUB_FILES= pkg-message
OPTIONS_DEFINE= EXAMPLES
do-build:
cd ${WRKSRC} && pod2man ipfwcount > ipfwcount.1
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/ipfwcount ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/ipfwcount.1 ${STAGEDIR}${PREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/100.ipfwcount ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>