blob: 37867dd56bf6f13f3e2dbca55796ad1ee76928d3 (
plain) (
tree)
|
|
PORTNAME= gi-docgen
PORTVERSION= 2022.1
CATEGORIES= textproc python
MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= desktop@FreeBSD.org
COMMENT= Documentation generator for GObject-based libraries
LICENSE= APACHE20 GPLv3
LICENSE_COMB= dual
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSES/Apache-2.0.txt
LICENSE_FILE_GPLv3= ${WRKSRC}/LICENSES/GPL-3.0-or-later.txt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}markdown>0:textproc/py-markdown@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}markupsafe>0:textproc/py-markupsafe@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}smartypants>0:textproc/py-smartypants@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}toml>0:textproc/py-toml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}typogrify>0:textproc/py-typogrify@${PY_FLAVOR}
USES= python:3.6+ tar:xz
USE_PYTHON= autoplist distutils
NO_ARCH= yes
post-patch:
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
${WRKSRC}/gidocgen/utils.py
.include <bsd.port.mk>
|