svn commit: r442728 - head/www/validator
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Jun 5 23:26:50 UTC 2017
Author: sunpoet
Date: Mon Jun 5 23:26:48 2017
New Revision: 442728
URL: https://svnweb.freebsd.org/changeset/ports/442728
Log:
Remove outdated PERL_LEVEL check
- While I'm here, add NO_ARCH
With hat: perl
Modified:
head/www/validator/Makefile
Modified: head/www/validator/Makefile
==============================================================================
--- head/www/validator/Makefile Mon Jun 5 23:26:43 2017 (r442727)
+++ head/www/validator/Makefile Mon Jun 5 23:26:48 2017 (r442728)
@@ -13,6 +13,7 @@ MAINTAINER= cyberbotx at cyberbotx.com
COMMENT= Markup Validation Service from the World Wide Web Consortium (W3C)
RUN_DEPENDS= onsgmls:textproc/opensp \
+ p5-CGI.pm>=0:www/p5-CGI.pm \
p5-Config-General>=0:devel/p5-Config-General \
p5-Encode-HanExtra>=0:chinese/p5-Encode-HanExtra \
p5-Encode-JIS2K>=0:converters/p5-Encode-JIS2K \
@@ -27,6 +28,7 @@ RUN_DEPENDS= onsgmls:textproc/opensp \
p5-XML-LibXML>=0:textproc/p5-XML-LibXML
USES= perl5 shebangfix
+NO_ARCH= yes
NO_BUILD= yes
USE_PERL5= run
SHEBANG_FILES= httpd/cgi-bin/check \
@@ -40,12 +42,6 @@ HTML_TIDY_DESC= Enable HTML Markup Cleaning
HTML_TIDY_RUN_DEPENDS= p5-HTML-Tidy>=0:textproc/p5-HTML-Tidy
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} >= 502200
-RUN_DEPENDS+= p5-CGI.pm>=0:www/p5-CGI.pm
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|%%WWWDIR%%|${WWWDIR}|' \
${WRKSRC}/htdocs/config/validator.conf \
@@ -68,4 +64,4 @@ do-install:
(cd ${WRKSRC}/httpd && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/httpd/)
(cd ${WRKSRC}/share && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/share/)
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
More information about the svn-ports-head
mailing list