summaryrefslogtreecommitdiffstats
path: root/mail/rblcheck
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2001-03-04 16:56:32 +0000
committerroam <roam@FreeBSD.org>2001-03-04 16:56:32 +0000
commit7771ed546a33e9b9f6b769fa534003a42da48117 (patch)
tree2787128f9a7583030892569315ad2aaab548caed /mail/rblcheck
parent830053d7c7d9eb1a1a03eaedeb03840ae1aab2a2 (diff)
downloadFreeBSD-ports-7771ed546a33e9b9f6b769fa534003a42da48117.zip
FreeBSD-ports-7771ed546a33e9b9f6b769fa534003a42da48117.tar.gz
While I'm here, fix PORTDOCS handling:
- no need for loops and multiple install invocations, docs/* is fine; - add %%PORTDOCS%% to pkg-plist, so +CONTENTS is generated correctly.
Diffstat (limited to 'mail/rblcheck')
-rw-r--r--mail/rblcheck/Makefile6
-rw-r--r--mail/rblcheck/pkg-plist14
2 files changed, 8 insertions, 12 deletions
diff --git a/mail/rblcheck/Makefile b/mail/rblcheck/Makefile
index 69a68f0..e691f0c 100644
--- a/mail/rblcheck/Makefile
+++ b/mail/rblcheck/Makefile
@@ -13,15 +13,11 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
-PORTDOCS= BUGS CHANGES CREDITS INSTALL PLATFORMS TODO
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rblcheck ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/rblcheck
-.for file in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/docs/${file} ${PREFIX}/share/doc/rblcheck
-.endfor
+ ${INSTALL_DATA} ${WRKSRC}/docs/* ${PREFIX}/share/doc/rblcheck
.endif
.include <bsd.port.mk>
diff --git a/mail/rblcheck/pkg-plist b/mail/rblcheck/pkg-plist
index f903fe9..2f01343 100644
--- a/mail/rblcheck/pkg-plist
+++ b/mail/rblcheck/pkg-plist
@@ -1,8 +1,8 @@
bin/rblcheck
-share/doc/rblcheck/BUGS
-share/doc/rblcheck/CHANGES
-share/doc/rblcheck/CREDITS
-share/doc/rblcheck/INSTALL
-share/doc/rblcheck/PLATFORMS
-share/doc/rblcheck/TODO
-@dirrm share/doc/rblcheck
+%%PORTDOCS%%share/doc/rblcheck/BUGS
+%%PORTDOCS%%share/doc/rblcheck/CHANGES
+%%PORTDOCS%%share/doc/rblcheck/CREDITS
+%%PORTDOCS%%share/doc/rblcheck/INSTALL
+%%PORTDOCS%%share/doc/rblcheck/PLATFORMS
+%%PORTDOCS%%share/doc/rblcheck/TODO
+%%PORTDOCS%%@dirrm share/doc/rblcheck
OpenPOWER on IntegriCloud