# -*- 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 splpak 2.0.2
revision            1
categories-append   math
license             Apache-2
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
description         Modernized SPLPAK library for multidimensional least-squares cubic spline fitting
long_description    This library contains routines for fitting (least squares) a multidimensional cubic spline \
                    to arbitrarily located data. It also contains routines for evaluating this spline \
                    (or its partial derivatives) at any point. This is a modernization of the double precision SPLPAK files from NCL.
checksums           rmd160  195526b37fca5d9bb33f68bfbe7b131f1d942594 \
                    sha256  ecf3a7c2a87533e0f903f833a778dd7277d943786e8018724040d9c1fac2363b \
                    size    65180
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
