summaryrefslogtreecommitdiff
path: root/textproc/itstool
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2012-02-10 17:55:15 +0000
committerdrochner <drochner@pkgsrc.org>2012-02-10 17:55:15 +0000
commit0c0bdb65533f9862bbd551f6a33054e7d4314877 (patch)
tree92fd00bb6b404cd69c17f3fa4b7372af2469bedb /textproc/itstool
parentcb6081c5bb33ea366eaf5ab0996c4d9a18fc1af2 (diff)
downloadpkgsrc-0c0bdb65533f9862bbd551f6a33054e7d4314877.tar.gz
add itstool-1.1.2, from Patrick Welche per PR pkg/45794
ITS Tool allows you to translate XML documents with PO files
Diffstat (limited to 'textproc/itstool')
-rw-r--r--textproc/itstool/DESCR4
-rw-r--r--textproc/itstool/Makefile23
-rw-r--r--textproc/itstool/PLIST8
-rw-r--r--textproc/itstool/distinfo5
4 files changed, 40 insertions, 0 deletions
diff --git a/textproc/itstool/DESCR b/textproc/itstool/DESCR
new file mode 100644
index 00000000000..49695e029fe
--- /dev/null
+++ b/textproc/itstool/DESCR
@@ -0,0 +1,4 @@
+ITS Tool extracts messages from XML files and outputs PO template
+files, then merges translations from MO files to create translated
+XML files. It determines what to translate and how to chunk it
+into messages using the W3C Internationalization Tag Set (ITS).
diff --git a/textproc/itstool/Makefile b/textproc/itstool/Makefile
new file mode 100644
index 00000000000..68cd448a5bf
--- /dev/null
+++ b/textproc/itstool/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2012/02/10 17:55:15 drochner Exp $
+#
+
+DISTNAME= itstool-1.1.2
+CATEGORIES= textproc
+MASTER_SITES= http://files.itstool.org/itstool/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= prlw1@cam.ac.uk
+HOMEPAGE= http://itstool.org/
+COMMENT= ITS Tool allows you to translate XML documents with PO files
+LICENSE= gnu-gpl-v3
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+
+REPLACE_PYTHON= ${WRKSRC}/itstool.in
+
+DEPENDS+= ${PYPKGPREFIX}-libxml2-[0-9]*:../../textproc/py-libxml2
+
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/itstool/PLIST b/textproc/itstool/PLIST
new file mode 100644
index 00000000000..91627d911e2
--- /dev/null
+++ b/textproc/itstool/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2012/02/10 17:55:15 drochner Exp $
+bin/itstool
+man/man1/itstool.1
+share/itstool/its/docbook.its
+share/itstool/its/its.its
+share/itstool/its/mallard.its
+share/itstool/its/ttml.its
+share/itstool/its/xhtml.its
diff --git a/textproc/itstool/distinfo b/textproc/itstool/distinfo
new file mode 100644
index 00000000000..816ead71fda
--- /dev/null
+++ b/textproc/itstool/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2012/02/10 17:55:15 drochner Exp $
+
+SHA1 (itstool-1.1.2.tar.bz2) = 09e1c85c2231f05087ff63f89b8e98e33b8c49b1
+RMD160 (itstool-1.1.2.tar.bz2) = 4d9b901c861b3c2961497d04cbaa2ff609405bbd
+Size (itstool-1.1.2.tar.bz2) = 79291 bytes