- Fix build with DOXYGEN option

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-02-21 15:11:33 +00:00
parent d22b800e05
commit eb42680fed
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=379521

View File

@ -49,13 +49,13 @@ post-patch:
post-build:
.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MDOXYGEN}
@cd ${WRKSRC}/man4 && ${LOCALBASE}/bin/doxygen .
cd ${WRKSRC}/docs/ && ${LOCALBASE}/bin/doxygen .
.endif
post-install:
.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MDOXYGEN}
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/man4/html/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/docs/html/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.endif
regression-test test: build