# -*- 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.42 ../../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  add67e37ca55d164542d33991e6cba0ce530affa \
                    sha256  74e654649180cfc8f4c3a95adff7feca2e5480b50439fa30a9a05827de3425ee \
                    size    171476

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
}
