[111693] trunk/dports/_resources/port1.0/group/haskell-1.0.tcl
cal at macports.org
cal at macports.org
Sat Sep 28 11:58:36 PDT 2013
Revision: 111693
https://trac.macports.org/changeset/111693
Author: cal at macports.org
Date: 2013-09-28 11:58:35 -0700 (Sat, 28 Sep 2013)
Log Message:
-----------
haskell-1.0: use new distfile URLs, fix livecheck
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 2013-09-28 18:47:15 UTC (rev 111692)
+++ trunk/dports/_resources/port1.0/group/haskell-1.0.tcl 2013-09-28 18:58:35 UTC (rev 111693)
@@ -53,7 +53,7 @@
proc haskell.setup {package version {compiler ghc} {register_scripts "yes"}} {
global haskell.compiler_list
global haskell.compiler_configuration
- global homepage prefix configure.cmd destroot worksrcpath name master_sites configure.cc
+ global homepage prefix configure.cmd destroot worksrcpath name master_sites configure.cc extract.suffix
if {![info exists haskell.compiler_configuration($compiler)]} {
return -code error "Compiler ${compiler} not currently supported"
@@ -63,7 +63,7 @@
version ${version}
categories devel haskell
homepage http://hackage.haskell.org/package/${package}
- master_sites http://hackage.haskell.org/packages/archive/${package}/${version}
+ master_sites http://hackage.haskell.org/package/${package}-${version}
distname ${package}-${version}
depends_lib port:${compiler_config(port)}
configure.cmd runhaskell
@@ -97,8 +97,8 @@
}
livecheck.type regex
- livecheck.url http://hackage.haskell.org/cgi-bin/hackage-scripts/package/${package}
- livecheck.regex /packages/archive/${package}/.*/${package}-(.*)\.tar\.gz
+ livecheck.url http://hackage.haskell.org/package/${package}
+ livecheck.regex "/package/[quotemeta ${package}]-\[^/\]+/[quotemeta ${package}]-(\[^\"\]+)[quotemeta ${extract.suffix}]"
universal_variant no
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130928/b85ca924/attachment.html>
More information about the macports-changes
mailing list