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

github.setup        mcg1969 vecLibFort 0.4.2
categories          devel math science
platforms           darwin
maintainers         takeshi
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 Mac OS X and \
    FORTRAN code compiled with modern compilers such as GNU Fortran.

checksums           rmd160  e6271804608ef6fa0dfb67397d1dec2fc86b0671 \
                    sha256  47ffed7fc41e5ea2263c3343c3fb5199fb1fefae2351f945897124d5c9eaef51

patchfiles          patch-Makefile.diff

use_configure       no

variant universal  {}

build.args          CC=${configure.cc} \
                    CFLAGS="${configure.cflags} [get_canonical_archflags]" \
                    PREFIX=${prefix} \
                    LD=${configure.cc} \
                    LDFLAGS="[get_canonical_archflags]" \
                    DESTDIR=${destroot}${prefix}

destroot.args       PREFIX=${prefix}