# -*- 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
# $Id: Portfile 105135 2013-04-11 17:20:03Z macsforever2000@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

perl5.branches      5.8 5.10 5.12 5.14 5.16
perl5.setup         MooseX-Types 0.35
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           rmd160  5ca9aca5c4d1c4d68edfd8942e925515ceb695f2 \
                    sha256  0a75eae63eeb8d1316d892d4c6e548802955827d0c1cb99747627079d3abca86

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
}
