aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-XML-Feed
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2004-07-30 19:25:36 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2004-07-30 19:25:36 +0000
commitebd8d87932bdf942650509a43443b2577f63e2ba (patch)
tree95cce04b17ac55cfd5d1e41e52ffa734d9572596 /textproc/p5-XML-Feed
parenta8ba4c30863ee75b70e30a41bc44163b5c6ae423 (diff)
downloadports-ebd8d87932bdf942650509a43443b2577f63e2ba.tar.gz
ports-ebd8d87932bdf942650509a43443b2577f63e2ba.zip
Notes
Diffstat (limited to 'textproc/p5-XML-Feed')
-rw-r--r--textproc/p5-XML-Feed/Makefile40
-rw-r--r--textproc/p5-XML-Feed/distinfo2
-rw-r--r--textproc/p5-XML-Feed/pkg-descr21
-rw-r--r--textproc/p5-XML-Feed/pkg-plist8
4 files changed, 71 insertions, 0 deletions
diff --git a/textproc/p5-XML-Feed/Makefile b/textproc/p5-XML-Feed/Makefile
new file mode 100644
index 000000000000..415007c8a3a8
--- /dev/null
+++ b/textproc/p5-XML-Feed/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: p5-XML-Feed
+# Date created: Jul 31 2004
+# Whom: Cheng-Lung Sung <clsung@dragon2.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= XML-Feed
+PORTVERSION= 0.02
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= XML
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Perl5 modules for Syndication feed parser and auto-discovery
+
+BUILD_DEPENDS= ${SITE_PERL}/XML/RSS.pm:${PORTSDIR}/textproc/p5-XML-RSS \
+ ${SITE_PERL}/XML/Atom.pm:${PORTSDIR}/textproc/p5-XML-Atom \
+ ${SITE_PERL}/${PERL_ARCH}/HTML/Parser.pm:${PORTSDIR}/www/p5-HTML-Parser \
+ ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
+ ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \
+ ${SITE_PERL}/DateTime/Format/Mail.pm:${PORTSDIR}/devel/p5-DateTime-Format-Mail \
+ ${SITE_PERL}/DateTime/Format/W3CDTF.pm:${PORTSDIR}/devel/p5-DateTime-Format-W3CDTF \
+ ${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_MODBUILD= yes
+
+MAN3= XML::Feed.3 \
+ XML::Feed::Content.3 \
+ XML::Feed::Entry.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+IGNORE= This port requires perl 5.6.x or later. Install lang/perl5 then try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-XML-Feed/distinfo b/textproc/p5-XML-Feed/distinfo
new file mode 100644
index 000000000000..53bf14aab2ea
--- /dev/null
+++ b/textproc/p5-XML-Feed/distinfo
@@ -0,0 +1,2 @@
+MD5 (XML-Feed-0.02.tar.gz) = e58abd187a4a99abd34fa6a9d82e25bf
+SIZE (XML-Feed-0.02.tar.gz) = 21443
diff --git a/textproc/p5-XML-Feed/pkg-descr b/textproc/p5-XML-Feed/pkg-descr
new file mode 100644
index 000000000000..715bebcd12cb
--- /dev/null
+++ b/textproc/p5-XML-Feed/pkg-descr
@@ -0,0 +1,21 @@
+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.
+
+XML::Feed supports the following syndication feed formats:
+
+ * RSS 0.91
+ * RSS 1.0
+ * RSS 2.0
+ * Atom
+
+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 differences
+by providing a wrapper around the formats and the classes implementing
+those formats (XML::RSS and XML::Atom::Feed).
+
+WWW: http://search.cpan.org/dist/XML-Feed/
+
+- Cheng-Lung Sung
+clsung at dragon2.net
diff --git a/textproc/p5-XML-Feed/pkg-plist b/textproc/p5-XML-Feed/pkg-plist
new file mode 100644
index 000000000000..7d3cfe2ebab9
--- /dev/null
+++ b/textproc/p5-XML-Feed/pkg-plist
@@ -0,0 +1,8 @@
+%%SITE_PERL%%/XML/Feed.pm
+%%SITE_PERL%%/XML/Feed/Atom.pm
+%%SITE_PERL%%/XML/Feed/Content.pm
+%%SITE_PERL%%/XML/Feed/Entry.pm
+%%SITE_PERL%%/XML/Feed/ErrorHandler.pm
+%%SITE_PERL%%/XML/Feed/RSS.pm
+@dirrm %%SITE_PERL%%/XML/Feed
+@unexec rmdir %D/%%SITE_PERL%%/XML 2>/dev/null || true