# -*- 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.033000 ../../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  cab00f92564e9287f43012389f4d0e0c2cd08847 \
                    sha256  6574147140119c114d1a9f5b92c34a0c2421ff69968137329afd1353b7a11323 \
                    size    54598

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
}
