# -*- 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 0.35
license             {Artistic-1 GPL}
maintainers         nomaintainer
supported_archs     noarch

description         A pragma to use the C3 method resolution order algortihm
long_description    This is a pragma to change Perl 5's standard method \
                    resolution order from depth-first left-to-right \
                    (a.k.a - pre-order) to the more sophisticated C3 \
                    method resolution order.

platforms           {darwin any}

checksums           rmd160  84f057437f8aeb64dc344ea796986d114de601ae \
                    sha256  84053cf1a68fcc8c12056c2f120adf04f7f68e3be34f4408e95d026fee67e33e \
                    size    34534

if {${perl5.major} != ""} {
    depends_lib-append  \
                    port:p${perl5.major}-algorithm-c3 \
                    port:p${perl5.major}-class-c3-xs
}
