# -*- 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.034000 ../../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  2ec4845f2423cc6697c575e289410f9b4c385f01 \
                    sha256  e6e4b9e78a1a66388a7ef248a5585364d89510f2c01a53651dfec17f14ca6994 \
                    size    55080

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
}
