diff options
author | mat <mat@FreeBSD.org> | 2004-08-19 21:04:56 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2004-08-19 21:04:56 +0800 |
commit | ed9ff63870fd9e47d81cf73ec84e65b3ac7c8e3a (patch) | |
tree | e5f16ca3afd59aafcb3e53a1c397e3d29f424feb /textproc | |
parent | f3a5653065eba724065bc4b40373d552ffa7db90 (diff) | |
download | freebsd-ports-gnome-ed9ff63870fd9e47d81cf73ec84e65b3ac7c8e3a.tar.gz freebsd-ports-gnome-ed9ff63870fd9e47d81cf73ec84e65b3ac7c8e3a.tar.zst freebsd-ports-gnome-ed9ff63870fd9e47d81cf73ec84e65b3ac7c8e3a.zip |
Add p5-POE-Filter-XML 0.23, a POE Filter for parsing XML.
PR: ports/70097
Submitted by: Jeff Putsch <jdputsch@comcast.net>
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/p5-POE-Filter-XML/Makefile | 42 | ||||
-rw-r--r-- | textproc/p5-POE-Filter-XML/distinfo | 2 | ||||
-rw-r--r-- | textproc/p5-POE-Filter-XML/pkg-descr | 7 | ||||
-rw-r--r-- | textproc/p5-POE-Filter-XML/pkg-plist | 14 |
5 files changed, 66 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index dac5cb353a04..6bf74215c146 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -274,6 +274,7 @@ SUBDIR += p5-Number-Format SUBDIR += p5-PDF-API2 SUBDIR += p5-PDF-Create + SUBDIR += p5-POE-Filter-XML SUBDIR += p5-Parse-Syslog SUBDIR += p5-PerlPoint-Converters SUBDIR += p5-PerlPoint-Package diff --git a/textproc/p5-POE-Filter-XML/Makefile b/textproc/p5-POE-Filter-XML/Makefile new file mode 100644 index 000000000000..b4070642e1f2 --- /dev/null +++ b/textproc/p5-POE-Filter-XML/Makefile @@ -0,0 +1,42 @@ +# ex:ts=8 +# New ports collection makefile for: POE::Filter::XML +# Date created: Aug 19, 2001 +# Whom: Jeff Putsch <jdputsch@comcast.net> +# +# $FreeBSD$ +# + +PORTNAME= POE-Filter-XML +PORTVERSION= 0.23 +CATEGORIES= textproc devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= POE +PKGNAMEPREFIX= p5- + +MAINTAINER= jdputsch@comcast.net +COMMENT= A POE Filter for parsing XML + +BUILD_DEPENDS= ${SITE_PERL}/POE.pm:${PORTSDIR}/devel/p5-POE \ + ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= POE::Filter::XML::Node.3 \ + POE::Filter::XML::Parser.3 \ + POE::Filter::XML::Utils.3 \ + POE::Filter::XML::NS.3 \ + POE::Filter::XML.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +post-patch: + ${PERL} -pi -e 's/^our (\S+)/use vars qw($$1); $$1/g;' \ + -e '$$_ = "" if /warnings/' ${WRKSRC}/lib/POE/Filter/XML/NS.pm \ + ${WRKSRC}/lib/POE/Filter/XML/Node.pm ${WRKSRC}/lib/POE/Filter/XML/Handler.pm \ + ${WRKSRC}/lib/POE/Filter/XML/Parser.pm ${WRKSRC}/lib/POE/Filter/XML/Meta.pm \ + ${WRKSRC}/lib/POE/Filter/XML/Utils.pm ${WRKSRC}/lib/POE/Filter/XML.pm +.endif + +.include <bsd.port.post.mk> diff --git a/textproc/p5-POE-Filter-XML/distinfo b/textproc/p5-POE-Filter-XML/distinfo new file mode 100644 index 000000000000..79c58402c7ae --- /dev/null +++ b/textproc/p5-POE-Filter-XML/distinfo @@ -0,0 +1,2 @@ +MD5 (POE-Filter-XML-0.23.tar.gz) = 4a59907a31446965957510c676783f55 +SIZE (POE-Filter-XML-0.23.tar.gz) = 27683 diff --git a/textproc/p5-POE-Filter-XML/pkg-descr b/textproc/p5-POE-Filter-XML/pkg-descr new file mode 100644 index 000000000000..929ad4d18a06 --- /dev/null +++ b/textproc/p5-POE-Filter-XML/pkg-descr @@ -0,0 +1,7 @@ +POE::Filter::XML provides POE with a completely encapsulated XML +parsing strategy for POE::Wheels that will be dealing with XML +streams. By default the filter will attempt to use XML::Parser as +its foundation for xml parsing. Otherwise it will depend upon a +pure perl SAX parser included (POE::Filter::XML::Parser). + +WWW: http://search.cpan.org/dist/POE-Filter-XML/ diff --git a/textproc/p5-POE-Filter-XML/pkg-plist b/textproc/p5-POE-Filter-XML/pkg-plist new file mode 100644 index 000000000000..dba16b53a2e9 --- /dev/null +++ b/textproc/p5-POE-Filter-XML/pkg-plist @@ -0,0 +1,14 @@ +%%SITE_PERL%%/POE/Filter/XML.pm +%%SITE_PERL%%/POE/Filter/XML/Handler.pm +%%SITE_PERL%%/POE/Filter/XML/Meta.pm +%%SITE_PERL%%/POE/Filter/XML/NS.pm +%%SITE_PERL%%/POE/Filter/XML/Node.pm +%%SITE_PERL%%/POE/Filter/XML/Parser.pm +%%SITE_PERL%%/POE/Filter/XML/Utils.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Filter/XML/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Filter/XML +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Filter 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE 2>/dev/null || true +@dirrm %%SITE_PERL%%/POE/Filter/XML +@unexec rmdir %D/%%SITE_PERL%%/POE/Filter 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/POE 2>/dev/null || true |