# -*- 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-Simple 0.02

platforms           {darwin any}
maintainers         nomaintainer
license             {Artistic-1 GPL}

description         Factory wrapper around WWW::Shorten to avoid imports

long_description    ${description}

checksums           rmd160  1b76b5b7557066920d851d7649c45a6a3ad5d668 \
                    sha256  3c565904bf5dbfe101212766d32d8c5696afe668fb4b412f7978ae8d7a7eeb4c \
                    size    10054

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

    depends_lib-append \
                    port:p${perl5.major}-www-shorten

    perl5.use_module_build
    supported_archs noarch
}
