[45939] trunk/dports/_resources/port1.0/group/haskell-1.0.tcl
blb at macports.org
blb at macports.org
Sun Jan 25 13:59:33 PST 2009
Revision: 45939
http://trac.macports.org/changeset/45939
Author: blb at macports.org
Date: 2009-01-25 13:59:33 -0800 (Sun, 25 Jan 2009)
Log Message:
-----------
group/haskell-1.0.tcl - add livecheck ability
Modified Paths:
--------------
trunk/dports/_resources/port1.0/group/haskell-1.0.tcl
Modified: trunk/dports/_resources/port1.0/group/haskell-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/haskell-1.0.tcl 2009-01-25 21:59:00 UTC (rev 45938)
+++ trunk/dports/_resources/port1.0/group/haskell-1.0.tcl 2009-01-25 21:59:33 UTC (rev 45939)
@@ -53,7 +53,7 @@
proc haskell.setup {package version {compiler ghc}} {
global haskell.compiler_list
global haskell.compiler_configuration
- global homepage prefix configure.cmd destroot worksrcpath name
+ global homepage prefix configure.cmd destroot worksrcpath name master_sites
if {![info exists haskell.compiler_configuration($compiler)]} {
return -code error "Compiler ${compiler} not currently supported"
@@ -88,5 +88,9 @@
# pre-deactivate {
# system "${prefix}/libexec/${name}/unregister.sh"
# }
+
+ livecheck.check regex
+ livecheck.url ${homepage}/cgi-bin/hackage-scripts/package/${package}
+ livecheck.regex /packages/archive/${package}/.*/${package}-(.*)\.tar\.gz
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090125/567242e1/attachment.html>
More information about the macports-changes
mailing list