# -*- 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

name                powellopt
github.setup        jacobwilliams PowellOpt 48bfb13c556119df2d273d6c5829b09608013338
version             2023.12.03
revision            0
categories-append   math
license             BSD
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
description         Optimization algorithms by M.J.D. Powell
long_description    This is a collection of derivative-free optimization algorithms by M.J.D. Powell.
checksums           rmd160  bcfcfe552a162420d8d3dfe5ba13a06f2f636b24 \
                    sha256  5c85332ecda88210a867b50e7f1f0b555b106f203e29750f5dad23f823c6b95a \
                    size    87693
github.tarball_from archive

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

test.run            yes
