diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2014-07-11 07:46:05 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2014-07-11 07:46:05 +0000 |
commit | 642ce0e37109e3346e9bda63d1933637df5ce050 (patch) | |
tree | dbe7ae8391c0514c34e10fa35f86dd3c6bb7f452 /security/ipfwcount | |
parent | 32b7c92c6a47d6fc0b75c72efa5b06b82365ec50 (diff) | |
download | ports-642ce0e37109e3346e9bda63d1933637df5ce050.tar.gz ports-642ce0e37109e3346e9bda63d1933637df5ce050.zip |
Notes
Diffstat (limited to 'security/ipfwcount')
-rw-r--r-- | security/ipfwcount/Makefile | 30 |
1 files changed, 10 insertions, 20 deletions
diff --git a/security/ipfwcount/Makefile b/security/ipfwcount/Makefile index a2bc6bd431f0..557de58c9d73 100644 --- a/security/ipfwcount/Makefile +++ b/security/ipfwcount/Makefile @@ -8,21 +8,18 @@ CATEGORIES= security MASTER_SITES= http://deathbeforedecaf.net/misc/ports/ \ http://users.netleader.com.au/~rob/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= Summarise ipfw logs by counting and sorting the fields -PLIST_FILES= bin/ipfwcount -MAN1= ipfwcount.1 - USES= perl5 -.if !defined(NOPORTDOCS) -PLIST_DIRS= %%EXAMPLESDIR%% -PLIST_FILES+= %%EXAMPLESDIR%%/100.ipfwcount +PLIST_FILES= bin/ipfwcount man/man1/ipfwcount.1.gz +PORTEXAMPLES= 100.ipfwcount + SUB_FILES= pkg-message -.endif -NO_STAGE= yes +OPTIONS_DEFINE= EXAMPLES + post-patch: ${REINPLACE_CMD} -e '1s,^#![^ ]*,#!${PERL},' ${WRKSRC}/ipfwcount @@ -30,16 +27,9 @@ do-build: cd ${WRKSRC} && pod2man ipfwcount > ipfwcount.1 do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/ipfwcount ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/ipfwcount.1 ${PREFIX}/man/man1/ipfwcount.1 -.if !defined(NOPORTDOCS) - ${MKDIR} ${EXAMPLESDIR} - ${INSTALL_SCRIPT} ${WRKSRC}/100.ipfwcount ${EXAMPLESDIR} -.endif - -post-install: -.if !defined(NOPORTDOCS) - @${CAT} ${PKGMESSAGE} -.endif + ${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> |