# -*- 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         CatalystX-Component-Traits 0.19
revision            4
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         Automatic Trait Loading and Resolution for Catalyst Components
long_description    Adds a "COMPONENT" in Catalyst::Component method to your \
                    Catalyst component base class that reads the optional \
                    traits parameter from app and component config and \
                    instantiates the component subclass with those traits \
                    using "new_with_traits" in MooseX::Traits from \
                    MooseX::Traits::Pluggable.

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  269e4258c3f83559f1ca9281fc072ee42a209dcd \
                    sha256  084944e9c9d0dfb10d4ab3453e1c125fdee39129b46d17c0234c3c5351640447

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-moosex-methodattributes

    depends_lib-append \
                    port:p${perl5.major}-catalyst-runtime \
                    port:p${perl5.major}-class-load \
                    port:p${perl5.major}-list-moreutils \
                    port:p${perl5.major}-moose \
                    port:p${perl5.major}-moosex-traits-pluggable \
                    port:p${perl5.major}-namespace-autoclean
}
