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

perl5.branches      5.28 5.30 5.32 5.34
perl5.setup         Dist-Zilla-Plugin-ModuleBuildTiny-Fallback 0.027
revision            0
license             {Artistic-1 GPL}
maintainers         {devans @dbevans} openmaintainer
description         Dist::Zilla::Plugin::ModuleBuildTiny::Fallback - Generate a Build.PL \
                    that uses Module::Build::Tiny, falling back to Module::Build as needed
long_description    ${description}

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  45af9e0ed620fcbd36bb7157b6e7dce4694e5678 \
                    sha256  0a918ff686d9a8d9a4b1f78c01401d5a7aa921a7888f5f91373fab39bd928868 \
                    size    39716

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-dist-zilla \
                    port:p${perl5.major}-file-pushd \
                    port:p${perl5.major}-module-build-tiny \
                    port:p${perl5.major}-test-deep \
                    port:p${perl5.major}-test-fatal \
                    port:p${perl5.major}-test-needs \
                    port:p${perl5.major}-test-warnings

    depends_lib-append \
                    port:p${perl5.major}-dist-zilla-plugin-modulebuildtiny \
                    port:p${perl5.major}-moose \
                    port:p${perl5.major}-moosex-types \
                    port:p${perl5.major}-namespace-autoclean \
                    port:p${perl5.major}-path-tiny \
                    port:p${perl5.major}-type-tiny


    perl5.use_module_build
}
