# -*- 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 LSQR 1.1.0
revision            0
categories-append   math
license             CPL
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
description         Modern Fortran sparse linear systems solver
long_description    A Fortran 2008 edition of LSQR, a conjugate-gradient type method \
                    for solving sparse linear equations and sparse least-squares problems.
checksums           rmd160  14abb0715f7946abf44a680ae14215712d3108e4 \
                    sha256  cd848397301d8f073129a9086986b51de306ba9bf9775764b067fd1ef4d6f778 \
                    size    79572
github.tarball_from archive

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

test.run            yes
