# -*- 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
# $Id: Portfile 105418 2013-04-19 22:46:06Z macsforever2000@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

perl5.branches      5.8 5.10 5.12 5.14 5.16
perl5.setup         Class-Load-XS 0.06

platforms           darwin
maintainers         nomaintainer
license             {Artistic-2 GPL}

supported_archs     noarch

description         XS implementation of parts of Class::Load

long_description    ${description}

checksums           rmd160 b063f788f4db4c17fb94e307a796c50f965ab335 \
                    sha256 338232719c6646e4d411954feb30b3db5bb5b024a277fc644e5270676d1a87b6

if {${perl5.major} != ""} {
    depends_build-append \
                        port:p${perl5.major}-module-implementation \
                        port:p${perl5.major}-test-fatal \
                        port:p${perl5.major}-test-requires
    
    depends_lib-append  port:p${perl5.major}-class-load
}

perl5.use_module_build
