# $Id: Portfile 84855 2011-10-03 17:58:27Z jmr@macports.org $

PortSystem            1.0
PortGroup             perl5 1.0

perl5.setup           Class-C3-Componentised 1.0006
revision              2
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

checksums             md5 daea1eb95cdeda8752b472e5fe6a4c86 \
                      sha1 6bd966e7c4865e1acf15e8179cd8cc8fccbe3054 \
                      rmd160 08a8c4c636b1a8d234687d74972ef0965b6d65ba

if {${perl5.major} != ""} {
depends_lib-append    port:p${perl5.major}-class-c3 \
                      port:p${perl5.major}-class-inspector \
                      port:p${perl5.major}-mro-compat \
                      port:p${perl5.major}-test-exception
}
