aboutsummaryrefslogtreecommitdiff
path: root/www/p5-HTML-Template
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2008-08-30 23:43:05 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2008-08-30 23:43:05 +0000
commitaeeb086a47fee00428742b5c0f9bcf4ba93acbb0 (patch)
tree28e9326e267ab40b2c13d7e0445cb2df8f6f8260 /www/p5-HTML-Template
parent46f206125ce68ddd837ba93173bb5b8deb446e9f (diff)
downloadports-aeeb086a47fee00428742b5c0f9bcf4ba93acbb0.tar.gz
ports-aeeb086a47fee00428742b5c0f9bcf4ba93acbb0.zip
Notes
Diffstat (limited to 'www/p5-HTML-Template')
-rw-r--r--www/p5-HTML-Template/Makefile15
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>