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

github.setup        renatomatz econ-toolchain 301d1659ba3d34973195985c552ca6fcfe2d9f29
version             2024.03.03
revision            1
categories-append   economics
license             MIT
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
description         General tools used for structural macroeconomic modelling
long_description    {*}${description}
checksums           rmd160  73e3a88f2c80805e411359d7cdd09282da6cb8a5 \
                    sha256  17f9f11a1e31418ab0211127966d9336068ce6d4662f421a9a513a6daedd70a5 \
                    size    14196
github.tarball_from archive

# See also: https://github.com/renatomatz/econ-toolchain/issues/3
depends_lib-append      path:lib/libopenblas.dylib:OpenBLAS
require_active_variants path:lib/libopenblas.dylib:OpenBLAS lapack

post-destroot {
    set docdir ${prefix}/share/doc/${name}
    xinstall -d ${destroot}${docdir}
    xinstall -m 0644 -W ${worksrcpath} LICENCE ${destroot}${docdir}
}

test.run            yes
