aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2004-08-19 13:04:56 +0000
committerMathieu Arnold <mat@FreeBSD.org>2004-08-19 13:04:56 +0000
commit7f5ae7ffe8e29fd31d0aa096b678b6749b4440ff (patch)
tree5164faaa2368dac99beb2a597ec6505de91fb13d /textproc
parent7619dfbf4b933867cc4eb2a1cd09745f84dde009 (diff)
downloadports-7f5ae7ffe8e29fd31d0aa096b678b6749b4440ff.tar.gz
ports-7f5ae7ffe8e29fd31d0aa096b678b6749b4440ff.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-POE-Filter-XML/Makefile42
-rw-r--r--textproc/p5-POE-Filter-XML/distinfo2
-rw-r--r--textproc/p5-POE-Filter-XML/pkg-descr7
-rw-r--r--textproc/p5-POE-Filter-XML/pkg-plist14
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