# -*- 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 name superlu version 5.2.1 categories math license BSD platforms darwin maintainers sean openmaintainer description A package for solving linear equations long_description SuperLU is a general purpose library for the direct \ solution of large, sparse, nonsymmetric systems of \ linear equations on high performance machines. homepage http://crd.lbl.gov/~xiaoye/SuperLU master_sites ${homepage} checksums rmd160 2aae43b29da1301e70625d79d41453e5d5ed04e2 \ sha256 28fb66d6107ee66248d5cf508c79de03d0621852a0ddeba7301801d3d859f463 distname ${name}_${version} worksrcdir SuperLU_${version} configure.cflags -Os -mtune=native post-patch { reinplace "s|^enable_language.*Fortran.*||" ${worksrcpath}/CMakeLists.txt reinplace "s|^set(NOFORTRAN FALSE)$|set(NOFORTRAN TRUE)|" ${worksrcpath}/CMakeLists.txt } configure.args-append \ -DTPL_BLAS_LIBRARIES="-framework Accelerate" \ -Denable_tests=OFF \ -DUSE_XSDK_DEFAULTS=ON \ -DXSDK_ENABLE_Fortran=OFF livecheck.type none