aboutsummaryrefslogtreecommitdiff
path: root/security/ipfcount
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2006-06-03 15:09:47 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2006-06-03 15:09:47 +0000
commita20f7e3314b17ad96405f5163f4e1dfe2171326d (patch)
tree177bef3c1fc2d4b65d0a0826837728106e8b8258 /security/ipfcount
parent2ad0512caf12bfd032d5abe42f15aa8a7a646fff (diff)
downloadports-a20f7e3314b17ad96405f5163f4e1dfe2171326d.tar.gz
ports-a20f7e3314b17ad96405f5163f4e1dfe2171326d.zip
Notes
Diffstat (limited to 'security/ipfcount')
-rw-r--r--security/ipfcount/Makefile18
1 files changed, 12 insertions, 6 deletions
diff --git a/security/ipfcount/Makefile b/security/ipfcount/Makefile
index a2845840928a..f40a82fb0ceb 100644
--- a/security/ipfcount/Makefile
+++ b/security/ipfcount/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ipfcount
PORTVERSION= 0.2.1
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://deathbeforedecaf.net/misc/ports/ \
http://users.netleader.com.au/~rob/
@@ -14,16 +15,17 @@ MASTER_SITES= http://deathbeforedecaf.net/misc/ports/ \
MAINTAINER= freebsd@deathbeforedecaf.net
COMMENT= Summarise ipf logs by counting and sorting the fields
-PLIST_FILES= bin/ipfcount \
- %%EXAMPLESDIR%%/100.ipfcount
-PLIST_DIRS= %%EXAMPLESDIR%%
-
+PLIST_FILES= bin/ipfcount
MAN1= ipfcount.1
-SUB_FILES= pkg-message
-
USE_PERL5= yes
+.if !defined(NOPORTDOCS)
+PLIST_DIRS= %%EXAMPLESDIR%%
+PLIST_FILES+= %%EXAMPLESDIR%%/100.ipfcount
+SUB_FILES= pkg-message
+.endif
+
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
@@ -39,10 +41,14 @@ do-build:
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/ipfcount ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/ipfcount.1 ${PREFIX}/man/man1/ipfcount.1
+.if !defined(NOPORTDOCS)
${MKDIR} ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/100.ipfcount ${EXAMPLESDIR}
+.endif
post-install:
+.if !defined(NOPORTDOCS)
@${CAT} ${PKGMESSAGE}
+.endif
.include <bsd.port.post.mk>