# -*- 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        jacobwilliams finterp 1.3.0
revision            2
categories-append   math
license             BSD
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
description         Multidimensional linear interpolation with modern Fortran
long_description    Can be used to perform multidimensional (1D–6D) linear interpolation of data on a regular grid. \
                    The code is written in modern Fortran (2003/2008) and is object-oriented and thread-safe.
checksums           rmd160  bbb97adf16cee3c4e731b26ff07f44836811fc5d \
                    sha256  79d5a43bc9fa9ee5b081f2d50b51944a985739baad348d807e6ec24ef7ebf46e \
                    size    26573
github.tarball_from archive

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

test.run            yes
