diff options
author | Trevor Johnson <trevor@FreeBSD.org> | 2001-02-24 00:04:51 +0000 |
---|---|---|
committer | Trevor Johnson <trevor@FreeBSD.org> | 2001-02-24 00:04:51 +0000 |
commit | 0d57c57582081631b78fc0c346290db422c5071b (patch) | |
tree | 64d1108358519db0c8576dd6e714ecc6de43c2b0 | |
parent | 69ab9abe13e6e84152645e483c32db9f677d8b51 (diff) | |
download | freebsd-ports-0d57c57582081631b78fc0c346290db422c5071b.zip |
Install the rest of the documentation (reported by sheldonh).
-rw-r--r-- | www/wb0/Makefile | 13 |
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> |