# -*- 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-Errf 0.009
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         String::Errf - a simple sprintf-like dialect
long_description    ${description}

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  87e14d43b8aa3994f5f31485e2926519ba40b137 \
                    sha256  e1fedbf9b4fd64b64ea81038ddb76a4c6cd85f5db15bc21f10656a298349dc1f \
                    size    22161

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-json-maybexs \
                    port:p${perl5.major}-timedate

    depends_lib-append \
                    port:p${perl5.major}-params-util \
                    port:p${perl5.major}-string-formatter \
                    port:p${perl5.major}-sub-exporter \
                    port:p${perl5.major}-time-piece
}
