opnsense-ports/textproc/itstool/Makefile
Franco Fichtner c30c895084 */*: sync with upstream
Taken from: HardenedBSD
2019-06-19 05:38:41 +02:00

28 lines
708 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.5
PORTREVISION= 2
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
post-patch:
@${REINPLACE_CMD} -e 's|@PYTHON@|${PYTHON_CMD}|g' \
${WRKSRC}/itstool.in
.include <bsd.port.mk>