# -*- 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        perazz twopnt 4ce477215f84a88d879f0ca3937cab9bedfb7762
version             0.1.0
revision            0
categories-append   math
license             MIT
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
description         Modern Fortran translation of the TWOPNT program for Boundary Value Problems
long_description    {*}${description}. The functions are modernized and translated \
                    from the original Fortran77 code TWOPNT, written by Dr Joseph F. Grcar \
                    at Sandia National Laboratories, Livermore, CA. The baseline version \
                    used for the translation is Version 3.29 from April 1998. \
                    An object-oriented interface wrapper was also built.
checksums           rmd160  6a931a5e51898e691a890efb0604dacbcfa7ebfc \
                    sha256  768144003705bd5a74939ea9d8db5ec47782ae114e6e5759bf1c1489b94fc02a \
                    size    40753

# Requires at least FPM 0.8.0: https://github.com/perazz/twopnt/issues/2

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

test.run            yes
