# -*- 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         WWW-Shorten-Googl 1.100
maintainers         gmail.com:cowboyneal openmaintainer
license             {Artistic-1 GPL}
description         Perl interface to goo.gl
long_description    {*}${description}
supported_archs     noarch

platforms           {darwin any}

checksums           rmd160  e622509ab5735f011ff6e8e7c60dda2c8be53167 \
                    sha256  0bae756c2b9592a832b1d5e8170aea4fe7b0f65db0089991d9fb813f33e0ab6d

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-try-tiny

    depends_lib-append \
                    port:p${perl5.major}-http-message \
                    port:p${perl5.major}-json-maybexs \
                    port:p${perl5.major}-libwww-perl \
                    port:p${perl5.major}-lwp-protocol-https \
                    port:p${perl5.major}-uri \
                    port:p${perl5.major}-www-shorten
}
