summaryrefslogtreecommitdiff
path: root/textproc/itstool/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/itstool/Makefile')
-rw-r--r--textproc/itstool/Makefile28
1 files changed, 14 insertions, 14 deletions
diff --git a/textproc/itstool/Makefile b/textproc/itstool/Makefile
index b1b016dd03aa..eaae15ca3c38 100644
--- a/textproc/itstool/Makefile
+++ b/textproc/itstool/Makefile
@@ -1,28 +1,28 @@
PORTNAME= itstool
PORTVERSION= 2.0.7
-PORTREVISION= 1
+PORTREVISION= 3
CATEGORIES= textproc
-MASTER_SITES= http://files.itstool.org/itstool/
+MASTER_SITES= https://files.itstool.org/itstool/
-MAINTAINER= kwm@FreeBSD.org
-COMMENT= Make XML documents translatable through po files
-WWW= https://itstool.org/
+PATCH_SITES= https://github.com/itstool/itstool/commit/
+PATCHFILES= 32c7d07664dc37765100285d1202d488cd6a27e8.patch:-p1
-LICENSE= GPLv3
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Translate XML with PO files using W3C Internationalization Tag Set rules
+WWW= https://itstool.org/ \
+ https://github.com/itstool/itstool
-BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:textproc/py-libxml2@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:textproc/py-libxml2@${PY_FLAVOR}
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING.GPL3
-USES= python tar:bzip2
-GNU_CONFIGURE= yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml5>=0:devel/py-lxml5@${PY_FLAVOR}
-CONFLICTS_INSTALL= itstool22
+USES= autoreconf python tar:bzip2
+GNU_CONFIGURE= yes
NO_ARCH= yes
post-patch:
- @${REINPLACE_CMD} -e 's|@PYTHON@|${PYTHON_CMD}|g' \
- ${WRKSRC}/itstool.in
+ @${REINPLACE_CMD} -e 's|@PYTHON@|${PYTHON_CMD}|g' ${WRKSRC}/itstool.in
.include <bsd.port.mk>