# -*- 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

PortSystem          1.0
PortGroup           perl5 1.0

epoch               2
perl5.branches      5.28 5.30 5.32 5.34
perl5.setup         Module-Build 0.4234
revision            0
license             {Artistic-1 GPL}
maintainers         nomaintainer
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 any}
supported_archs     noarch

checksums           rmd160  d9b7d8084cf5c1e12f22635c9ad38cfcccd951d6 \
                    sha256  66aeac6127418be5e471ead3744648c766bd01482825c5b66652675f2bc86a8f \
                    size    311666

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

    depends_lib-append \
                    port:p${perl5.major}-cpan-meta \
                    port:p${perl5.major}-inc-latest \
                    port:p${perl5.major}-module-metadata \
                    port:p${perl5.major}-perl-ostype \
                    port:p${perl5.major}-podlators \
                    port:p${perl5.major}-software-license

    perl5.use_module_build

    # Don't depend on ourself.
    depends_build-delete \
                    port:p${perl5.major}-module-build
}

perl5.link_binaries no
