# -*- 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.42 ../../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  e2c455336cb6cda8d3e025fb3a6431668ddd4fba \
                    sha256  e1ac2fab1e3a6d2d998d3440c600067365bdc7dbf0c8f2b2059cbce4b4c83173 \
                    size    269074

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