1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

- use do-install-DOCS-on

- use do-install-EXAMPLES-on
This commit is contained in:
Dirk Meyer 2015-11-21 18:24:12 +00:00
parent 05bcfbdb57
commit f4ff9b0388
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=402177

View File

@ -30,17 +30,17 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/noattach.8 ${STAGEDIR}${PREFIX}/man/man8/
${INSTALL_DATA} ${WRKSRC}/examples/noattach.patterns \
${STAGEDIR}${PREFIX}/etc/noattach.patterns-dist
.if ${PORT_OPTIONS:MDOCS}
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${DOCSFILES}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/
.endfor
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
do-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for i in ${SAMPLEFILES}
${INSTALL_DATA} ${WRKSRC}/examples/${i} ${STAGEDIR}${EXAMPLESDIR}/
.endfor
.endif
.include <bsd.port.post.mk>