freebsd-ports/textproc/itstool/Makefile
Danilo G. Baio 22e4ae53ce textproc/itstool: Update to 2.0.6, Add patch to fix some libxml issues [1]
FreeBSD Doc translations are working fine with this patch.
More details on https://github.com/itstool/itstool/issues/38

PR:		244325
Approved by:	maintainer timeout (kwm, > 3 weeks)
Obtained from:	https://github.com/itstool/itstool/pull/18 [1]
2020-03-14 15:00:06 +00:00

29 lines
706 B
Makefile

# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$
# $MCom: ports/trunk/textproc/itstool/Makefile 19804 2014-08-13 14:55:11Z kwm $
PORTNAME= itstool
PORTVERSION= 2.0.6
CATEGORIES= textproc
MASTER_SITES= http://files.itstool.org/itstool/
MAINTAINER= kwm@FreeBSD.org
COMMENT= Make XML documents translatable through po files
LICENSE= GPLv3
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:textproc/py-libxml2@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:textproc/py-libxml2@${PY_FLAVOR}
USES= python tar:bzip2
GNU_CONFIGURE= yes
CONFLICTS_INSTALL= itstool22
NO_ARCH= yes
post-patch:
@${REINPLACE_CMD} -e 's|@PYTHON@|${PYTHON_CMD}|g' \
${WRKSRC}/itstool.in
.include <bsd.port.mk>