# -*- 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 roots-fortran 1.4.0
name                fortran-roots
revision            0
categories-append   math
license             BSD
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
description         Root solvers for modern Fortran
long_description    Modern Fortran library for finding the roots of continuous scalar functions of a single real variable.
checksums           rmd160  f0fd4d34608161c93d02e5f44254a6087bef2d37 \
                    sha256  be67ee7b4f0e9564cb44bedb6e16ab4d85d9312dbdeb223196bada2e1bee0d52 \
                    size    54470

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

test.run            yes
