# -*- 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         GD-Barcode 2.02 ../../authors/id/M/MI/MICHIELB
revision            0
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         GD::Barcode - Create barcode image with GD
long_description    {*}${description}

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  9173001ff09c58f4a1cc389b6e76d1fe453cac08 \
                    sha256  1384dbbe99513d17a16045e6f659110a6dcd11a7a445114a42518bcef08bd2a6 \
                    size    895728

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

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

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