# -*- 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        zoziha forlab 416e5612167b6133100bef4cec116322890f66f7
version             2022.04.05
revision            0
categories-append   math
license             MIT
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
description         ${name} provides a lot of functions for scientific computing
long_description    {*}${description} mostly inspired by Matlab \
                    and Python’s NumPy.
checksums           rmd160  b41be1ce342c718a1220bc557eac637550ed1b48 \
                    sha256  784431a7c880c6a6dcfdd7687e3b0f2f8340dc13bd187a3546acd09d883628f3 \
                    size    54785
github.tarball_from archive

# https://github.com/zoziha/forlab/pull/2
patchfiles          0001-fpm.toml-add-install-target.patch

post-destroot {
    set docdir ${prefix}/share/doc/${name}
    xinstall -d ${destroot}${docdir}
    xinstall -m 0644 -W ${worksrcpath} LICENSE README.md ${destroot}${docdir}
}

# No tests provided at the moment:
# https://github.com/zoziha/forlab/issues/3
test.run            no
