# -*- 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
PortGroup           makefile 1.0

github.setup        coin-or Csdp 6.2.0 releases/
revision            0
categories          math
license             EPL-2
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
description         ${name} is a software package \
                    for solving semidefinite programming problems
long_description    {*}${description}
checksums           rmd160  6c92cdc4b6b2f4f5ae8f718f06db1d217fd07d53 \
                    sha256  3d341974af1f8ed70e1a37cc896e7ae4a513375875e5b46db8e8f38b7680b32f \
                    size    523556
github.tarball_from archive

conflicts           mpeg4ip

patchfiles-append   patch-Makefile.diff \
                    patch-fix-ranlib.diff \
                    patch-fix-includes.diff \
                    patch-libtarget.diff

compiler.openmp_version 2.5

# At the moment the port only installs the library and headers,
# but not executables.
destroot {
    copy ${worksrcpath}/lib/libsdp.a ${destroot}${prefix}/lib
    move ${worksrcpath}/include ${destroot}${prefix}/include/${name}
}
