# -*- 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         Cpanel-JSON-XS 4.41 ../../authors/id/R/RU/RURBAN
revision            0
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         JSON::XS for Cpanel, fast and correct serialising
long_description    {*}${description}

checksums           rmd160  6acf02dcba274ebaa847ba7ee92a6247f3bfcaab \
                    sha256  fd5194307aa195bb0acbca52c2026c3ecaa5334d27e08e379dc78631718e9d53 \
                    size    263443

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

    # requires Pod::Text provided by podlators distribution
    depends_lib-append \
                    port:p${perl5.major}-encode \
                    port:p${perl5.major}-podlators
}

livecheck.type      regex
livecheck.url       https://cpan.metacpan.org/authors/id/R/RU/RURBAN
livecheck.regex     "${perl5.module}-(\\d+(?:\\.\\d+)*)"
