# -*- 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 rklib 1.0.2
name                runge-kutta-fortran
revision            0
epoch               1
categories-append   math
license             BSD
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
description         Fixed and variable-step Runge–Kutta solvers in modern Fortran
long_description    {*}${description}
checksums           rmd160  4eaa085b5524e42b844272b7f1fc8b53d563dda6 \
                    sha256  6f11e50cc677d2133145535ceba94f9d2fe8dbb95e7bf94e90a7098cca7f75e6 \
                    size    341591
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
