freebsd-ports/textproc/py-gi-docgen/Makefile
2021-06-16 19:42:59 +02:00

33 lines
1.1 KiB
Makefile

PORTNAME= gi-docgen
PORTVERSION= 2021.5
PORTREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= GNOME
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+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
post-patch:
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
${WRKSRC}/gidocgen/utils.py
.include <bsd.port.mk>