# $Id: Portfile 84667 2011-09-29 11:40:01Z jmr@macports.org $

PortSystem            1.0
PortGroup             perl5 1.0

perl5.setup           MooseX-Types 0.25
revision              3
license               {Artistic-1 GPL}
maintainers           nomaintainer
supported_archs       noarch

description           Organise your Moose types in libraries
long_description      The types provided with Moose are by design global. \
                      This package helps you to organise and selectively \
                      import your own and the built-in types in libraries. \
                      As a nice side effect, it catches typos at \
                      compile-time too.

platforms             darwin

checksums             md5 414a29497228c24a510fe299445b5ca2 \
                      sha1 9d122b0641a65e8af5c50b4279f0831bc1e346c2 \
                      rmd160 cce5f0222fe4d9bbc99a5126480eb25c56dda04b

if {${perl5.major} != ""} {
depends_lib-append    port:p${perl5.major}-test-fatal \
                      port:p${perl5.major}-test-simple \
                      port:p${perl5.major}-test-requires \
                      port:p${perl5.major}-moose \
                      port:p${perl5.major}-scalar-list-utils \
                      port:p${perl5.major}-carp-clan \
                      port:p${perl5.major}-sub-install \
                      port:p${perl5.major}-sub-name \
                      port:p${perl5.major}-namespace-clean
}
