# -*- 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            mkoeppe LiDIA 19281f81af411ec86858ba0eb4030f20b1396df7
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from     tarball
version                 2.3.0.20190901

categories              math
license                 GPL-2+

maintainers             nomaintainer

description             A library for computational number theory
long_description        {*}${description}

checksums               rmd160  52fb677e5bc6bf2595a5f3ddc870a854c7cf413c \
                        sha256  73c9e6345c3d814206e4d95dafcaa4f46668b7f065644d92e0df54e53d823b53 \
                        size    21981417

depends_build-append    port:autoconf \
                        port:automake \
                        port:libtool

depends_lib-append      port:glpk \
                        port:gmp

configure.cmd           ./bootstrap && ./configure
configure.args          --disable-static \
                        --enable-shared \
                        --with-arithmetic=gmp
