# -*- 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         String-TtyLength 0.03
revision            0
license             {Artistic-1 GPL}
maintainers         {devans @dbevans} openmaintainer
description         String::TtyLength - length or width of string excluding ANSI tty codes
long_description    {*}${description}

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  7d01efcbcf3763c393d0242d8f148c3dced51f74 \
                    sha256  4fedaf72028511d80eb6afba523993e9aaa245d7af558345d5d4ed46e2e82ce1 \
                    size    10967

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

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