mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Only depend on p5-CGI on perl < 5.8
PR: ports/94638 Submitted by: KIMURA Yasuhiro <yasu@utahime.org> Approved by: Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
This commit is contained in:
parent
6a17bafe9f
commit
944eab68b3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=157819
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user