[116390] trunk/dports/math

sean at macports.org sean at macports.org
Thu Jan 23 12:15:35 PST 2014


Revision: 116390
          https://trac.macports.org/changeset/116390
Author:   sean at macports.org
Date:     2014-01-23 12:15:35 -0800 (Thu, 23 Jan 2014)
Log Message:
-----------
scalapack: add new port needed for mumps

Added Paths:
-----------
    trunk/dports/math/scalapack/
    trunk/dports/math/scalapack/Portfile

Added: trunk/dports/math/scalapack/Portfile
===================================================================
--- trunk/dports/math/scalapack/Portfile	                        (rev 0)
+++ trunk/dports/math/scalapack/Portfile	2014-01-23 20:15:35 UTC (rev 116390)
@@ -0,0 +1,43 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+PortGroup           cmake 1.0
+PortGroup           mpi 1.0
+
+mpi.setup           require
+
+name                scalapack
+version             2.0.2
+categories          math
+platforms           darwin
+maintainers         sean openmaintainer
+supported_archs     noarch
+description         A package for solving linear equations
+long_description    The ScaLAPACK (or Scalable LAPACK) library includes \
+                    a subset of LAPACK routines redesigned for distributed \
+                    memory MIMD parallel computers.
+
+homepage            http://www.netlib.org/scalapack/
+master_sites        ${homepage}
+extract.suffix      .tgz
+
+checksums           rmd160  cbe6b783aab96cc73f37156b10e28accffdf28e3 \
+                    sha256  0c74aeae690fe5ee4db7926f49c5d0bb69ce09eea75beb915e00bba07530395c
+
+configure.args      -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib \
+                    -DBUILD_SHARED_LIBS=ON \
+                    -DBUILD_TESTING=OFF
+
+pre-configure {
+    configure.args-append \
+                    -DMPI_C_COMPILER=${mpi.cc} \
+                    -DMPI_Fortran_COMPILER=${mpi.fc}
+}
+
+if {![mpi_variant_isset]} {
+    default_variants +mpich
+}
+
+livecheck.type      regex
+livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140123/a7de2195/attachment.html>


More information about the macports-changes mailing list