aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2001-03-05 00:56:32 +0800
committerroam <roam@FreeBSD.org>2001-03-05 00:56:32 +0800
commit7771ed546a33e9b9f6b769fa534003a42da48117 (patch)
tree2787128f9a7583030892569315ad2aaab548caed /mail
parent830053d7c7d9eb1a1a03eaedeb03840ae1aab2a2 (diff)
downloadfreebsd-ports-gnome-7771ed546a33e9b9f6b769fa534003a42da48117.tar.gz
freebsd-ports-gnome-7771ed546a33e9b9f6b769fa534003a42da48117.tar.zst
freebsd-ports-gnome-7771ed546a33e9b9f6b769fa534003a42da48117.zip
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')
-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 69a68f021162..e691f0c6420e 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 f903fe992c27..2f0134310a44 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