Bug 176670

Summary: NEW PORT: textproc/xml2 - Convert XML to/from a grep-friendly format
Product: Ports & Packages Reporter: Paul Chvostek <paul>
Component: Individual Port(s)Assignee: Pawel Pekala <pawel>
Status: Closed FIXED    
Severity: Affects Only Me CC: paul
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
xml2.shar none

Description Paul Chvostek 2013-03-05 18:00:00 UTC
	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.
Comment 1 Pawel Pekala freebsd_committer freebsd_triage 2013-03-05 22:33:54 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pawel

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-03-05 22:48:25 UTC
Author: pawel
Date: Tue Mar  5 22:48:12 2013
New Revision: 313482
URL: http://svnweb.freebsd.org/changeset/ports/313482

Log:
  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>

Added:
  head/textproc/xml2/
  head/textproc/xml2/Makefile   (contents, props changed)
  head/textproc/xml2/distinfo   (contents, props changed)
  head/textproc/xml2/pkg-descr   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Tue Mar  5 22:00:14 2013	(r313481)
+++ head/textproc/Makefile	Tue Mar  5 22:48:12 2013	(r313482)
@@ -1501,6 +1501,7 @@
     SUBDIR += xml-i18n-tools
     SUBDIR += xml-lite.el
     SUBDIR += xml-parse.el
+    SUBDIR += xml2
     SUBDIR += xml2rfc
     SUBDIR += xmlada
     SUBDIR += xmlcatmgr

Added: head/textproc/xml2/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/xml2/Makefile	Tue Mar  5 22:48:12 2013	(r313482)
@@ -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>

Added: head/textproc/xml2/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/xml2/distinfo	Tue Mar  5 22:48:12 2013	(r313482)
@@ -0,0 +1,2 @@
+SHA256 (xml2-0.5.tar.gz) = e3203a5d3e5d4c634374e229acdbbe03fea41e8ccdef6a594a3ea50a50d29705
+SIZE (xml2-0.5.tar.gz) = 86318

Added: head/textproc/xml2/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/xml2/pkg-descr	Tue Mar  5 22:48:12 2013	(r313482)
@@ -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/
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Pawel Pekala freebsd_committer freebsd_triage 2013-03-05 22:49:23 UTC
State Changed
From-To: open->closed

New port added, with minor changes. Thanks!