# -*- 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-Prime-Util 0.75 ../../authors/id/D/DA/DANAJ
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         Math::Prime::Util - Utilities related to prime numbers, including fast sieves and factoring
long_description    {*}${description}

checksums           rmd160  15db6b1490e25f4cdf0ebb6325dfccd7e7b61cb3 \
                    sha256  85c17cbeb5927d71f024a2e1f197bff61e1ca6da249053e1683b62c894bb8881 \
                    size    1201704

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-bignum

    depends_lib-append \
                    port:p${perl5.major}-math-bigint-gmp \
                    port:p${perl5.major}-math-prime-util-gmp
}
