# -*- 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         Catalyst-Authentication-Credential-HTTP 1.019
revision            0
license             {Artistic-1 GPL}
maintainers         fpassera.com:dev openmaintainer
description         Catalyst::Authentication::Credential::HTTP - HTTP Basic and Digest authentication for Catalyst
long_description    {*}${description}

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  27e9b214d09e4e8fb5d647109e03fa0b1a8037f7 \
                    sha256  ec81e96c2a3f6586ea41d088ea8e801b1f34001ab19cc9a65def8a38c39a5bda \
                    size    39986

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-http-message \
                    port:p${perl5.major}-module-build-tiny \
                    port:p${perl5.major}-test-exception \
                    port:p${perl5.major}-test-mockobject \
                    port:p${perl5.major}-test-needs

    depends_lib-append \
                    port:p${perl5.major}-catalyst-plugin-authentication \
                    port:p${perl5.major}-catalyst-runtime \
                    port:p${perl5.major}-class-accessor \
                    port:p${perl5.major}-crypt-sysrandom \
                    port:p${perl5.major}-string-escape \
                    port:p${perl5.major}-uri

    perl5.use_module_build
}
