# -*- 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

PortSystem          1.0
PortGroup           github 1.0
PortGroup           conflicts_build 1.0
PortGroup           makefile 1.0

github.setup        mcg1969 vecLibFort 0.4.3
revision            1
checksums           rmd160  52429e533071664d0ab94d05f0cbc42795540e59 \
                    sha256  fe9e7e0596bfb4aa713b2273b21e7d96c0d7a6453ee4b214a8a50050989d5586 \
                    size    10689

categories          devel math science
maintainers         {takeshi @tenomoto}
license             Boost-1
description         Fortran interface to vecLib BLAS/LAPACK
long_description \
    vecLibFort is lightweight but flexible \"shim\" designed to \
    rectify the incompatibilities between the Accelerate/vecLib \
    BLAS and LAPACK libraries shipped with macOS and FORTRAN code \
    compiled with modern compilers such as GNU Fortran.
conflicts_build     libuuid

github.tarball_from archive

patchfiles          patch-Makefile.diff \
                    patch-vecLibFort.diff

# replace missing #define on Tiger
platform darwin 8 {
    configure.cflags-append -DRTLD_FIRST=0x100
}

makefile.override-append \
                    PREFIX \
                    CFLAGS

test.run            yes
test.target         check
