# -*- 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.042000 ../../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  1650f4835d135ee89cefce4ef27dd68155e1b74a \
                    sha256  c29745ba445c11ea7e288e9cfc998961425bcdf630d01ac38a03e8821e6b88a9 \
                    size    56519

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
}
