Revision
96009
Author
ryandesign@macports.org
Date
2012-07-28 09:41:55 -0700 (Sat, 28 Jul 2012)

Log Message

tidy: switch to W3C tidy-html5 version 20120720 at the suggestion of Sierk Bornemann, since the original project at SourceForge hasn't released a new version in over three years; add openmaintainer

Modified Paths

Diff

Modified: trunk/dports/www/tidy/Portfile (96008 => 96009)


--- trunk/dports/www/tidy/Portfile	2012-07-28 16:29:43 UTC (rev 96008)
+++ trunk/dports/www/tidy/Portfile	2012-07-28 16:41:55 UTC (rev 96009)
@@ -2,25 +2,23 @@
 # $Id$
 
 PortSystem              1.0
+PortGroup               github 1.0
 
+github.setup            w3c tidy-html5 c63cc3924b2aa52aaac2faa73b1fd42c258e210c
 name                    tidy
-version                 20090325
+version                 20120720
 categories              www
 platforms               darwin
-maintainers             ryandesign
+maintainers             ryandesign openmaintainer
 license                 MIT
 
 description             Fixes and tidies up HTML files
 
 long_description        Tidy is a utility to clean up and fix broken HTML files.
 
-homepage                http://tidy.sourceforge.net/
-master_sites            gentoo
-use_bzip2               yes
+homepage                http://w3c.github.com/tidy-html5/
 
-checksums               md5     39a05125a2a2dbacaccac84af64e1dbc \
-                        sha1    28c000a2cd40262fc0d7c2c429eb2a09b2df7bf4 \
-                        rmd160  796a025bc1b67ea64394c64a1455a582e9285982
+fetch.type              git
 
 depends_build           port:autoconf \
                         port:automake \
@@ -33,6 +31,6 @@
 use_parallel_build      yes
 
 livecheck.type          regex
-livecheck.url           http://tidy.cvs.sourceforge.net/viewvc/*checkout*/tidy/tidy/src/version.h
-livecheck.regex         {"(.+)"}
-eval livecheck.version  [clock format [clock scan ${version}] -format {%d %B %Y}]
+livecheck.url           ${github.raw}/master/src/version.h
+livecheck.regex         {tree/(.*)"}
+livecheck.version       [string range ${git.branch} 0 6]