From bccded332e503d8c7640a370358a84b7761f5567 Mon Sep 17 00:00:00 2001 From: Wen Heping Date: Wed, 9 Dec 2009 06:55:01 +0000 Subject: [PATCH] This module is a companion for XML::LibXML. It operates with LibXML objects, could return or accept LibXML objects, and may be used for easy data transformations. It is faster in parsing then XML::Simple, XML::Hash, XML::Twig and of course much slower than XML::Bare. It is faster in composing than XML::Hash, but slower than XML::Simple. WWW: http://http://search.cpan.org/dist/XML-Hash-LX/ --- textproc/Makefile | 1 + textproc/p5-XML-Hash-LX/Makefile | 25 +++++++++++++++++++++++++ textproc/p5-XML-Hash-LX/distinfo | 3 +++ textproc/p5-XML-Hash-LX/pkg-descr | 10 ++++++++++ textproc/p5-XML-Hash-LX/pkg-plist | 7 +++++++ 5 files changed, 46 insertions(+) create mode 100644 textproc/p5-XML-Hash-LX/Makefile create mode 100644 textproc/p5-XML-Hash-LX/distinfo create mode 100644 textproc/p5-XML-Hash-LX/pkg-descr create mode 100644 textproc/p5-XML-Hash-LX/pkg-plist diff --git a/textproc/Makefile b/textproc/Makefile index 06da62154575..b0d579c513fe 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -781,6 +781,7 @@ SUBDIR += p5-XML-Handler-Dtd2Html SUBDIR += p5-XML-Handler-Trees SUBDIR += p5-XML-Handler-YAWriter + SUBDIR += p5-XML-Hash-LX SUBDIR += p5-XML-LibRSVG SUBDIR += p5-XML-LibXML SUBDIR += p5-XML-LibXML-Iterator diff --git a/textproc/p5-XML-Hash-LX/Makefile b/textproc/p5-XML-Hash-LX/Makefile new file mode 100644 index 000000000000..3556101d909f --- /dev/null +++ b/textproc/p5-XML-Hash-LX/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: p5-XML-Hash-LX +# Date created: 09 Dec, 2009 +# Whom: Wen Heping +# +# $FreeBSD$ +# + +PORTNAME= XML-Hash-LX +PORTVERSION= 0.06 +CATEGORIES= textproc perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= wen@FreeBSD.org +COMMENT= Convert hash to xml and xml to hash using LibXML + +BUILD_DEPENDS= p5-lib-abs>=0.90:${PORTSDIR}/devel/p5-lib-abs \ + p5-XML-LibXML>=0:${PORTSDIR}/textproc/p5-XML-LibXML +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= XML::Hash::LX.3 + +.include diff --git a/textproc/p5-XML-Hash-LX/distinfo b/textproc/p5-XML-Hash-LX/distinfo new file mode 100644 index 000000000000..508da35c0493 --- /dev/null +++ b/textproc/p5-XML-Hash-LX/distinfo @@ -0,0 +1,3 @@ +MD5 (XML-Hash-LX-0.06.tar.gz) = 220a70741917ab2b0394da9f612af7b5 +SHA256 (XML-Hash-LX-0.06.tar.gz) = c461f9914c637ecfbfa2bc7f1486266ba2aa95f9a9adf0176e8f600dccc97bb3 +SIZE (XML-Hash-LX-0.06.tar.gz) = 30934 diff --git a/textproc/p5-XML-Hash-LX/pkg-descr b/textproc/p5-XML-Hash-LX/pkg-descr new file mode 100644 index 000000000000..c8244e41a7e3 --- /dev/null +++ b/textproc/p5-XML-Hash-LX/pkg-descr @@ -0,0 +1,10 @@ +This module is a companion for XML::LibXML. It operates with LibXML +objects, could return or accept LibXML objects, and may be used for +easy data transformations. + +It is faster in parsing then XML::Simple, XML::Hash, XML::Twig and +of course much slower than XML::Bare. + +It is faster in composing than XML::Hash, but slower than XML::Simple. + +WWW: http://http://search.cpan.org/dist/XML-Hash-LX/ diff --git a/textproc/p5-XML-Hash-LX/pkg-plist b/textproc/p5-XML-Hash-LX/pkg-plist new file mode 100644 index 000000000000..72039715d162 --- /dev/null +++ b/textproc/p5-XML-Hash-LX/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Hash/LX/.packlist +%%SITE_PERL%%/XML/Hash/LX.pm +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Hash/LX +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Hash +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML +@dirrmtry %%SITE_PERL%%/XML/Hash +@dirrmtry %%SITE_PERL%%/XML