# -*- 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         Astro-SpaceTrack 0.172 ../../authors/id/W/WY/WYANT
revision            0
license             {Artistic-1 GPL}
maintainers         {devans @dbevans} openmaintainer
description         Astro::SpaceTrack - Retrieve orbital data from www.space-track.org
long_description    {*}${description}

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  a7b8b072a1df7b44a2d46a500d736751e5142a26 \
                    sha256  500a1e20c2ba50311522db6c25198123a862322da810c30ee17f1e45895ab49e \
                    size    192872

if {${perl5.major} != ""} {
    depends_lib-append \
                    port:p${perl5.major}-browser-open \
                    port:p${perl5.major}-config-identity \
                    port:p${perl5.major}-http-date \
                    port:p${perl5.major}-http-message \
                    port:p${perl5.major}-io-compress \
                    port:p${perl5.major}-json \
                    port:p${perl5.major}-libwww-perl \
                    port:p${perl5.major}-lwp-protocol-https \
                    port:p${perl5.major}-text-parsewords \
                    port:p${perl5.major}-uri

    test.env-append AUTOMATED_TESTING=1

    perl5.use_module_build
}
