# -*- 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-cgl
version                 0.60.8
revision                0
categories              math

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

checksums               rmd160  ae3c46eebb3416da0cef944e382b7045aa1476a3 \
                        sha256  fb02f4d43ce234fb22e3aceaee092fcefb10619810e70c76c71c1b3f893eb7c5 \
                        size    1285232

maintainers             {@flyingsamson tuxcad.de:flyingsamson} openmaintainer
description             A library of cutting-plane generators.
long_description        The COIN-OR Cut Generation Library (Cgl) is an open collection \
                        of cutting plane implementations (\"cut generators\") for use in \
                        teaching, research, and applications. Cgl can be used with other \
                        COIN-OR packages that make use of cuts, such as the mixed-integer \
                        linear programming solver Cbc. Each cut generator has its own \
                        maintainer who leads the development of its functionality, testing, \
                        and documentation. See below for a listing of available generators. \
                        All the generators are combined in one library when Cgl is compiled.
license                 EPL-2

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

depends_build-append    port:pkgconfig
depends_lib-append      port:coinor-coinutils \
                        port:coinor-osi \
                        port:coinor-clp

patchfiles              wimplicit-function-declaration.diff

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