From 8ed75337c6af7f1b4270488d024665364ca7d3db Mon Sep 17 00:00:00 2001 From: Pawel Pekala Date: Tue, 5 Mar 2013 22:48:12 +0000 Subject: [PATCH] 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 --- textproc/Makefile | 1 + textproc/xml2/Makefile | 26 ++++++++++++++++++++++++++ textproc/xml2/distinfo | 2 ++ textproc/xml2/pkg-descr | 8 ++++++++ 4 files changed, 37 insertions(+) create mode 100644 textproc/xml2/Makefile create mode 100644 textproc/xml2/distinfo create mode 100644 textproc/xml2/pkg-descr 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 +# $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 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/