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

PortSystem            1.0
PortGroup             perl5 1.0

perl5.setup           Class-MOP 1.12 ../by-authors/id/F/FL/FLORA/
revision              2
license               {Artistic-1 GPL}
maintainers           nomaintainer
description           A Meta Object Protocol for Perl 5
long_description      ${description}

platforms             darwin

checksums             md5 685edbc1f388362f48ec67701b67acf6 \
                      sha1 66ac64d98b618b26610ca1aa1dfa4215cb10e879 \
                      rmd160 5f99cf47f769c736fd89abbce485dd176b918a88

if {${perl5.major} != ""} {
depends_lib-append    port:p${perl5.major}-devel-globaldestruction \
                      port:p${perl5.major}-mro-compat \
                      port:p${perl5.major}-sub-name \
                      port:p${perl5.major}-task-weaken \
                      port:p${perl5.major}-package-deprecationmanager \
                      port:p${perl5.major}-package-stash \
                      port:p${perl5.major}-test-fatal \
                      port:p${perl5.major}-test-simple \
                      port:p${perl5.major}-try-tiny \
                      port:p${perl5.major}-data-optlist \
                      port:p${perl5.major}-list-moreutils \
                      port:p${perl5.major}-test-requires
}
