# -*- 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-VersionFromMainModule 0.04
revision            0
license             {Artistic-1 GPL}
maintainers         {devans @dbevans} openmaintainer
description         Dist::Zilla::Plugin::VersionFromMainModule - Set the distribution version from your main module's VERSION
long_description    ${description}

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  f32feb39efce48b9c81ecb772375534301bd5759 \
                    sha256  8bbb3d8d0e972d1d81c626a8a4edcc5e65e37e9f9fa35ba50d73228f8d3378ec \
                    size    26063

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-path-tiny \
                    port:p${perl5.major}-test-deep \
                    port:p${perl5.major}-test-fatal


    depends_lib-append \
                    port:p${perl5.major}-dist-zilla \
                    port:p${perl5.major}-dist-zilla-role-modulemetadata \
                    port:p${perl5.major}-moose \
                    port:p${perl5.major}-namespace-autoclean
}