# -*- 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.0
revision            0
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  60bbcc15c1c8de4db34ef04319aebf475d623f3a \
                    sha256  08837fc6ec8c1280452463d25a1ef1ac09e6d112976d3ecaca09bc841171d5ed \
                    size    18059

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
