summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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