# -*- 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 slsqp 1.6.0
revision            1
categories-append   math
license             BSD
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
description         Modern Fortran Edition of the SLSQP optimizer
long_description    This is an updated version of the SLSQP nonlinear constrained optimization code. \
                    It can be used to solve nonlinear programming problems that seek to minimize \
                    a scalar performance index subject to nonlinear equality and inequality constraints \
                    as well as bounds on the variables.
checksums           rmd160  67004199b1414eed455765b68432d99e69535e45 \
                    sha256  f9091ca8efa87b802d2d20a09c7ee9e3639be1cfa1a45217a3c2630b8a9ef954 \
                    size    1110102
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
