# -*- 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.51 ../../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  5e1cb67032103e6a4f5df2e01e130aab4a33aa8c \
                    sha256  70dd9555e174f41e00621f5d3effbda8ce7c983b726c0e8b71bd12f2b70f27ce \
                    size    284890

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