# -*- 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         Crypt-Random-Source 0.14
license             {Artistic-1 GPL}
maintainers         nomaintainer
categories-append   crypto
platforms           {darwin any}
description         Get weak or strong random data from pluggable sources
long_description    ${description}

checksums           rmd160  a8e7936f107053c83183b3be6986f9771fc45f52 \
                    sha256  ec4ece269f9ad1958c6e298ecee2e5a4345e357f3a4ffb2c748116af876eede6 \
                    size    36362

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-module-build-tiny \
                    port:p${perl5.major}-test-fatal

    depends_lib-append \
                    port:p${perl5.major}-capture-tiny \
                    port:p${perl5.major}-module-find \
                    port:p${perl5.major}-module-runtime \
                    port:p${perl5.major}-moo \
                    port:p${perl5.major}-namespace-clean \
                    port:p${perl5.major}-type-tiny

    supported_archs noarch
    perl5.use_module_build
}