# -*- 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.43 ../../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  d70edc070ee10c36be12a5d26d8bc7c9bca7e10f \
                    sha256  dce8233e2825abc297e86fe4d9b52b69105888349efa8ec1465ae21ff87adec5 \
                    size    270227

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+)*)"
