From aeeb086a47fee00428742b5c0f9bcf4ba93acbb0 Mon Sep 17 00:00:00 2001 From: Jun Kuriyama Date: Sat, 30 Aug 2008 23:43:05 +0000 Subject: Simplify dependency. PR: ports/126979 Submitted by: leeym --- www/p5-HTML-Template/Makefile | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'www/p5-HTML-Template') diff --git a/www/p5-HTML-Template/Makefile b/www/p5-HTML-Template/Makefile index 8483284d077f..a5e9ca8bb079 100644 --- a/www/p5-HTML-Template/Makefile +++ b/www/p5-HTML-Template/Makefile @@ -7,6 +7,7 @@ PORTNAME= HTML-Template PORTVERSION= 2.9 +PORTREVISION= 1 CATEGORIES= www perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -14,12 +15,16 @@ PKGNAMEPREFIX= p5- MAINTAINER= kuriyama@FreeBSD.org COMMENT= Perl module to use HTML Templates from CGI scripts -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools \ - ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 -RUN_DEPENDS= ${BUILD_DEPENDS} - PERL_CONFIGURE= yes MAN3= HTML::Template.3 -.include +.include + +.if ${PERL_LEVEL} < 500703 +RUN_DEPENDS+= p5-Digest-MD5>=0:${PORTSDIR}/security/p5-Digest-MD5 \ + p5-Scalar-List-Utils>=0:${PORTSDIR}/lang/p5-Scalar-List-Utils \ + p5-Storable>=0:${PORTSDIR}/devel/p5-Storable +.endif + +.include -- cgit v1.2.3