1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/www/p5-URI-Fetch/Makefile
2013-11-07 16:38:13 +00:00

35 lines
742 B
Makefile

# Created by: Lars Thegler <lth@FreeBSD.org>
# $FreeBSD$
PORTNAME= URI-Fetch
PORTVERSION= 0.090
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
DISTNAME= ${PORTNAME}-${PORTVERSION:C/0$//}
MAINTAINER= perl@FreeBSD.org
COMMENT= Smart URI fetching/caching
BUILD_DEPENDS= p5-Class-ErrorHandler>=0:${PORTSDIR}/devel/p5-Class-ErrorHandler \
p5-URI>=0:${PORTSDIR}/net/p5-URI \
p5-libwww>=0:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS:= ${BUILD_DEPENDS}
OPTIONS_DEFINE= ZLIB CACHE
OPTIONS_DEFAULT= ZLIB
ZLIB_DESC= GZIP Support
CACHE_DESC= Caching Support
USES= perl5
USE_PERL5= configure
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MCACHE}
RUN_DEPENDS+= p5-Cache>=0:${PORTSDIR}/devel/p5-Cache
.endif
.include <bsd.port.post.mk>