aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-01-16 10:39:06 +0800
committerclsung <clsung@FreeBSD.org>2006-01-16 10:39:06 +0800
commit26649f4ded6bf0fc203bbf598ca1df57a38349ae (patch)
tree8e2778bbb903db54efb745bf619f79a6bc345430 /textproc
parent37e8341be13fb032c4c6bbe126d38aabc89995d7 (diff)
downloadfreebsd-ports-gnome-26649f4ded6bf0fc203bbf598ca1df57a38349ae.tar.gz
freebsd-ports-gnome-26649f4ded6bf0fc203bbf598ca1df57a38349ae.tar.zst
freebsd-ports-gnome-26649f4ded6bf0fc203bbf598ca1df57a38349ae.zip
Add p5-XML-RSS-LibXML 0.15, XML::RSS with XML::LibXML.
PR: ports/91819 Submitted by: Gea-Suan Lin <gslin@gslin.org>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-XML-RSS-LibXML/Makefile39
-rw-r--r--textproc/p5-XML-RSS-LibXML/distinfo3
-rw-r--r--textproc/p5-XML-RSS-LibXML/pkg-descr6
-rw-r--r--textproc/p5-XML-RSS-LibXML/pkg-plist13
5 files changed, 62 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index f68175c46abf..c7a35c438783 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -520,6 +520,7 @@
SUBDIR += p5-XML-RAI
SUBDIR += p5-XML-RSS
SUBDIR += p5-XML-RSS-JavaScript
+ SUBDIR += p5-XML-RSS-LibXML
SUBDIR += p5-XML-RegExp
SUBDIR += p5-XML-SAX
SUBDIR += p5-XML-SAX-Expat
diff --git a/textproc/p5-XML-RSS-LibXML/Makefile b/textproc/p5-XML-RSS-LibXML/Makefile
new file mode 100644
index 000000000000..79044ecbcdf7
--- /dev/null
+++ b/textproc/p5-XML-RSS-LibXML/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: p5-XML-RSS-LibXML
+# Date created: 2006-01-15
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= XML-RSS-LibXML
+PORTVERSION= 0.15
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= XML
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gslin@gslin.org
+COMMENT= XML::RSS with XML::LibXML
+
+BUILD_DEPENDS= ${SITE_PERL}/mach/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML \
+ ${SITE_PERL}/mach/XML/LibXML/XPathContext.pm:${PORTSDIR}/textproc/p5-XML-LibXML-XPathContext
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= XML::RSS::LibXML.3 \
+ XML::RSS::LibXML::Generator.3 \
+ XML::RSS::LibXML::MagicElement.3 \
+ XML::RSS::LibXML::Parser.3 \
+ XML::RSS::LibXML::V10.3 \
+ XML::RSS::LibXML::Format.3 \
+ XML::RSS::LibXML::V09.3 \
+ XML::RSS::LibXML::V20.3
+
+.include <bsd.port.pre.mk>
+
+.if (${PERL_LEVEL} < 500601)
+IGNORE= requires perl 5.6.x or later. Install lang/perl5.8 then try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-XML-RSS-LibXML/distinfo b/textproc/p5-XML-RSS-LibXML/distinfo
new file mode 100644
index 000000000000..bace4c3aeb7e
--- /dev/null
+++ b/textproc/p5-XML-RSS-LibXML/distinfo
@@ -0,0 +1,3 @@
+MD5 (XML-RSS-LibXML-0.15.tar.gz) = d2e50cf8896748911864a3e5808a5e9c
+SHA256 (XML-RSS-LibXML-0.15.tar.gz) = 56fe555514a1fa7def85bd1898ef3f47185624edf9b5353a63290dcaf8e32b2e
+SIZE (XML-RSS-LibXML-0.15.tar.gz) = 17929
diff --git a/textproc/p5-XML-RSS-LibXML/pkg-descr b/textproc/p5-XML-RSS-LibXML/pkg-descr
new file mode 100644
index 000000000000..08874625a4f6
--- /dev/null
+++ b/textproc/p5-XML-RSS-LibXML/pkg-descr
@@ -0,0 +1,6 @@
+XML::RSS::LibXML uses XML::LibXML (libxml2) for parsing RSS instead of
+XML::RSS' XML::Parser (expat), while trying to keep interface
+compatibility with XML::RSS.
+
+Author: Daisuke Maki <dmaki@cpan.org>
+WWW: http://search.cpan.org/dist/XML-RSS-LibXML
diff --git a/textproc/p5-XML-RSS-LibXML/pkg-plist b/textproc/p5-XML-RSS-LibXML/pkg-plist
new file mode 100644
index 000000000000..d7d8c8839acc
--- /dev/null
+++ b/textproc/p5-XML-RSS-LibXML/pkg-plist
@@ -0,0 +1,13 @@
+%%SITE_PERL%%/XML/RSS/LibXML.pm
+%%SITE_PERL%%/XML/RSS/LibXML/Format.pm
+%%SITE_PERL%%/XML/RSS/LibXML/Generator.pm
+%%SITE_PERL%%/XML/RSS/LibXML/MagicElement.pm
+%%SITE_PERL%%/XML/RSS/LibXML/Parser.pm
+%%SITE_PERL%%/XML/RSS/LibXML/V09.pm
+%%SITE_PERL%%/XML/RSS/LibXML/V10.pm
+%%SITE_PERL%%/XML/RSS/LibXML/V20.pm
+%%SITE_PERL%%/benchmark.pl
+%%SITE_PERL%%/mach/auto/XML-RSS-LibXML/.packlist
+@dirrm %%SITE_PERL%%/XML/RSS/LibXML
+@unexec rmdir %D/%%SITE_PERL%%/XML/RSS 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/XML 2>/dev/null || true