Tweak textproc/itstool version 1.2.0
[dports.git] / textproc / itstool / Makefile
1 # Created by: Koop Mast <kwm@FreeBSD.org>
2 # $FreeBSD: textproc/itstool/Makefile 327773 2013-09-20 23:17:30Z bapt $
3
4 PORTNAME=       itstool
5 PORTVERSION=    1.2.0
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 RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2
13
14 USE_BZIP2=      yes
15 USE_PYTHON_RUN= yes
16 GNU_CONFIGURE=  yes
17
18 MAN1=           itstool.1
19
20 NO_STAGE=       yes
21 post-patch:
22         @${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|g' \
23                 ${WRKSRC}/itstool.in
24
25 .include <bsd.port.mk>