# -*- 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.170 ../../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  1996053d9c06745c6c7698b28ebe669aa663bc3a \
                    sha256  497086af6ce0a0eb82e50d36a4e742ba5142a942d23dc6e46e59f748441f0b64 \
                    size    193226

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
}
