summaryrefslogtreecommitdiff
path: root/textproc/p5-XML-Feed
diff options
context:
space:
mode:
authorheinz <heinz>2007-04-30 22:57:59 +0000
committerheinz <heinz>2007-04-30 22:57:59 +0000
commite7b4404acb4934e52af233caf261cadb8cb12527 (patch)
tree95b440e9a3e2372bc1944f9808843c57fed6a6d3 /textproc/p5-XML-Feed
parent26e3783075eb5439f09bba51652c14b135a23614 (diff)
downloadpkgsrc-e7b4404acb4934e52af233caf261cadb8cb12527.tar.gz
Initial import of p5-XML-Feed 0.12.
XML::Feed is a syndication feed parser for both RSS and Atom feeds. It also implements feed auto-discovery for finding feeds, given a URI. The goal of XML::Feed is to provide a unified API for parsing and using the various syndication formats. The different flavors of RSS and Atom handle data in different ways: date handling; summaries and content; escaping and quoting; etc. This module attempts to remove those differ- ences by providing a wrapper around the formats and the classes imple- menting those formats (XML::RSS and XML::Atom::Feed).
Diffstat (limited to 'textproc/p5-XML-Feed')
-rw-r--r--textproc/p5-XML-Feed/DESCR9
-rw-r--r--textproc/p5-XML-Feed/Makefile32
-rw-r--r--textproc/p5-XML-Feed/PLIST1
-rw-r--r--textproc/p5-XML-Feed/distinfo5
4 files changed, 47 insertions, 0 deletions
diff --git a/textproc/p5-XML-Feed/DESCR b/textproc/p5-XML-Feed/DESCR
new file mode 100644
index 00000000000..9d500f9fdca
--- /dev/null
+++ b/textproc/p5-XML-Feed/DESCR
@@ -0,0 +1,9 @@
+XML::Feed is a syndication feed parser for both RSS and Atom feeds. It
+also implements feed auto-discovery for finding feeds, given a URI.
+
+The goal of XML::Feed is to provide a unified API for parsing and using
+the various syndication formats. The different flavors of RSS and Atom
+handle data in different ways: date handling; summaries and content;
+escaping and quoting; etc. This module attempts to remove those differ-
+ences by providing a wrapper around the formats and the classes imple-
+menting those formats (XML::RSS and XML::Atom::Feed).
diff --git a/textproc/p5-XML-Feed/Makefile b/textproc/p5-XML-Feed/Makefile
new file mode 100644
index 00000000000..b520273a264
--- /dev/null
+++ b/textproc/p5-XML-Feed/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/04/30 22:57:59 heinz Exp $
+#
+
+DISTNAME= XML-Feed-0.12
+PKGNAME= p5-${DISTNAME}
+SVR4_PKGNAME= p5xfe
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=XML/}
+
+MAINTAINER= heinz@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/XML-Feed/
+COMMENT= Perl syndication feed parser for both RSS and Atom feeds
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS+= p5-Class-ErrorHandler-[0-9]*:../../devel/p5-Class-ErrorHandler
+DEPENDS+= p5-Feed-Find-[0-9]*:../../textproc/p5-Feed-Find
+DEPENDS+= p5-URI-Fetch-[0-9]*:../../www/p5-URI-Fetch
+DEPENDS+= p5-XML-Atom>=0.08:../../textproc/p5-XML-Atom
+DEPENDS+= p5-XML-RSS>=1.01:../../textproc/p5-XML-RSS
+DEPENDS+= p5-DateTime-[0-9]*:../../time/p5-DateTime
+DEPENDS+= p5-DateTime-Format-Mail-[0-9]*:../../time/p5-DateTime-Format-Mail
+DEPENDS+= p5-DateTime-Format-W3CDTF-[0-9]*:../../time/p5-DateTime-Format-W3CDTF
+
+BUILD_DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww
+BUILD_DEPENDS+= p5-HTML-Parser-[0-9]*:../../www/p5-HTML-Parser
+
+MAKE_ENV+= PERL_EXTUTILS_AUTOINSTALL=--defaultdeps
+PERL5_PACKLIST= auto/XML/Feed/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/p5-XML-Feed/PLIST b/textproc/p5-XML-Feed/PLIST
new file mode 100644
index 00000000000..5dc510a62f3
--- /dev/null
+++ b/textproc/p5-XML-Feed/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/04/30 22:57:59 heinz Exp $
diff --git a/textproc/p5-XML-Feed/distinfo b/textproc/p5-XML-Feed/distinfo
new file mode 100644
index 00000000000..6c90bc10b04
--- /dev/null
+++ b/textproc/p5-XML-Feed/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/04/30 22:57:59 heinz Exp $
+
+SHA1 (XML-Feed-0.12.tar.gz) = 5ad01db48e0cfefb840422ef5af33f292440ae8d
+RMD160 (XML-Feed-0.12.tar.gz) = 9ab452aa369fa646bd4b05c63a02a9b9e9815a7c
+Size (XML-Feed-0.12.tar.gz) = 39125 bytes