1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/www/p5-URI-Fetch/Makefile
Steve Wills 63d09c9c9b - Convert all remaining instances of BUILD_DEPENDS=${RUN_DEPENDS} or
RUN_DEPENDS=${BUILD_DEPENDS} to use := which portlint has warned
  about for a while.

PR:		ports/168208
Approved by:	portmgr (miwi)
2012-06-10 18:42:48 +00:00

50 lines
1.1 KiB
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.090
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_DEFINE= ZLIB CACHE
OPTIONS_DEFAULT= ZLIB
ZLIB_DESC= GZIP Support
CACHE_DESC= Caching Support
PERL_CONFIGURE= yes
MAN3= URI::Fetch.3 \
URI::Fetch::Response.3
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MZLIB}
. if ${PERL_LEVEL} < 500903
RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
. endif
.endif
.if ${PORT_OPTIONS:MCACHE}
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.post.mk>