From 5fabb2872afd81956988b09992b3a434d5282823 Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Mon, 13 Oct 2003 10:56:57 +0000 Subject: Add p5-XML-Smart A Smart, easy and powerful way to access/create XML files/data. PR: 57847 Submitted by: Cheng-Lung Sung --- textproc/p5-XML-Smart/Makefile | 25 +++++++++++++++++++++++++ textproc/p5-XML-Smart/distinfo | 1 + textproc/p5-XML-Smart/pkg-descr | 18 ++++++++++++++++++ textproc/p5-XML-Smart/pkg-plist | 13 +++++++++++++ 4 files changed, 57 insertions(+) create mode 100644 textproc/p5-XML-Smart/Makefile create mode 100644 textproc/p5-XML-Smart/distinfo create mode 100644 textproc/p5-XML-Smart/pkg-descr create mode 100644 textproc/p5-XML-Smart/pkg-plist (limited to 'textproc/p5-XML-Smart') diff --git a/textproc/p5-XML-Smart/Makefile b/textproc/p5-XML-Smart/Makefile new file mode 100644 index 000000000000..c3e10b5c84ee --- /dev/null +++ b/textproc/p5-XML-Smart/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: p5-XML-Smart +# Date created: October 10th 2000 +# Whom: Cheng-Lung Sung +# +# $FreeBSD$ + +PORTNAME= XML-Smart +PORTVERSION= 1.4 +CATEGORIES= textproc perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= XML +PKGNAMEPREFIX= p5- + +MAINTAINER= mat@FreeBSD.org +COMMENT= A Smart, easy and powerful way to access/create XML files/data + +BUILD_DEPENDS= ${SITE_PERL}/Object/MultiType.pm:${PORTSDIR}/devel/p5-Object-MultiType \ + ${SITE_PERL}/XML/XPath.pm:${PORTSDIR}/textproc/p5-XML-XPath +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= YES + +MAN3= XML::Smart.3 + +.include diff --git a/textproc/p5-XML-Smart/distinfo b/textproc/p5-XML-Smart/distinfo new file mode 100644 index 000000000000..e131fc97d8b3 --- /dev/null +++ b/textproc/p5-XML-Smart/distinfo @@ -0,0 +1 @@ +MD5 (XML-Smart-1.4.tar.gz) = 35031a3525508809a76bbc2dc876f0fb diff --git a/textproc/p5-XML-Smart/pkg-descr b/textproc/p5-XML-Smart/pkg-descr new file mode 100644 index 000000000000..ee31028bd1ad --- /dev/null +++ b/textproc/p5-XML-Smart/pkg-descr @@ -0,0 +1,18 @@ +This module has an easy way to access/create XML data. It's based on the HASH +tree that is made of the XML data, and enable a dynamic access to it with the +Perl syntax for Hashe and Array, without needing to care if you have a Hashe or +an Array in the tree. In other words, each point in the tree work as a Hash and +an Array at the same time! + +The module alson handle automatically binary data (encoding/decoding to/from +base64), CDATA (like contents with ) and Unicode. It can be used to +create XML files, load XML from the Web (just pasting an URL as a file path) +and it has an easy way to send XML data through socket, just adding the length +of the data in the header. + +You can use XML::Smart with XML::Parser, or with the 2 standart parsers of +XML::Smart: + +WWW: http://search.cpan.org/dist/XML-Smart/ + +Author: Graciliano M. P. diff --git a/textproc/p5-XML-Smart/pkg-plist b/textproc/p5-XML-Smart/pkg-plist new file mode 100644 index 000000000000..212baadefeca --- /dev/null +++ b/textproc/p5-XML-Smart/pkg-plist @@ -0,0 +1,13 @@ +%%SITE_PERL%%/XML/Smart.pm +%%SITE_PERL%%/XML/Smart/Base64.pm +%%SITE_PERL%%/XML/Smart/Data.pm +%%SITE_PERL%%/XML/Smart/HTMLParser.pm +%%SITE_PERL%%/XML/Smart/Parser.pm +%%SITE_PERL%%/XML/Smart/Tie.pm +%%SITE_PERL%%/XML/Smart/Tree.pm +%%SITE_PERL%%/XML/Smart/XPath.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Smart/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Smart +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML 2>/dev/null || true +@dirrm %%SITE_PERL%%/XML/Smart +@unexec rmdir %D/%%SITE_PERL%%/XML 2>/dev/null || true -- cgit v1.2.3