mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
Add p5-XML-Smart
A Smart, easy and powerful way to access/create XML files/data. PR: 57847 Submitted by: Cheng-Lung Sung <clsung@dragon2.net>
This commit is contained in:
parent
5e6da598a6
commit
5fabb2872a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=91021
@ -313,6 +313,7 @@
|
||||
SUBDIR += p5-XML-Simple
|
||||
SUBDIR += p5-XML-SimpleObject
|
||||
SUBDIR += p5-XML-SimpleObject-LibXML
|
||||
SUBDIR += p5-XML-Smart
|
||||
SUBDIR += p5-XML-Stream
|
||||
SUBDIR += p5-XML-TreeBuilder
|
||||
SUBDIR += p5-XML-Twig
|
||||
|
25
textproc/p5-XML-Smart/Makefile
Normal file
25
textproc/p5-XML-Smart/Makefile
Normal file
@ -0,0 +1,25 @@
|
||||
# New ports collection makefile for: p5-XML-Smart
|
||||
# Date created: October 10th 2000
|
||||
# Whom: Cheng-Lung Sung <clsung@dragon2.net>
|
||||
#
|
||||
# $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 <bsd.port.mk>
|
1
textproc/p5-XML-Smart/distinfo
Normal file
1
textproc/p5-XML-Smart/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (XML-Smart-1.4.tar.gz) = 35031a3525508809a76bbc2dc876f0fb
|
18
textproc/p5-XML-Smart/pkg-descr
Normal file
18
textproc/p5-XML-Smart/pkg-descr
Normal file
@ -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 <tags>) 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 <?xml?> 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. <gm@virtuasites.com.br>
|
13
textproc/p5-XML-Smart/pkg-plist
Normal file
13
textproc/p5-XML-Smart/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user