freebsd-ports/textproc/p5-XML-RSS-Parser/Makefile
Yen-Ming Lee 21687c1105 - add p5-XML-RSS-Parser 4.0
XML::RSS::Parser is a lightweight liberal parser of RSS feeds. This parser
is "liberal" in that it does not demand compliance of a specific RSS version
and will attempt to gracefully handle tags it does not expect or understand.
The parser's only requirements is that the file is well-formed XML and
remotely resembles RSS. Roughly speaking, well formed XML with a channel
element as a direct sibling or the root tag and item elements etc.

There are a number of advantages to using this module then just using
a standard parser-tree combination. There are a number of different RSS
formats in use today. In very subtle ways these formats are not entirely
compatible from one to another. XML::RSS::Parser makes a couple assumptions
to "normalize" the parse tree into a more consistent form. For instance,
it forces channel and item into a parent-child relationship.

WWW: http://search.cpan.org/dist/XML-RSS-Parser/
2006-04-21 04:09:07 +00:00

33 lines
971 B
Makefile

# New ports collection makefile for: p5-XML-RSS-Parser
# Date created: 21 Apr 2006
# Whom: Yen-Ming Lee <leeym@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= XML-RSS-Parser
PORTVERSION= 4.0
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= XML
PKGNAMEPREFIX= p5-
MAINTAINER= leeym@FreeBSD.org
COMMENT= A liberal object-oriented parser for RSS feeds
RUN_DEPENDS= ${SITE_PERL}/XML/Elemental.pm:${PORTSDIR}/textproc/p5-XML-Elemental \
${SITE_PERL}/Class/XPath.pm:${PORTSDIR}/devel/p5-Class-XPath \
${SITE_PERL}/Class/ErrorHandler.pm:${PORTSDIR}/devel/p5-Class-ErrorHandler
BUILD_DEPENDS= ${RUN_DEPENDS}
BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
PERL_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\.0//}
MAN3= XML::RSS::Parser.3 \
XML::RSS::Parser::Characters.3 \
XML::RSS::Parser::Element.3 \
XML::RSS::Parser::Feed.3 \
XML::RSS::Parser::Util.3
.include <bsd.port.mk>