mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
Add p5-POE-Filter-XML 0.23, a POE Filter for parsing XML.
PR: ports/70097 Submitted by: Jeff Putsch <jdputsch@comcast.net>
This commit is contained in:
parent
7619dfbf4b
commit
7f5ae7ffe8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116677
@ -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
|
||||
|
42
textproc/p5-POE-Filter-XML/Makefile
Normal file
42
textproc/p5-POE-Filter-XML/Makefile
Normal file
@ -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>
|
2
textproc/p5-POE-Filter-XML/distinfo
Normal file
2
textproc/p5-POE-Filter-XML/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (POE-Filter-XML-0.23.tar.gz) = 4a59907a31446965957510c676783f55
|
||||
SIZE (POE-Filter-XML-0.23.tar.gz) = 27683
|
7
textproc/p5-POE-Filter-XML/pkg-descr
Normal file
7
textproc/p5-POE-Filter-XML/pkg-descr
Normal file
@ -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/
|
14
textproc/p5-POE-Filter-XML/pkg-plist
Normal file
14
textproc/p5-POE-Filter-XML/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user