ports/57847: [New ports] textproc/p5-XML-Smart
Cheng-Lung Sung
clsung at dragon2.net
Fri Oct 10 16:40:13 UTC 2003
>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 at 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 at 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 at 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 at 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 at dirrm %%SITE_PERL%%/XML/Smart
X at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/Smart
X at unexec rmdir %D/%%SITE_PERL%%/XML/Smart 2>/dev/null || true
X at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH/auto/XML/Smart 2>/dev/null || true
X at unexec rmdir %D/%%SITE_PERL%%/XML 2>/dev/null || true
X
END-of-p5-XML-Smart/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list