Date: Sat, 11 Oct 2003 00:40:52 +0800 (CST) From: Cheng-Lung Sung <clsung@dragon2.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: clsung@tiger2.net Subject: ports/57847: [New ports] textproc/p5-XML-Smart Message-ID: <20031010164052.19A9B1544B@mail.dragon2.net> Resent-Message-ID: <200310101640.h9AGe9nf089805@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 57847 >Category: ports >Synopsis: [New ports] textproc/p5-XML-Smart >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Oct 10 09:40:09 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Cheng-Lung Sung >Release: FreeBSD 4.8-RELEASE-p13 i386 >Organization: FreeBSD @ Taiwan >Environment: System: FreeBSD sungsung.csie.nctu.edu.tw 4.8-RELEASE-p13 FreeBSD 4.8-RELEASE-p13 #3: Wed Oct 8 07:32:16 CST 2003 root@sungsung.csie.nctu.edu.tw:/usr/obj/usr/src/sys/SUNGSUNG i386 >Description: New ports, A Smart, easy and powerful way to access/create XML files/data. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # p5-XML-Smart # p5-XML-Smart/Makefile # p5-XML-Smart/distinfo # p5-XML-Smart/pkg-descr # p5-XML-Smart/pkg-plist # echo c - p5-XML-Smart mkdir -p p5-XML-Smart > /dev/null 2>&1 echo x - p5-XML-Smart/Makefile sed 's/^X//' >p5-XML-Smart/Makefile << 'END-of-p5-XML-Smart/Makefile' X# New ports collection makefile for: p5-XML-Smart X# Date created: October 10th 2000 X# Whom: Cheng-Lung Sung <clsung@dragon2.net> X# X XPORTNAME= XML-Smart XPORTVERSION= 1.4 XCATEGORIES= textproc perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= XML XPKGNAMEPREFIX= p5- X XMAINTAINER= ports@FreeBSD.org XCOMMENT= A Smart, easy and powerful way to access/create XML files/data. X XBUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Object/MultiType.pm:${PORTSDIR}/devel/p5-Object-MultiType XRUN_DEPENDS= ${BUILD_DEPENDS} X XPERL_CONFIGURE= YES X XMAN3= XML::Smart.3 XMANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} X X.include <bsd.port.mk> END-of-p5-XML-Smart/Makefile echo x - p5-XML-Smart/distinfo sed 's/^X//' >p5-XML-Smart/distinfo << 'END-of-p5-XML-Smart/distinfo' XMD5 (XML-Smart-1.4.tar.gz) = 35031a3525508809a76bbc2dc876f0fb X END-of-p5-XML-Smart/distinfo echo x - p5-XML-Smart/pkg-descr sed 's/^X//' >p5-XML-Smart/pkg-descr << 'END-of-p5-XML-Smart/pkg-descr' XThis module has an easy way to access/create XML data. It's based on the HASH Xtree that is made of the XML data, and enable a dynamic access to it with the XPerl syntax for Hashe and Array, without needing to care if you have a Hashe Xor an Array in the tree. In other words, each point in the tree work as a XHash and an Array at the same time! X XThe module alson handle automatically binary data (encoding/decoding Xto/from base64), CDATA (like contents with <tags>) and Unicode. XIt can be used to create XML files, load XML from the Web (just pasting an XURL as a file path) and it has an easy way to send XML data through socket, Xjust adding the length of the data in the <?xml?> header. X XYou can use XML::Smart with XML::Parser, or with the 2 standart parsers of XXML::Smart: X XWWW: http://search.cpan.org/search?dist=XML-Smart X XAuthor: Graciliano M. P. <gm@virtuasites.com.br> END-of-p5-XML-Smart/pkg-descr echo x - p5-XML-Smart/pkg-plist sed 's/^X//' >p5-XML-Smart/pkg-plist << 'END-of-p5-XML-Smart/pkg-plist' X%%SITE_PERL%%/XML/Smart.pm X%%SITE_PERL%%/XML/Smart/XPath.pm X%%SITE_PERL%%/XML/Smart/Base64.pm X%%SITE_PERL%%/XML/Smart/Tie.pm X%%SITE_PERL%%/XML/Smart/Data.pm X%%SITE_PERL%%/XML/Smart/Parser.pm X%%SITE_PERL%%/XML/Smart/Tree.pm X%%SITE_PERL%%/XML/Smart/HTMLParser.pm X%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Smart/.packlist X@dirrm %%SITE_PERL%%/XML/Smart X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Smart X@unexec rmdir %D/%%SITE_PERL%%/XML/Smart 2>/dev/null || true X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH/auto/XML/Smart 2>/dev/null || true X@unexec rmdir %D/%%SITE_PERL%%/XML 2>/dev/null || true X END-of-p5-XML-Smart/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031010164052.19A9B1544B>