diff --git a/devel/py-breathe/Makefile b/devel/py-breathe/Makefile index f0dbbbb8d6b8..a49926af050a 100644 --- a/devel/py-breathe/Makefile +++ b/devel/py-breathe/Makefile @@ -1,63 +1,65 @@ PORTNAME= breathe PORTVERSION= 4.31.0 +PORTREVISION= 1 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= mandree@FreeBSD.org -COMMENT= an extension to reStructuredText and Sphinx to render Doxygen xml output +COMMENT= Extension to reStructuredText and Sphinx to render Doxygen xml output LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${RUN_DEPENDS} -RUN_DEPENDS= doxygen:devel/doxygen \ - ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} -PDFDOCS_BUILD_DEPENDS= pdflatex:print/tex-formats +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} \ + doxygen:devel/doxygen USES= gmake python:3.6+ USE_GITHUB= yes -USE_PYTHON= distutils GH_TUPLE= michaeljones:breathe:v${PORTVERSION} +USE_PYTHON= distutils +NO_ARCH= yes -OPTIONS_DEFINE= DOCS EXAMPLES PDFDOCS -OPTIONS_SUB= yes -PDFDOCS_DESC= Build PDF documentation (implies DOCS) -PDFDOCS_IMPLIES=DOCS +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 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 diff --git a/devel/py-breathe/pkg-descr b/devel/py-breathe/pkg-descr index 812d40b2abd5..23b731c9603f 100644 --- a/devel/py-breathe/pkg-descr +++ b/devel/py-breathe/pkg-descr @@ -1,8 +1,8 @@ Breathe provides a bridge between the Sphinx and Doxygen documentation systems. It is an easy way to include Doxygen information in a set of documentation generated by Sphinx. The aim is to produce an autodoc like support for people who enjoy using Sphinx but work with languages other than Python. The system -relies on the Doxygen’s xml output. +relies on the Doxygen's xml output. WWW: https://github.com/michaeljones/breathe