Make the doxygen docs an option.

Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2016-12-21 14:56:23 +00:00
parent 00019cc04f
commit 9a27e16b99
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=429096

View File

@ -3,6 +3,7 @@
PORTNAME= libboard PORTNAME= libboard
DISTVERSION= 0.9.4 DISTVERSION= 0.9.4
PORTREVISION= 1
CATEGORIES= graphics CATEGORIES= graphics
MAINTAINER= thierry@FreeBSD.org MAINTAINER= thierry@FreeBSD.org
@ -10,7 +11,6 @@ COMMENT= Vector graphics C++ library
LICENSE= LGPL3 LICENSE= LGPL3
BUILD_DEPENDS= doxygen:devel/doxygen
LIB_DEPENDS= libMagick++-6.so:graphics/ImageMagick LIB_DEPENDS= libMagick++-6.so:graphics/ImageMagick
HAS_CONFIGURE= yes HAS_CONFIGURE= yes
@ -26,7 +26,8 @@ GH_TAGNAME= 5b38274
PORTDOCS= * PORTDOCS= *
OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_DEFINE= DOXYGEN EXAMPLES
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
@ -42,7 +43,7 @@ post-install:
${MV} ${STAGEDIR}${PREFIX}/lib/libboard.so ${STAGEDIR}${PREFIX}/lib/libboard.so.0 ${MV} ${STAGEDIR}${PREFIX}/lib/libboard.so ${STAGEDIR}${PREFIX}/lib/libboard.so.0
${LN} -sf libboard.so.0 ${STAGEDIR}${PREFIX}/lib/libboard.so ${LN} -sf libboard.so.0 ${STAGEDIR}${PREFIX}/lib/libboard.so
post-install-DOCS-on: post-install-DOXYGEN-on:
${MKDIR} ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc/html/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/doc/html/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/
${RM} -r ${STAGEDIR}${DOCSDIR}/.svn ${RM} -r ${STAGEDIR}${DOCSDIR}/.svn