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

name                    coinor-osi
version                 0.108.9
revision                0
categories              math

github.setup            coin-or osi ${version} releases/
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from     tarball

checksums               rmd160  438fa598ffb19741a6119fbe7cc257a5aae7ffc0 \
                        sha256  a136cb21174c0ba0db74c18e5e6a4d80aebf59dcc7d361d5789097771eed6153 \
                        size    1030741

maintainers             {@flyingsamson tuxcad.de:flyingsamson} openmaintainer
description             A uniform API for calling embedded linear and mixed-integer programming solvers.
long_description        The COIN-OR Open Solver Interface is a uniform API for interacting with callable \
                        solver libraries. It supports linear programming solvers as well as the ability \
                        to \"finish off\" a mixed-integer problem calling the solver library\'s MIP solver.
license                 EPL-2

homepage                https://github.com/coin-or/osi

depends_build-append    port:pkgconfig
depends_lib-append      port:coinor-coinutils \
                        port:glpk

patchfiles              wimplicit-function-declaration.diff

configure.env-append    PKG_CONFIG_PATH=${prefix}/lib/pkgconfig \
                        PKG_CONFIG=${prefix}/bin/pkg-config
