# $Id: Portfile 84444 2011-09-26 11:14:03Z jmr@macports.org $

PortSystem            1.0
PortGroup             perl5 1.0

perl5.setup           Class-C3 0.23
revision              3
license               {Artistic-1 GPL}
maintainers           nomaintainer
supported_archs       noarch

description           A pragma to use the C3 method resolution order algortihm
long_description      This is 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

checksums             md5 5b997841af85a5f8ed8add7120d56611 \
                      sha1 7534d2f0e535974c1df23e2bfdedb91c1541760b \
                      rmd160 71b792b9d17bf7f556b4036c6b64dff35d700867

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