diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2008-08-31 07:43:05 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2008-08-31 07:43:05 +0800 |
commit | 30598fe1e94de09746dd14c23b4ff5961efe5a39 (patch) | |
tree | 5c97298414c0bca58cf56b10620b7f03562cdee9 /www/p5-HTML-Template | |
parent | 2b1d85295adb5d3286ffe4b05b4359cad4b41856 (diff) | |
download | freebsd-ports-gnome-30598fe1e94de09746dd14c23b4ff5961efe5a39.tar.gz freebsd-ports-gnome-30598fe1e94de09746dd14c23b4ff5961efe5a39.tar.zst freebsd-ports-gnome-30598fe1e94de09746dd14c23b4ff5961efe5a39.zip |
Simplify dependency.
PR: ports/126979
Submitted by: leeym
Diffstat (limited to 'www/p5-HTML-Template')
-rw-r--r-- | www/p5-HTML-Template/Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
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 <bsd.port.mk> +.include <bsd.port.pre.mk> + +.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 <bsd.port.post.mk> |