aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2001-02-24 08:04:51 +0800
committertrevor <trevor@FreeBSD.org>2001-02-24 08:04:51 +0800
commitf0a34cb9104d3b75ce6d50d450c8c872ad88bea3 (patch)
tree3cc8e7997bc154a33c04f89aa565c4c4e5a59519 /www
parent3b653acaa9659e05563f7fd74e75fd24db0896e5 (diff)
downloadfreebsd-ports-gnome-f0a34cb9104d3b75ce6d50d450c8c872ad88bea3.tar.gz
freebsd-ports-gnome-f0a34cb9104d3b75ce6d50d450c8c872ad88bea3.tar.zst
freebsd-ports-gnome-f0a34cb9104d3b75ce6d50d450c8c872ad88bea3.zip
Install the rest of the documentation (reported by sheldonh).
Diffstat (limited to 'www')
-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>