# -*- 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.26 5.28
perl5.setup         Net-Twitter-Lite 0.12008
license             {Artistic-1 GPL}
maintainers         {gmail.com:blair.christensen @blairc} openmaintainer

description         A perl interface to the Twitter API
long_description    ${description}

checksums           rmd160  d6e7368c6c876e767d9fc2d7dd8182eeaec3b775 \
                    sha256  b2eabe1f2a3f2c64decd60f27bc3b46ee652560b024c4c568115616c8d4a468e

platforms           darwin

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-module-build-tiny \
                    port:p${perl5.major}-test-fatal
    
    depends_lib-append \
                    port:p${perl5.major}-http-message \
                    port:p${perl5.major}-json \
                    port:p${perl5.major}-libwww-perl \
                    port:p${perl5.major}-lwp-protocol-https \
                    port:p${perl5.major}-net-http \
                    port:p${perl5.major}-net-oauth \
                    port:p${perl5.major}-uri

    supported_archs noarch
    perl5.use_module_build
}
