# -*- 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         MetaCPAN-Client 2.037000 ../../authors/id/M/MI/MICKEY
revision            0
license             {Artistic-1 GPL}
maintainers         {devans @dbevans} openmaintainer
description         MetaCPAN::Client - A comprehensive, DWIM-featured client to the MetaCPAN API
long_description    {*}${description}

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  b3ae4d350fd4aa12be06446ca211f4e1c93fcd51 \
                    sha256  63c6eaa0452d13e27a7f7ffc62577ce73b0ae6aa88fc7be985c3a085da7c3fe8 \
                    size    55228

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-extutils-makemaker \
                    port:p${perl5.major}-http-tiny-mech \
                    port:p${perl5.major}-lwp-protocol-https \
                    port:p${perl5.major}-test-fatal \
                    port:p${perl5.major}-test-needs \
                    port:p${perl5.major}-www-mechanize-cached

    depends_lib-append \
                    port:p${perl5.major}-http-tiny \
                    port:p${perl5.major}-io-socket-ssl \
                    port:p${perl5.major}-json-maybexs \
                    port:p${perl5.major}-moo \
                    port:p${perl5.major}-net-ssleay \
                    port:p${perl5.major}-ref-util \
                    port:p${perl5.major}-safe-isa \
                    port:p${perl5.major}-type-tiny \
                    port:p${perl5.major}-uri
}
