summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2009-04-25 12:36:01 +0000
committerrh <rh@pkgsrc.org>2009-04-25 12:36:01 +0000
commit85538a02ce7ce6674e7b4112291c7edd2f1ed39f (patch)
tree5955cd14c5b5fdc6ae24b12b70d7478dde797574 /textproc
parentea5aec3b7c47af51960d087a77792ee32fab6723 (diff)
downloadpkgsrc-85538a02ce7ce6674e7b4112291c7edd2f1ed39f.tar.gz
Initial import of xml2-0.4, a set of tools to convert XML and HTML to and
from a line-oriented format for easier processing with sed, awk, etc.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/xml2/DESCR7
-rw-r--r--textproc/xml2/Makefile19
-rw-r--r--textproc/xml2/PLIST7
-rw-r--r--textproc/xml2/distinfo5
4 files changed, 38 insertions, 0 deletions
diff --git a/textproc/xml2/DESCR b/textproc/xml2/DESCR
new file mode 100644
index 00000000000..303628db7ef
--- /dev/null
+++ b/textproc/xml2/DESCR
@@ -0,0 +1,7 @@
+These tools are used to convert XML and HTML to and from a line-oriented
+format more amenable to processing by classic Unix pipeline processing
+tools, like grep, sed, awk, cut, shell scripts, and so forth. There are
+four tools, xml2, 2xml, html2, and 2html. None of them take any command-
+line arguments; they are all simple filters, reading information from
+standard input in one format and writing the same information to standard
+output in a different format.
diff --git a/textproc/xml2/Makefile b/textproc/xml2/Makefile
new file mode 100644
index 00000000000..962f148d129
--- /dev/null
+++ b/textproc/xml2/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/04/25 12:36:01 rh Exp $
+#
+
+DISTNAME= xml2-0.4
+CATEGORIES= textproc
+MASTER_SITES= http://download.ofb.net/gale/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.ofb.net/~egnor/xml2/
+COMMENT= Tools to convert XML and HTML to and from a line-oriented format
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= pkg-config
+
+.include "../../textproc/libxml/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/xml2/PLIST b/textproc/xml2/PLIST
new file mode 100644
index 00000000000..71186718bc2
--- /dev/null
+++ b/textproc/xml2/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/04/25 12:36:01 rh Exp $
+bin/2csv
+bin/2html
+bin/2xml
+bin/csv2
+bin/html2
+bin/xml2
diff --git a/textproc/xml2/distinfo b/textproc/xml2/distinfo
new file mode 100644
index 00000000000..a4d848d9f4e
--- /dev/null
+++ b/textproc/xml2/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/04/25 12:36:01 rh Exp $
+
+SHA1 (xml2-0.4.tar.gz) = 735e7f6c336bd88dd1ab12bdea84e7cf1df5a36d
+RMD160 (xml2-0.4.tar.gz) = 06f9c2eed54ad51f0f938ebceee60fa5a3cb878f
+Size (xml2-0.4.tar.gz) = 83449 bytes