# $Id: Portfile 84670 2011-09-29 11:45:51Z jmr@macports.org $

PortSystem            1.0
PortGroup             perl5 1.0

perl5.setup           namespace-autoclean 0.12 ../by-authors/id/B/BO/BOBTFISH/
revision              3
license               {Artistic-1 GPL}
maintainers           nomaintainer
supported_archs       noarch

description           Keep imports out of your namespace
long_description      ${description}

platforms             darwin

checksums             md5 6c433fdcb070eec03e20b1e2d34bbf12 \
                      sha1 73f00f38e51f4806146656d36fa11fa62ecb31c7 \
                      rmd160 2f12ff66056b455eaa7d820a901608f162e9e302

if {${perl5.major} != ""} {
depends_lib-append    port:p${perl5.major}-b-hooks-endofscope \
                      port:p${perl5.major}-class-mop \
                      port:p${perl5.major}-namespace-clean \
                      port:p${perl5.major}-sub-name \
                      port:p${perl5.major}-moose
}
