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

mk at macports.org mk at macports.org
Fri Aug 2 13:20:12 PDT 2013


Revision: 108821
          https://trac.macports.org/changeset/108821
Author:   mk at macports.org
Date:     2013-08-02 13:20:12 -0700 (Fri, 02 Aug 2013)
Log Message:
-----------
scotch: new version 5.1.12b thanks to wimmer, resolves ticket #39890

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

Modified: trunk/dports/science/scotch/Portfile
===================================================================
--- trunk/dports/science/scotch/Portfile	2013-08-02 20:17:14 UTC (rev 108820)
+++ trunk/dports/science/scotch/Portfile	2013-08-02 20:20:12 UTC (rev 108821)
@@ -4,11 +4,15 @@
 PortSystem          1.0
 
 name                scotch
-version             5.1.11
-revision            5
+version             5.1.12b
 
+set v_version_wo_char {}
+set v_char            {}
+set v_regexp          {(5\.\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:
-set release         28043
+set release         28978
 
 categories          science
 maintainers         mk pixilla
@@ -20,19 +24,19 @@
 
 homepage            http://gforge.inria.fr/projects/scotch
 master_sites        https://gforge.inria.fr/frs/download.php/${release}
-distname            scotch_${version}
+distname            scotch_${version}_esmumps
 
 livecheck.type      regex
 livecheck.url       https://gforge.inria.fr/frs/?group_id=248
-livecheck.regex     "scotch_(5\\.\\d+\\.\\d+)\\.tar\\.gz"
+livecheck.regex     "scotch_(5\\.\\d+\\.\\d+\[a-zA-Z\]+)_esmumps\\.tar\\.gz"
 
 use_bzip2           no
 
-worksrcdir          ${name}_${version}/src
+worksrcdir          ${name}_${v_version_wo_char}_esmumps/src
 
-checksums           md5     36d638a227f38a219b51fe8ddc2093ac \
-                    sha1    7cee69345bd101b0dbd8aff9b410dea6834c32d6 \
-                    rmd160  2b72f555af192a17eecec65d50bd241ad87adec2
+checksums           md5     e13b49be804755470b159d7052764dc0 \
+                    sha1    3866deea3199bc364d31ec46c63adcb799a8cf48 \
+                    rmd160  38ed5135e401767d0df8ecea6bcf8f7e4a60a464
 
 use_configure       no
 
@@ -71,6 +75,7 @@
 
 pre-build {
     copy ${worksrcpath}/Make.inc/Makefile.inc.i686_mac_darwin8 ${worksrcpath}/Makefile.inc
+    reinplace "s|-O3|-O3 -fPIC|" ${worksrcpath}/Makefile.inc
     reinplace "s|gcc|\$(CC)|" ${worksrcpath}/Makefile.inc
     reinplace "s|mpicc|${prefix}/bin/openmpicc|" ${worksrcpath}/Makefile.inc
 }
@@ -87,4 +92,3 @@
     xinstall -m 755 -d ${destroot}${prefix}/share/man/man1
     eval xinstall -m 755 [glob ${worksrcpath}/../man/man1/*] ${destroot}${prefix}/share/man/man1
 }
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130802/89c598cf/attachment.html>


More information about the macports-changes mailing list