# -*- 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-RewritePrefix 0.009
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         rewrite strings based on a set of known prefixes
long_description    This rewrites all the given strings using the rules \
                    in %prefix. Its keys are known prefixes for which \
                    its values will be substituted. This is performed \
                    in longest-first order, and only one prefix will \
                    be rewritten.

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  2b955c1d0b405dd4cfaa73d0f1fe8670816e4cb1 \
                    sha256  44918bec96a54af8ca37ca897e436709ec284a07b28516ef3cce4666869646d5 \
                    size    17175

if {${perl5.major} != ""} {
    depends_lib-append \
                    port:p${perl5.major}-sub-exporter
}
