1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

installs docs

This commit is contained in:
Ying-Chieh Liao 2004-02-10 03:33:52 +00:00
parent 971d7d079e
commit ea33c854f0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=100529

View File

@ -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>