# -*- 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         JSON-WebToken 0.10
revision            1
platforms           {darwin any}
maintainers         nomaintainer
license             Artistic-1 GPL
supported_archs     noarch

description         Perl JSON Web Token (JWT) implementation.
long_description    ${description}

checksums           rmd160 58e7b62016412247b38360ec820fccabff314fdf \
                    sha256 77c182a98528f1714d82afc548d5b3b4dc93e67069128bb9b9413f24cf07248b

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-test-mock-guard \
                    port:p${perl5.major}-test-requires

    depends_lib-append \
                    port:p${perl5.major}-json \
                    port:p${perl5.major}-module-runtime

    perl5.use_module_build
}
