aboutsummaryrefslogtreecommitdiff
path: root/www/validator
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-03-20 23:02:01 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-03-20 23:02:01 +0000
commit944eab68b3ba3cfbec0c1fbf3abc4f4555c2cdb4 (patch)
treecc29a2e20015fae3e76bf4b5f91736c23f2a9b16 /www/validator
parent6a17bafe9f1cef17892973b0c9483099f00db345 (diff)
downloadports-944eab68b3ba3cfbec0c1fbf3abc4f4555c2cdb4.tar.gz
ports-944eab68b3ba3cfbec0c1fbf3abc4f4555c2cdb4.zip
Notes
Diffstat (limited to 'www/validator')
-rw-r--r--www/validator/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/validator/Makefile b/www/validator/Makefile
index 42cf1a1d3d74..4a9d6e02a9c1 100644
--- a/www/validator/Makefile
+++ b/www/validator/Makefile
@@ -7,6 +7,7 @@
PORTNAME= validator
PORTVERSION= 0.7.2
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= http://validator.w3.org/dist/ \
http://www.cyberbotx.com/w3c-validator/
@@ -16,7 +17,6 @@ MAINTAINER= cyberbotx@cyberbotx.com
COMMENT= Markup Validation Service from the World Wide Web Consortium (W3C)
RUN_DEPENDS= onsgmls:${PORTSDIR}/textproc/opensp \
- ${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm \
${SITE_PERL}/Config/General.pm:${PORTSDIR}/devel/p5-Config-General \
${SITE_PERL}/${PERL_ARCH}/HTML/Parser.pm:${PORTSDIR}/www/p5-HTML-Parser \
${SITE_PERL}/HTML/Template.pm:${PORTSDIR}/www/p5-HTML-Template \
@@ -110,4 +110,8 @@ post-install:
IGNORE= requires Perl 5.6.0 or better to run
.endif
+.if ${PERL_LEVEL} < 500800
+RUN_DEPENDS+= ${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm
+.endif
+
.include <bsd.port.post.mk>