diff options
author | trevor <trevor@FreeBSD.org> | 2001-02-24 00:04:51 +0000 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2001-02-24 00:04:51 +0000 |
commit | f0a34cb9104d3b75ce6d50d450c8c872ad88bea3 (patch) | |
tree | 3cc8e7997bc154a33c04f89aa565c4c4e5a59519 /www/wb0 | |
parent | 3b653acaa9659e05563f7fd74e75fd24db0896e5 (diff) | |
download | FreeBSD-ports-f0a34cb9104d3b75ce6d50d450c8c872ad88bea3.zip FreeBSD-ports-f0a34cb9104d3b75ce6d50d450c8c872ad88bea3.tar.gz |
Install the rest of the documentation (reported by sheldonh).
Diffstat (limited to 'www/wb0')
-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 f9c08c8..9baa076 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> |