summaryrefslogtreecommitdiffstats
path: root/textproc/itstool/Makefile
blob: d835d5e32bf7f9d895ce94277e041c99498ee496 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$
#   $MCom$

PORTNAME=   itstool
PORTVERSION=    2.0.2
PORTREVISION=   1
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:${PORTSDIR}/textproc/py-libxml2
RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2

USES=       tar:bzip2
USE_PYTHON_RUN= 2
GNU_CONFIGURE=  yes

post-patch:
    @${REINPLACE_CMD} -e 's|@PYTHON@|${PYTHON_CMD}|g' \
        ${WRKSRC}/itstool.in

.include <bsd.port.mk>