mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Perl5 module to extend and simplify XML::Parser
PR: ports/25768 Submitted by: Johann Visagie <johann@egenetics.com>
This commit is contained in:
parent
1dbeb6248d
commit
95f76f6b03
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42525
6 changed files with 51 additions and 0 deletions
|
@ -112,6 +112,7 @@
|
||||||
SUBDIR += p5-XML-DOM
|
SUBDIR += p5-XML-DOM
|
||||||
SUBDIR += p5-XML-DT
|
SUBDIR += p5-XML-DT
|
||||||
SUBDIR += p5-XML-Dumper
|
SUBDIR += p5-XML-Dumper
|
||||||
|
SUBDIR += p5-XML-Node
|
||||||
SUBDIR += p5-XML-Parser
|
SUBDIR += p5-XML-Parser
|
||||||
SUBDIR += p5-XML-RSS
|
SUBDIR += p5-XML-RSS
|
||||||
SUBDIR += p5-XML-Sablotron
|
SUBDIR += p5-XML-Sablotron
|
||||||
|
|
24
textproc/p5-XML-Node/Makefile
Normal file
24
textproc/p5-XML-Node/Makefile
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# New ports collection makefile for: p5-XML-Node
|
||||||
|
# Date created: 13 March 2001
|
||||||
|
# Whom: Johann Visagie <johann@egenetics.com>
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
#
|
||||||
|
|
||||||
|
PORTNAME= XML-Node
|
||||||
|
PORTVERSION= 0.10
|
||||||
|
CATEGORIES= textproc perl5
|
||||||
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||||
|
MASTER_SITE_SUBDIR= XML
|
||||||
|
PKGNAMEPREFIX= p5-
|
||||||
|
|
||||||
|
MAINTAINER= johann@egenetics.com
|
||||||
|
|
||||||
|
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
|
||||||
|
|
||||||
|
PERL_CONFIGURE= YES
|
||||||
|
|
||||||
|
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
||||||
|
MAN3= XML::Node.3
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
1
textproc/p5-XML-Node/distinfo
Normal file
1
textproc/p5-XML-Node/distinfo
Normal file
|
@ -0,0 +1 @@
|
||||||
|
MD5 (XML-Node-0.10.tar.gz) = d05369ba4c7f7cbb1ff0b727f89a07a9
|
1
textproc/p5-XML-Node/pkg-comment
Normal file
1
textproc/p5-XML-Node/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Perl5 module to extend and simplify XML::Parser
|
17
textproc/p5-XML-Node/pkg-descr
Normal file
17
textproc/p5-XML-Node/pkg-descr
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
XML::Node is a Perl5 module which provides a simplified extension interface
|
||||||
|
to XML::Parser.
|
||||||
|
|
||||||
|
Paraphrasing the README:
|
||||||
|
|
||||||
|
Instead of worrying about "start", "end", and "char" callbacks of every
|
||||||
|
single XML node, you can simply say that you only want to be notified when
|
||||||
|
a path is found.
|
||||||
|
|
||||||
|
Using XML::Node, you can ignore the parts of XML files that you are not
|
||||||
|
interested in. Additionally, you can register a variable instead of a
|
||||||
|
callback function. The corresponding string found in an XML file will be
|
||||||
|
automatically appended to your variable.
|
||||||
|
|
||||||
|
Author: Chang Liu <liu@ics.uci.edu>
|
||||||
|
|
||||||
|
-- Johann Visagie <johann@egenetics.com>
|
7
textproc/p5-XML-Node/pkg-plist
Normal file
7
textproc/p5-XML-Node/pkg-plist
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
lib/perl5/site_perl/%%PERL_VER%%/XML/Node.pm
|
||||||
|
lib/perl5/site_perl/%%PERL_VER%%/XML/parse-foo.pl
|
||||||
|
lib/perl5/site_perl/%%PERL_VER%%/XML/parse-orders.pl
|
||||||
|
lib/perl5/site_perl/%%PERL_VER%%/XML/parse-testsuite.pl
|
||||||
|
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%//auto/XML/Node/.packlist
|
||||||
|
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/Node
|
||||||
|
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/XML 2>/dev/null || true
|
Loading…
Add table
Reference in a new issue