summaryrefslogtreecommitdiff
path: root/www/wb0
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2001-02-24 00:04:51 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2001-02-24 00:04:51 +0000
commit0d57c57582081631b78fc0c346290db422c5071b (patch)
tree64d1108358519db0c8576dd6e714ecc6de43c2b0 /www/wb0
parent1. Upgrade to v1.0.1 (diff)
Install the rest of the documentation (reported by sheldonh).
Notes
Notes: svn path=/head/; revision=38660
Diffstat (limited to 'www/wb0')
-rw-r--r--www/wb0/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/www/wb0/Makefile b/www/wb0/Makefile
index f9c08c842c21..9baa07655c6c 100644
--- a/www/wb0/Makefile
+++ b/www/wb0/Makefile
@@ -19,6 +19,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.4:${PORTSDIR}/graphics/png
DOCDIR= share/doc/${PORTNAME}
+DOCS= AUTHORS Changelog README
PLIST= ${WRKDIR}/pkg-plist
post-patch:
@@ -29,6 +30,9 @@ post-patch:
pre-install:
${ECHO} bin/wb0 > ${PLIST}
.if !defined(NOPORTDOCS)
+.for i in ${DOCS}
+ ${ECHO} ${DOCDIR}/${i} >> ${PLIST}
+.endfor
${ECHO} ${DOCDIR}/wb0.config.README >> ${PLIST}
${ECHO} @dirrm ${DOCDIR} >> ${PLIST}
.endif
@@ -40,9 +44,12 @@ pre-install:
post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/${DOCDIR}/
- ${INSTALL_DATA} ${WRKSRC}/etc/wb0/wb0.config.README \
- ${PREFIX}/${DOCDIR}
+ ${MKDIR} ${PREFIX}/${DOCDIR}
+.for i in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${DOCDIR}
+.endfor
+ ${INSTALL_DATA} ${WRKSRC}/etc/wb0/wb0.config.README ${PREFIX}/${DOCDIR}
+ ${ECHO} ${DOCDIR}/
.endif
.include <bsd.port.mk>