source: trunk/dports/math/superlu/Portfile

Last change on this file was 150509, checked in by sean@…, 14 months ago

superlu: update to 5.2.1 which supports cmake

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# -*- 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
2# $Id: Portfile 150509 2016-07-20 20:37:55Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           cmake 1.0
6
7name                superlu
8version             5.2.1
9categories          math
10license             BSD
11platforms           darwin
12maintainers         sean openmaintainer
13description         A package for solving linear equations
14long_description    SuperLU is a general purpose library for the direct \
15                    solution of large, sparse, nonsymmetric systems of \
16                    linear equations on high performance machines.
17
18homepage            http://crd.lbl.gov/~xiaoye/SuperLU
19master_sites        ${homepage}
20
21checksums           rmd160  2aae43b29da1301e70625d79d41453e5d5ed04e2 \
22                    sha256  28fb66d6107ee66248d5cf508c79de03d0621852a0ddeba7301801d3d859f463
23
24distname            ${name}_${version}
25worksrcdir          SuperLU_${version}
26
27configure.cflags    -Os -mtune=native
28
29post-patch {
30    reinplace "s|^enable_language.*Fortran.*||" ${worksrcpath}/CMakeLists.txt
31    reinplace "s|^set(NOFORTRAN FALSE)$|set(NOFORTRAN TRUE)|" ${worksrcpath}/CMakeLists.txt
32}
33
34configure.args-append \
35                    -DTPL_BLAS_LIBRARIES="-framework Accelerate" \
36                    -Denable_tests=OFF \
37                    -DUSE_XSDK_DEFAULTS=ON \
38                    -DXSDK_ENABLE_Fortran=OFF
39
40livecheck.type      none
Note: See TracBrowser for help on using the repository browser.