Perl5 module to extend and simplify XML::Parser

PR:		ports/25768
Submitted by:	Johann Visagie <johann@egenetics.com>
This commit is contained in:
Vanilla I. Shu 2001-05-11 16:17:16 +00:00
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

View file

@ -112,6 +112,7 @@
SUBDIR += p5-XML-DOM
SUBDIR += p5-XML-DT
SUBDIR += p5-XML-Dumper
SUBDIR += p5-XML-Node
SUBDIR += p5-XML-Parser
SUBDIR += p5-XML-RSS
SUBDIR += p5-XML-Sablotron

View 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>

View file

@ -0,0 +1 @@
MD5 (XML-Node-0.10.tar.gz) = d05369ba4c7f7cbb1ff0b727f89a07a9

View file

@ -0,0 +1 @@
Perl5 module to extend and simplify XML::Parser

View 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>

View 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