diff options
author | pgollucci <pgollucci@FreeBSD.org> | 2015-08-12 09:09:00 +0800 |
---|---|---|
committer | pgollucci <pgollucci@FreeBSD.org> | 2015-08-12 09:09:00 +0800 |
commit | 898cba411ecb5b1f4b4e216f9ace254b8c99b0e9 (patch) | |
tree | 14230545aebc0ca4f3003597a73fbe73068896c7 /www | |
parent | 2b475b4324d673f6c63c37e8c3eecca1b06b8538 (diff) | |
download | freebsd-ports-gnome-898cba411ecb5b1f4b4e216f9ace254b8c99b0e9.tar.gz freebsd-ports-gnome-898cba411ecb5b1f4b4e216f9ace254b8c99b0e9.tar.zst freebsd-ports-gnome-898cba411ecb5b1f4b4e216f9ace254b8c99b0e9.zip |
www/validator: fix w/ perl 5.22+
- Needs www/p5-CGI.pm for perl 5.22+
- Bump PORTREVISION
@dirrm already committed by amdmi3@
PR: 201616
Submitted by: yasu@utahime.org
Approved by: cyberbotx@cyberbotx.com
Diffstat (limited to 'www')
-rw-r--r-- | www/validator/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/www/validator/Makefile b/www/validator/Makefile index 321f015e2604..dd40c13e3924 100644 --- a/www/validator/Makefile +++ b/www/validator/Makefile @@ -3,6 +3,7 @@ PORTNAME= validator PORTVERSION= 1.3 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://validator.w3.org/dist/ \ http://www.cyberbotx.com/w3c-validator/ @@ -39,6 +40,12 @@ HTML_TIDY_DESC= Enable HTML Markup Cleaning HTML_TIDY_RUN_DEPENDS= p5-HTML-Tidy>=0:${PORTSDIR}/textproc/p5-HTML-Tidy +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} >= 502200 +RUN_DEPENDS+= p5-CGI.pm>=0:${PORTSDIR}/www/p5-CGI.pm +.endif + post-extract: @${RM} ${WRKSRC}/README.cvs @${RM} -rf ${WRKSRC}/misc @@ -56,4 +63,4 @@ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/httpd/cgi-bin/* ${STAGEDIR}${PREFIX}/www/validator/httpd/cgi-bin (cd ${WRKSRC}/share && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/www/validator/share/) -.include <bsd.port.mk> +.include <bsd.port.post.mk> |