freebsd-ports/textproc/p5-XML-Feed/Makefile
Mark Linimon 9839011ec3 Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl.

Work done by:	gabor
Sponsored by:	Google Summer of Code 2007
Hat:		portmgr
2007-09-08 01:12:10 +00:00

39 lines
1.3 KiB
Makefile

# 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.12
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= XML
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl5 modules for Syndication feed parser and auto-discovery
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime \
${SITE_PERL}/Class/ErrorHandler.pm:${PORTSDIR}/devel/p5-Class-ErrorHandler \
${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}/Feed/Find.pm:${PORTSDIR}/www/p5-Feed-Find \
${SITE_PERL}/URI/Fetch.pm:${PORTSDIR}/www/p5-URI-Fetch \
p5-XML-Atom>=0.08:${PORTSDIR}/textproc/p5-XML-Atom \
p5-XML-RSS>=1.01:${PORTSDIR}/textproc/p5-XML-RSS
BUILD_DEPENDS= ${RUN_DEPENDS}
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/HTML/TokeParser.pm:${PORTSDIR}/www/p5-HTML-Parser \
${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww
PERL_MODBUILD= 5.8.5+ # p5-XML-Atom needs 5.8.5
MAN3= XML::Feed.3 \
XML::Feed::Content.3 \
XML::Feed::Entry.3
post-patch:
${PERL} -pi -e '$$_ = "" if m|auto_install|' ${WRKSRC}/Makefile.PL
.include <bsd.port.mk>