aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2004-07-31 03:25:36 +0800
committervanilla <vanilla@FreeBSD.org>2004-07-31 03:25:36 +0800
commit7272186be4c9f171139fa6cf1f2bf8eda0e5a15d (patch)
tree3a880ca311b56991da6e016316125dd070dac4e2 /textproc
parent1114541dc1657734f7f430320e431246a7cbd85f (diff)
downloadfreebsd-ports-gnome-7272186be4c9f171139fa6cf1f2bf8eda0e5a15d.tar.gz
freebsd-ports-gnome-7272186be4c9f171139fa6cf1f2bf8eda0e5a15d.tar.zst
freebsd-ports-gnome-7272186be4c9f171139fa6cf1f2bf8eda0e5a15d.zip
Add p5-XML-Feed 0.02, perl5 modules for Syndication feed parser and
auto-discovery. PR: ports/69807 Submitted by: Cheng-Lung Sung <clsung@dragon2.net>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-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
5 files changed, 72 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 1d3fe053ace8..ecf30125aa9c 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -370,6 +370,7 @@
SUBDIR += p5-XML-Directory
SUBDIR += p5-XML-Dumper
SUBDIR += p5-XML-Encoding
+ SUBDIR += p5-XML-Feed
SUBDIR += p5-XML-Filter-BufferText
SUBDIR += p5-XML-Filter-DetectWS
SUBDIR += p5-XML-Filter-GenericChunk
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