summaryrefslogtreecommitdiffstats
path: root/textproc/itstool/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/itstool/Makefile')
-rw-r--r--textproc/itstool/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/textproc/itstool/Makefile b/textproc/itstool/Makefile
new file mode 100644
index 000000000..d835d5e32
--- /dev/null
+++ b/textproc/itstool/Makefile
@@ -0,0 +1,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>