Revision
77263
Author
ryandesign@macports.org
Date
2011-03-24 19:33:27 -0700 (Thu, 24 Mar 2011)

Log Message

winetricks: update to 20110324, use new compressed versioned distfile

Modified Paths

Diff

Modified: trunk/dports/x11/winetricks/Portfile (77262 => 77263)


--- trunk/dports/x11/winetricks/Portfile	2011-03-25 02:29:54 UTC (rev 77262)
+++ trunk/dports/x11/winetricks/Portfile	2011-03-25 02:33:27 UTC (rev 77263)
@@ -4,17 +4,14 @@
 PortSystem              1.0
 
 name                    winetricks
-version                 20110318
-svn.revision            321
+version                 20110324
 categories              x11
 maintainers             ryandesign
 license                 LGPL-2+
 homepage                http://www.winetricks.org/
-master_sites            http://winetricks.googlecode.com/svn/trunk/src/winetricks?p=${svn.revision}&dummy=
+master_sites            ${homepage}download/releases/
 platforms               darwin
-distname                ${name}
-dist_subdir             ${name}/${version}
-extract.suffix
+extract.suffix          .tgz
 extract.mkdir           yes
 supported_archs         noarch
 use_configure           no
@@ -28,8 +25,8 @@
                         systems have all the needed redistributable runtime \
                         libraries or fonts.
 
-checksums               sha1    c52593baf962b22d807dccadab4c5330ae5fe93c \
-                        rmd160  f205167b236b5cf99730b5346f6149d5b53c421e
+checksums               sha1    2195a9b6f65e20bb8aaa6ed0563cd026ae5afad7 \
+                        rmd160  efe6b1f98ed8ca76a26654bbead2152ce2b1e7ac
 
 depends_run             path:bin/zenity:zenity \
                         path:bin/wine:wine \
@@ -38,10 +35,6 @@
                         bin:curl:curl \
                         bin:unzip:unzip
 
-extract {
-    copy ${distpath}/${name} ${worksrcpath}
-}
-
 build {}
 
 destroot {
@@ -50,5 +43,5 @@
 
 
 livecheck.type          regex
-livecheck.url           http://groups.google.com/group/winetricks-announce
-livecheck.regex         {(\d{8})}
+livecheck.url           [lindex ${master_sites} 0]
+livecheck.regex         ${name}-(\\d{8})\\.