# -*- 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 119658 2014-05-03 06:43:14Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

epoch               2
perl5.branches      5.8 5.10 5.12 5.14 5.16 5.18
perl5.setup         Module-Build 0.4205
license             {Artistic GPL}
maintainers         nomaintainer
supported_archs     noarch

description         Build and install perl modules (MakeMaker replacement)

long_description    Module::Build is a system for building, testing, \
                    and installing Perl modules. It is meant to be an \
                    alternative to ExtUtils::MakeMaker. Developers \
                    may alter the behavior of the module through \
                    subclassing in a much more straightforward way than \
                    with MakeMaker. It also does not require a make on \
                    your system - most of the Module::Build code is \
                    pure-perl and written in a very cross-platform way.

platforms           darwin

checksums           rmd160  107dda899c64205cbd17aa04453885758f7e7ed5 \
                    sha256  1e7a597607329db642ad68ddde00c8f48d6f660ced6d2dff4c99c84e0dd1f501

if {${perl5.major} != ""} {
depends_build-append \
                    port:p${perl5.major}-parse-cpan-meta

depends_lib-append  port:p${perl5.major}-yaml \
                    port:p${perl5.major}-cpan-meta \
                    port:p${perl5.major}-extutils-cbuilder \
                    port:p${perl5.major}-module-metadata \
                    port:p${perl5.major}-parse-cpan-meta \
                    port:p${perl5.major}-perl-ostype \
                    port:p${perl5.major}-podlators \
                    port:p${perl5.major}-version

perl5.use_module_build

depends_lib-delete  port:p${perl5.major}-module-build
}

perl5.link_binaries no
