- Use post-install-DOCS-on target

- Use post-install-EXAMPLES-on target

Approved by:	junovitch (mentor)
This commit is contained in:
Carlos J. Puga Medina 2016-04-04 00:55:33 +00:00
parent b55f811d30
commit 0c0a4e6807
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=412493

View File

@ -63,14 +63,13 @@ post-install:
.if ${PORT_OPTIONS:MGUI}
${RM} -r ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/mimetypes
.endif
.if ${PORT_OPTIONS:MDOCS}
post-install-DOCS-on:
(cd ${WRKSRC} && ${COPYTREE_SHARE} \
"${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
post-install-EXAMPLES-on:
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \
"${PORTEXAMPLES}" ${STAGEDIR}${EXAMPLESDIR})
.endif
.include <bsd.port.mk>