# -*- 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         MooseX-Types 0.51
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 any}

checksums           rmd160  0e7c396d8a0a05a956ebe4303cc486610712fa71 \
                    sha256  a5374c7b0273220239b19dda88b824dd73b95398c913c5c9e305edbdb5e0270f \
                    size    57567

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-module-build-tiny \
                    port:p${perl5.major}-test-fatal \
                    port:p${perl5.major}-test-needs \
                    port:p${perl5.major}-test-requires

    depends_lib-append \
                    port:p${perl5.major}-carp-clan \
                    port:p${perl5.major}-module-runtime \
                    port:p${perl5.major}-moose \
                    port:p${perl5.major}-namespace-autoclean \
                    port:p${perl5.major}-scalar-list-utils \
                    port:p${perl5.major}-sub-exporter \
                    port:p${perl5.major}-sub-exporter-formethods

    perl5.use_module_build
}
