# -*- 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         GDGraph 1.56 ../../authors/id/B/BP/BPS
license             {Artistic-1 GPL}
maintainers         nomaintainer

description         Graph Plotting Module for Perl 5
long_description    This is GDGraph, a package to generate charts, using \
                    Lincoln Stein's GD.pm. See the documentation for \
                    some history and more information.

homepage            https://metacpan.org/release/BPS/${perl5.module}-${perl5.moduleversion}

checksums           rmd160  89c95e92df005e0e9bfd4fb42db846be0f9669dc \
                    sha256  6f49cc4e59015480db9c9b6b18afd8c50be30886687b69411513d06f38971113 \
                    size    163410

platforms           {darwin any}
supported_archs     noarch

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-capture-tiny \
                    port:p${perl5.major}-test-exception

    depends_lib-append \
                    port:p${perl5.major}-gd \
                    port:p${perl5.major}-gdtextutil
}

livecheck.type      regex
livecheck.url       https://cpan.metacpan.org/authors/id/B/BP/BPS
livecheck.regex     "${perl5.module}-(\\d+(?:\\.\\d+)*)"
