1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00

Move the doxygen things into a DOXYGEN option.

Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2016-12-20 17:56:44 +00:00
parent 353bd5528b
commit 3eb920f1ab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=429007
2 changed files with 1062 additions and 1062 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= opencascade
PORTVERSION= 6.9.1
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= cad science
MASTER_SITES= LOCAL/thierry
@ -31,7 +31,7 @@ SHEBANG_FILES= adm/templates/env.sh.in adm/templates/draw.sh \
gendoc codeblocks.sh
VTKVER= 6.2
OPTIONS_DEFINE= VIS DOCS
OPTIONS_DEFINE= VIS DOXYGEN
VIS_DESC= Build Visualizazion module (requires OpenGL, freetype, ftgl and gl2ps)
OPTIONS_DEFAULT=VIS
OPTIONS_SUB= yes
@ -71,12 +71,12 @@ VIS_CMAKE_ON= -D3RDPARTY_FREETYPE_DIR=${LOCALBASE} \
-D3RDPARTY_FREEIMAGE_DIR=${LOCALBASE} \
-D3RDPARTY_GL2PS_DIR=${LOCALBASE}
DOCS_USE= TEX=latex:build
DOCS_BUILD_DEPENDS= bash:shells/bash \
DOXYGEN_USE= TEX=latex:build
DOXYGEN_BUILD_DEPENDS= bash:shells/bash \
doxygen:devel/doxygen \
dot:graphics/graphviz \
inkscape:graphics/inkscape
DOCS_RUN_DEPENDS= ${LOCALBASE}/www/MathJax/MathJax.js:www/mathjax
DOXYGEN_RUN_DEPENDS= ${LOCALBASE}/www/MathJax/MathJax.js:www/mathjax
.include <bsd.port.options.mk>
@ -106,7 +106,7 @@ pre-configure:
${REINPLACE_CMD} -e 's|lin|bsd|' ${WRKSRC}/${es}
.endfor
post-build-DOCS-on:
post-build-DOXYGEN-on:
(cd ${WRKSRC} && ./gendoc -overview)
post-install:
@ -127,7 +127,7 @@ post-install:
${RM} -r ${STAGEDIR}${OCCROOT}/inc
${LN} -sf ${PREFIX}/include/OpenCASCADE ${STAGEDIR}${OCCROOT}/inc
(cd ${WRKSRC} && ${COPYTREE_SHARE} tests ${STAGEDIR}${OCCROOT})
post-install-DOCS-on:
post-install-DOXYGEN-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc/overview && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
${RMDIR} ${STAGEDIR}${DOCSDIR}/latex

File diff suppressed because it is too large Load Diff