Handle the EXAMPLES-option being disabled the same way DOCS

is handled. Remove gratutious inclusion of bsd.port.options.mk

PR:		197074
This commit is contained in:
Mikhail Teterin 2016-06-30 04:03:07 +00:00
parent ec4e7adcad
commit 24b6373be3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=417804

View File

@ -41,13 +41,11 @@ post-patch:
's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
${WRKSRC}/Makefile.in
.include <bsd.port.options.mk>
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS:Nhtml} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}
post-install:
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}