# $Id: Portfile 67068 2010-04-28 11:17:34Z ryandesign@macports.org $

PortSystem            1.0
PortGroup             perl5 1.0

perl5.setup           String-RewritePrefix 0.005
maintainers           narf_tm openmaintainer
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

checksums             md5 d8239dcea15b43f07211451547d860f0 \
                      sha1 ae2f59db64e4f3d97274749a148ce2d4ba1aeaf5 \
                      rmd160 d7e9fbcfc6f2e1c053df81cbd62ee6f924153e40

depends_lib-append    port:p5-sub-exporter

if {[info exists supported_archs]} {
    supported_archs noarch
} else {
    universal_variant no
}
