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

perl5.branches      5.28 5.30 5.32 5.34
perl5.setup         Math-AnyNum 0.41 ../../authors/id/T/TR/TRIZEN
revision            0
license             Artistic-2
maintainers         {devans @dbevans} openmaintainer
description         Math::AnyNum - Arbitrary size precision for integers, rationals, floating-points and complex numbers.
long_description    {*}${description}

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  afbf99abee578a9bea0a489a26e746abe6a3e788 \
                    sha256  6810f8c083548768bb62cafb01d35860a52b01c1085d49f4445bb8a01a6ede75 \
                    size    171258

if {${perl5.major} != ""} {
    depends_lib-append \
                    port:p${perl5.major}-math-gmpq \
                    port:p${perl5.major}-math-gmpz \
                    port:p${perl5.major}-math-mpc \
                    port:p${perl5.major}-math-mpfr

    perl5.use_module_build
}
