From 95f76f6b03510cd390de83bc0c44ff4cd5b37a2f Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Fri, 11 May 2001 16:17:16 +0000 Subject: Perl5 module to extend and simplify XML::Parser PR: ports/25768 Submitted by: Johann Visagie --- textproc/Makefile | 1 + textproc/p5-XML-Node/Makefile | 24 ++++++++++++++++++++++++ textproc/p5-XML-Node/distinfo | 1 + textproc/p5-XML-Node/pkg-comment | 1 + textproc/p5-XML-Node/pkg-descr | 17 +++++++++++++++++ textproc/p5-XML-Node/pkg-plist | 7 +++++++ 6 files changed, 51 insertions(+) create mode 100644 textproc/p5-XML-Node/Makefile create mode 100644 textproc/p5-XML-Node/distinfo create mode 100644 textproc/p5-XML-Node/pkg-comment create mode 100644 textproc/p5-XML-Node/pkg-descr create mode 100644 textproc/p5-XML-Node/pkg-plist (limited to 'textproc') diff --git a/textproc/Makefile b/textproc/Makefile index ac4324935b5a..805a8394d60a 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -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 diff --git a/textproc/p5-XML-Node/Makefile b/textproc/p5-XML-Node/Makefile new file mode 100644 index 000000000000..1549f838b53e --- /dev/null +++ b/textproc/p5-XML-Node/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: p5-XML-Node +# Date created: 13 March 2001 +# Whom: Johann Visagie +# +# $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 diff --git a/textproc/p5-XML-Node/distinfo b/textproc/p5-XML-Node/distinfo new file mode 100644 index 000000000000..fd26f5c98e49 --- /dev/null +++ b/textproc/p5-XML-Node/distinfo @@ -0,0 +1 @@ +MD5 (XML-Node-0.10.tar.gz) = d05369ba4c7f7cbb1ff0b727f89a07a9 diff --git a/textproc/p5-XML-Node/pkg-comment b/textproc/p5-XML-Node/pkg-comment new file mode 100644 index 000000000000..b8cc43270ced --- /dev/null +++ b/textproc/p5-XML-Node/pkg-comment @@ -0,0 +1 @@ +Perl5 module to extend and simplify XML::Parser diff --git a/textproc/p5-XML-Node/pkg-descr b/textproc/p5-XML-Node/pkg-descr new file mode 100644 index 000000000000..b0c86abc662d --- /dev/null +++ b/textproc/p5-XML-Node/pkg-descr @@ -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 + +-- Johann Visagie diff --git a/textproc/p5-XML-Node/pkg-plist b/textproc/p5-XML-Node/pkg-plist new file mode 100644 index 000000000000..91faf8db3d44 --- /dev/null +++ b/textproc/p5-XML-Node/pkg-plist @@ -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 -- cgit v1.2.3