aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2017-09-16 02:48:38 +0800
committerswills <swills@FreeBSD.org>2017-09-16 02:48:38 +0800
commit5cc841046bfbd43ac8395219509f8e906b23ca32 (patch)
tree6881fefb95a7902da4af84f443d5d6dc40eee68c /www
parentc958d210637ff7556b7193d913254cdc85f5c68b (diff)
downloadfreebsd-ports-gnome-5cc841046bfbd43ac8395219509f8e906b23ca32.tar.gz
freebsd-ports-gnome-5cc841046bfbd43ac8395219509f8e906b23ca32.tar.zst
freebsd-ports-gnome-5cc841046bfbd43ac8395219509f8e906b23ca32.zip
www/validator: Update MASTER_SITES and cleanup
PR: 222274 Submitted by: Yasuhiro KIMURA <yasu@utahime.org> Approved by: Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
Diffstat (limited to 'www')
-rw-r--r--www/validator/Makefile14
-rw-r--r--www/validator/distinfo7
-rw-r--r--www/validator/pkg-plist4
3 files changed, 14 insertions, 11 deletions
diff --git a/www/validator/Makefile b/www/validator/Makefile
index 0f32ea463c00..1b2c58d9ff0e 100644
--- a/www/validator/Makefile
+++ b/www/validator/Makefile
@@ -3,15 +3,17 @@
PORTNAME= validator
PORTVERSION= 1.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www
-MASTER_SITES= http://validator.w3.org/dist/ \
- http://www.cyberbotx.com/w3c-validator/
-DISTFILES= validator-${PORTVERSION:S/./_/g}.tar.gz sgml-lib-${PORTVERSION:S/./_/g}.tar.gz
MAINTAINER= cyberbotx@cyberbotx.com
COMMENT= Markup Validation Service from the World Wide Web Consortium (W3C)
+LICENSE= W3C2002
+LICENSE_NAME= W3C Software Notice and License (2002/12/31)
+LICENSE_TEXT= See https://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
+LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
RUN_DEPENDS= onsgmls:textproc/opensp \
p5-CGI.pm>=0:www/p5-CGI.pm \
p5-Config-General>=0:devel/p5-Config-General \
@@ -27,6 +29,10 @@ RUN_DEPENDS= onsgmls:textproc/opensp \
p5-URI>=0:net/p5-URI \
p5-XML-LibXML>=0:textproc/p5-XML-LibXML
+USE_GITHUB= yes
+GH_ACCOUNT= w3c
+GH_PROJECT= markup-validator
+GH_TAGNAME= ${PORTNAME}-${PORTVERSION:S,.,_,}-release
USES= perl5 shebangfix
NO_ARCH= yes
NO_BUILD= yes
diff --git a/www/validator/distinfo b/www/validator/distinfo
index 39f0b80dbb9d..b808cf6bc51c 100644
--- a/www/validator/distinfo
+++ b/www/validator/distinfo
@@ -1,4 +1,3 @@
-SHA256 (validator-1_3.tar.gz) = 741cb3eb7b4e61e57d0caa47114553af2dcecacb7ccc957890df54bcebb464ea
-SIZE (validator-1_3.tar.gz) = 2552323
-SHA256 (sgml-lib-1_3.tar.gz) = d067d8f598570657188db9b20bec5988e79b5887b24a745566aa8259308cd41e
-SIZE (sgml-lib-1_3.tar.gz) = 596664
+TIMESTAMP = 1505267857
+SHA256 (w3c-markup-validator-1.3-validator-1_3-release_GH0.tar.gz) = a1d2bf4e9bd3e0a9ba811ecc2e1738da5e3f4496f5cb5ddd451309fcc945d9cf
+SIZE (w3c-markup-validator-1.3-validator-1_3-release_GH0.tar.gz) = 3073571
diff --git a/www/validator/pkg-plist b/www/validator/pkg-plist
index 61207e0fa6fa..cd5e80a141f8 100644
--- a/www/validator/pkg-plist
+++ b/www/validator/pkg-plist
@@ -333,9 +333,9 @@
%%WWWDIR%%/htdocs/index.html
%%WWWDIR%%/htdocs/intro.html
%%WWWDIR%%/htdocs/misc/compaq-logo.gif
+%%WWWDIR%%/htdocs/no_referer.asis
%%WWWDIR%%/htdocs/robots.txt
%%WWWDIR%%/htdocs/scripts/combined.js
-%%WWWDIR%%/htdocs/scripts/combined.js.gz
%%WWWDIR%%/htdocs/scripts/mootools-1.2.5-core-nc.js
%%WWWDIR%%/htdocs/scripts/mootools-1.2.5.1-more.js
%%WWWDIR%%/htdocs/scripts/w3c-validator.js
@@ -647,9 +647,7 @@
%%WWWDIR%%/htdocs/sgml-lib/xml.soc
%%WWWDIR%%/htdocs/source/index.html
%%WWWDIR%%/htdocs/style/base.css
-%%WWWDIR%%/htdocs/style/base.css.gz
%%WWWDIR%%/htdocs/style/results.css
-%%WWWDIR%%/htdocs/style/results.css.gz
%%WWWDIR%%/htdocs/todo.html
%%WWWDIR%%/htdocs/validator-news.xsl
%%WWWDIR%%/htdocs/whatsnew.html