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

github.setup        cddlib cddlib 0.94m
revision            1
platforms           darwin
categories          devel math
license             GPL-2+
maintainers         nomaintainer

github.tarball_from releases

checksums           rmd160  96dba7b2ebb9189e4ad4b1699b84f8b106a71843 \
                    sha256  70dffdb3369b8704dc75428a1b3c42ab9047b81ce039f12f427e2eb2b1b0dee2 \
                    size    1351298

description         a C implementation of the Double Description Method
long_description    ${description}

depends_lib-append  port:gmp

post-destroot {
    xinstall -m 755 -d ${destroot}${prefix}/libexec/${name}
    move ${destroot}${prefix}/bin ${destroot}${prefix}/libexec/${name}
}

notes "
The ${name} binary files are now installed into ${prefix}/libexec/${name}/bin
"
