aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/itstool/Makefile
blob: 5dee32c1ec59fa449c14666d7da415bd7c5a7d0d (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
# 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.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:textproc/py-libxml2
RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/libxml2.py:textproc/py-libxml2

USES=       python:2,run tar:bzip2
GNU_CONFIGURE=  yes

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

.include <bsd.port.mk>