aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2013-03-06 06:48:12 +0800
committerpawel <pawel@FreeBSD.org>2013-03-06 06:48:12 +0800
commit51f1aec6d139502e183a8dbd5432a934dff0ddc8 (patch)
treeee37b2fdd550f33636c427def4875f80eeb311e9 /textproc
parent70c94229d18b30f21674fa0e56a3e48cdee38cfb (diff)
downloadfreebsd-ports-gnome-51f1aec6d139502e183a8dbd5432a934dff0ddc8.tar.gz
freebsd-ports-gnome-51f1aec6d139502e183a8dbd5432a934dff0ddc8.tar.zst
freebsd-ports-gnome-51f1aec6d139502e183a8dbd5432a934dff0ddc8.zip
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. The line-oriented format used by these tools looks very much like, but is not quite precisely the same as XPath. WWW: http://www.ofb.net/~egnor/xml2/ PR: ports/176670 Submitted by: Paul Chvostek <paul@it.ca>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/xml2/Makefile26
-rw-r--r--textproc/xml2/distinfo2
-rw-r--r--textproc/xml2/pkg-descr8
4 files changed, 37 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index a9ba7404a9b1..7ace19c3af96 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1501,6 +1501,7 @@
SUBDIR += xml-i18n-tools
SUBDIR += xml-lite.el
SUBDIR += xml-parse.el
+ SUBDIR += xml2
SUBDIR += xml2rfc
SUBDIR += xmlada
SUBDIR += xmlcatmgr
diff --git a/textproc/xml2/Makefile b/textproc/xml2/Makefile
new file mode 100644
index 000000000000..1e05b013ad1f
--- /dev/null
+++ b/textproc/xml2/Makefile
@@ -0,0 +1,26 @@
+# Created by: Paul Chvostek <paul@it.ca>
+# $FreeBSD$
+
+PORTNAME= xml2
+PORTVERSION= 0.5
+CATEGORIES= textproc
+MASTER_SITES= http://download.ofb.net/gale/ \
+ http://www.it.ca/~paul/src/
+
+MAINTAINER= paul+ports@it.ca
+COMMENT= Convert between XML and a line-oriented format similar to XPath
+
+LICENSE= GPLv2
+
+GNU_CONFIGURE= yes
+USE_PKGCONFIG= build
+USE_GNOME= libxml2
+
+PLIST_FILES= bin/xml2 \
+ bin/2xml \
+ bin/csv2 \
+ bin/2csv \
+ bin/html2 \
+ bin/2html
+
+.include <bsd.port.mk>
diff --git a/textproc/xml2/distinfo b/textproc/xml2/distinfo
new file mode 100644
index 000000000000..44bf6bf66ca5
--- /dev/null
+++ b/textproc/xml2/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xml2-0.5.tar.gz) = e3203a5d3e5d4c634374e229acdbbe03fea41e8ccdef6a594a3ea50a50d29705
+SIZE (xml2-0.5.tar.gz) = 86318
diff --git a/textproc/xml2/pkg-descr b/textproc/xml2/pkg-descr
new file mode 100644
index 000000000000..02b4b312bfeb
--- /dev/null
+++ b/textproc/xml2/pkg-descr
@@ -0,0 +1,8 @@
+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.
+
+The line-oriented format used by these tools looks very much like, but
+is not quite precisely the same as XPath.
+
+WWW: http://www.ofb.net/~egnor/xml2/