[116362] trunk/dports/science/scotch/Portfile

sean at macports.org sean at macports.org
Thu Jan 23 12:13:38 PST 2014


Revision: 116362
          https://trac.macports.org/changeset/116362
Author:   sean at macports.org
Date:     2014-01-23 12:13:38 -0800 (Thu, 23 Jan 2014)
Log Message:
-----------
scotch: fix livecheck

Modified Paths:
--------------
    trunk/dports/science/scotch/Portfile

Modified: trunk/dports/science/scotch/Portfile
===================================================================
--- trunk/dports/science/scotch/Portfile	2014-01-23 20:13:35 UTC (rev 116361)
+++ trunk/dports/science/scotch/Portfile	2014-01-23 20:13:38 UTC (rev 116362)
@@ -8,7 +8,7 @@
 
 set v_version_wo_char {}
 set v_char            {}
-set v_regexp          {(5\.\d+\.\d+)([a-zA-Z]+)}
+set v_regexp          {(\d+\.\d+\.\d+)([a-zA-Z]?)}
 regexp $v_regexp ${version} -> v_version_wo_char v_char
 
 # this is specific to this port and *version* for downloading it:
@@ -28,7 +28,7 @@
 
 livecheck.type      regex
 livecheck.url       https://gforge.inria.fr/frs/?group_id=248
-livecheck.regex     "scotch_(5\\.\\d+\\.\\d+\[a-zA-Z\]+)_esmumps\\.tar\\.gz"
+livecheck.regex     "scotch_($v_regexp)_esmumps${extract.suffix}"
 
 use_bzip2           no
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140123/359c518a/attachment.html>


More information about the macports-changes mailing list