PORTNAME= breathe PORTVERSION= 4.35.0 PORTREVISION= 1 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= mandree@FreeBSD.org COMMENT= Extension to reStructuredText and Sphinx to render Doxygen xml output WWW= https://github.com/michaeljones/breathe LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}furo>=0:textproc/py-furo@${PY_FLAVOR} \ graphviz>=0:graphics/graphviz \ ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx-copybutton>=0:textproc/py-sphinx-copybutton@${PY_FLAVOR} \ doxygen:devel/doxygen USES= gmake python USE_GITHUB= yes GH_TUPLE= michaeljones:breathe:v${PORTVERSION} USE_PYTHON= autoplist distutils NO_ARCH= yes BINARY_ALIAS= sphinx-build=sphinx-build-${PYTHON_VER} OPTIONS_DEFINE= DOCS EXAMPLES PDFDOCS OPTIONS_SUB= yes PDFDOCS_DESC= Build PDF documentation (implies DOCS) PDFDOCS_IMPLIES= DOCS PDFDOCS_BUILD_DEPENDS= pdflatex:print/tex-formats dvips:print/tex-dvipsk PORTDOCS= * PORTEXAMPLES= * post-patch: ${REINPLACE_CMD} "s/^git_tag = subprocess.*/git_tag = b'v${PORTVERSION}'/" \ ${WRKSRC}/documentation/source/conf.py post-build-DOCS-on: cd ${WRKSRC} && \ ${SETENV} PYTHONPATH=${WRKSRC}/ \ ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \ ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS:N${DESTDIRNAME}=*} html