aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/wmapp
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2004-02-10 03:33:52 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2004-02-10 03:33:52 +0000
commitea33c854f0e6680f12e9a3c82764ac12bfe14ffa (patch)
tree6bf2bd315dd02cd442a614a142620c24bc630ee3 /x11-toolkits/wmapp
parent971d7d079e1faf78a2977cc1a5ddd7a3efa88ca6 (diff)
downloadports-ea33c854f0e6680f12e9a3c82764ac12bfe14ffa.tar.gz
ports-ea33c854f0e6680f12e9a3c82764ac12bfe14ffa.zip
Notes
Diffstat (limited to 'x11-toolkits/wmapp')
-rw-r--r--x11-toolkits/wmapp/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/x11-toolkits/wmapp/Makefile b/x11-toolkits/wmapp/Makefile
index c8d7b9c5693a..defd362d10e7 100644
--- a/x11-toolkits/wmapp/Makefile
+++ b/x11-toolkits/wmapp/Makefile
@@ -34,5 +34,14 @@ do-install:
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${ECHO_CMD} "@dirrm include/wmapp" >> ${TMPPLIST}
${INSTALL_DATA} ${WRKSRC}/libwmapp.a ${PREFIX}/lib
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for file in FAQ.txt README Widgets.txt
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+ @${FIND} ${DOCSDIR} -type f | \
+ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
+ @${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" >> ${TMPPLIST}
+.endif
.include <bsd.port.mk>