svn commit: r393996 - head/www/validator
Philip M. Gollucci
pgollucci at FreeBSD.org
Wed Aug 12 01:09:01 UTC 2015
Author: pgollucci
Date: Wed Aug 12 01:09:00 2015
New Revision: 393996
URL: https://svnweb.freebsd.org/changeset/ports/393996
Log:
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 at utahime.org
Approved by: cyberbotx at cyberbotx.com
Modified:
head/www/validator/Makefile
Modified: head/www/validator/Makefile
==============================================================================
--- head/www/validator/Makefile Wed Aug 12 00:31:38 2015 (r393995)
+++ head/www/validator/Makefile Wed Aug 12 01:09:00 2015 (r393996)
@@ -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 Clean
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>
More information about the svn-ports-head
mailing list