aboutsummaryrefslogtreecommitdiff
path: root/www/p5-HTML-Mason
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-02-05 10:34:06 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-02-05 10:34:06 +0000
commitf12900301f6489a7365a45074702cd90c6346fbc (patch)
tree878c4833919c93a119bf557f37a17c8a0cafea0f /www/p5-HTML-Mason
parent118fbc372b0f0de10a53da5abfb7a38d407b9698 (diff)
downloadports-f12900301f6489a7365a45074702cd90c6346fbc.tar.gz
ports-f12900301f6489a7365a45074702cd90c6346fbc.zip
Notes
Diffstat (limited to 'www/p5-HTML-Mason')
-rw-r--r--www/p5-HTML-Mason/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/www/p5-HTML-Mason/Makefile b/www/p5-HTML-Mason/Makefile
index 92b363e09fec..ab46c658bd36 100644
--- a/www/p5-HTML-Mason/Makefile
+++ b/www/p5-HTML-Mason/Makefile
@@ -15,8 +15,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= dsh@vlink.ru
-BUILD_DEPENDS= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec \
- ${SITE_PERL}/${PERL_ARCH}/Apache/Request.pm:${PORTSDIR}/www/p5-libapreq \
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Apache/Request.pm:${PORTSDIR}/www/p5-libapreq \
${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate \
${SITE_PERL}/Exception/Class.pm:${PORTSDIR}/devel/p5-Exception-Class \
${SITE_PERL}/Class/Container.pm:${PORTSDIR}/devel/p5-Class-Container
@@ -56,4 +55,10 @@ MAN3= Bundle::HTML::Mason.3 \
HTML::Mason::Tools.3 \
HTML::Mason::Utils.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} <= 50601
+BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
+.endif
+
+.include <bsd.port.post.mk>