diff options
author | sat <sat@FreeBSD.org> | 2006-06-03 23:09:47 +0800 |
---|---|---|
committer | sat <sat@FreeBSD.org> | 2006-06-03 23:09:47 +0800 |
commit | c849765ffed994a164ba61c59973180ccd227025 (patch) | |
tree | 1542a69695d39d56158dd692960fc378b1aad606 /security | |
parent | db8228c2e643b33da33522856e7038f85b0ef42a (diff) | |
download | freebsd-ports-gnome-c849765ffed994a164ba61c59973180ccd227025.tar.gz freebsd-ports-gnome-c849765ffed994a164ba61c59973180ccd227025.tar.zst freebsd-ports-gnome-c849765ffed994a164ba61c59973180ccd227025.zip |
- Example files should not be installed if NOPORTDOCS is defined
PR: ports/97355
Submitted by: Robert Archer <freebsd@deathbeforedecaf.net> (maintainer)
Diffstat (limited to 'security')
-rw-r--r-- | security/ipfcount/Makefile | 18 |
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> |