freebsd-ports/www/p5-URI-Fetch/Makefile
Philip M. Gollucci c10f314307 - lang/perl5.6 is dead, remove PERL_LEVEL/PERL_VERSION < 500801 checks
PR:             ports/135398
Tested by:      2 -exp runs by pav
Approved by:    portmgr (pav)
2009-07-22 16:27:08 +00:00

43 lines
990 B
Makefile

# New ports collection makefile for: www/p5-URI-Fetch
# Date created: 30 July 2005
# Whom: Lars Thegler <lth@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= URI-Fetch
PORTVERSION= 0.080
PORTREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
DISTNAME= ${PORTNAME}-${PORTVERSION:C/0$//}
MAINTAINER= perl@FreeBSD.org
COMMENT= Smart URI fetching/caching
RUN_DEPENDS= p5-Class-ErrorHandler>=0:${PORTSDIR}/devel/p5-Class-ErrorHandler \
p5-URI>=0:${PORTSDIR}/net/p5-URI \
p5-libwww>=0:${PORTSDIR}/www/p5-libwww
BUILD_DEPENDS= ${RUN_DEPENDS}
OPTIONS= ZLIB "GZIP Support" on \
CACHE "Caching Support" off
PERL_CONFIGURE= yes
MAN3= URI::Fetch.3 \
URI::Fetch::Response.3
.if !defined(WITHOUT_ZLIB)
RUN_DEPENDS+= p5-Compress-Zlib>=0:${PORTSDIR}/archivers/p5-Compress-Zlib
.endif
.if defined(WITH_CACHE)
RUN_DEPENDS+= p5-Cache>=0:${PORTSDIR}/devel/p5-Cache
.endif
post-patch:
${PERL} -pi -e '$$_ = "" if m|auto_install|' ${WRKSRC}/Makefile.PL
.include <bsd.port.mk>