# -*- 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.171 ../../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  c1408dfeb4c31e0c63a20f2d75d4b984565d85cf \
                    sha256  6c3742aa3038b8d80e771d3c7987597c28d0a6325309f0950c4b628b0e298da3 \
                    size    193574

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
}
