# -*- 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         Class-C3-Componentised 1.001002
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         Load mix-ins or components to your C3-based class.
long_description    This will inject base classes to your module \
                    using the Class::C3 method resolution order.

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  522637d512c17584be7e36d01386d0106e5e6c28 \
                    sha256  3051b146dc1efeaea1a9a2e9e6b1773080995b898ab583f155658d5fc80b9693 \
                    size    9742

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

    depends_lib-append \
                    port:p${perl5.major}-class-c3 \
                    port:p${perl5.major}-class-inspector \
                    port:p${perl5.major}-mro-compat
}
