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:
parent
ec4e7adcad
commit
24b6373be3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=417804
@ -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}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user