summaryrefslogtreecommitdiff
path: root/mbone/wb/Makefile
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2008-08-31 16:17:22 +0000
committerRong-En Fan <rafan@FreeBSD.org>2008-08-31 16:17:22 +0000
commit67adfe6d377fe5da0a2fd94dc4af9a3beed5fbb6 (patch)
tree11d563ce20adc9feee7cbe59cf383e65c40de44d /mbone/wb/Makefile
parentAdd p5-Finance-QuoteTW, fetch quotes of mutual funds in Taiwan. (diff)
- Fix plist when NOPORTDOCS=1
- Use DOCSDIR, PLIST_FILES Reported by: QAT
Diffstat (limited to '')
-rw-r--r--mbone/wb/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/mbone/wb/Makefile b/mbone/wb/Makefile
index 7076fb770950..e8ec0ee2e711 100644
--- a/mbone/wb/Makefile
+++ b/mbone/wb/Makefile
@@ -22,14 +22,17 @@ STRIP=
# ghostscript, ghostscript3, ghostscript4 or ghostscript5 will all do.
USE_GHOSTSCRIPT_RUN= yes
+PLIST_FILES= bin/wb
+PORTDOCS= README CHANGES NOTES lblwb.ps
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wb ${PREFIX}/bin
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/wb
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/wb
- ${INSTALL_DATA} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/wb
- ${INSTALL_DATA} ${WRKSRC}/NOTES ${PREFIX}/share/doc/wb
- ${INSTALL_DATA} ${WRKSRC}/lblwb.ps ${PREFIX}/share/doc/wb
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/NOTES ${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/lblwb.ps ${DOCSDIR}/
.endif
.include <bsd.port.mk>