Tweak textproc/itstool version 2.0.2
[dports.git] / textproc / itstool / Makefile
1 # Created by: Koop Mast <kwm@FreeBSD.org>
2 # $FreeBSD: textproc/itstool/Makefile 340722 2014-01-22 17:00:46Z mat $
3
4 PORTNAME=       itstool
5 PORTVERSION=    2.0.2
6 CATEGORIES=     textproc
7 MASTER_SITES=   http://files.itstool.org/itstool/
8
9 MAINTAINER=     kwm@FreeBSD.org
10 COMMENT=        Make XML documents translatable through po files
11
12 LICENSE=        GPLv3
13
14 BUILD_DEPENDS=  ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2
15 RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2
16
17 USE_BZIP2=      yes
18 USE_PYTHON_RUN= 2
19 GNU_CONFIGURE=  yes
20
21 post-patch:
22         @${REINPLACE_CMD} -e 's|@PYTHON@|${PYTHON_CMD}|g' \
23                 ${WRKSRC}/itstool.in
24
25 .include <bsd.port.mk>