# -*- 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-Test-Compile 2.059 ../../authors/id/E/ET/ETHER
revision            0
license             {Artistic-1 GPL}
maintainers         {devans @dbevans} openmaintainer
description         Dist::Zilla::Plugin::Test::Compile - Common tests to check syntax of your modules
long_description    {*}${description}

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  09f2aa81cb8662436855fd45357859bc4e7bcb05 \
                    sha256  e1e2212efac068d62bc5e7a8104c4f1aeb97027f58cf37e4a8e589f9ea37eb9b \
                    size    45779

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-cpan-meta-check \
                    port:p${perl5.major}-module-build-tiny \
                    port:p${perl5.major}-perl-prereqscanner \
                    port:p${perl5.major}-test-deep \
                    port:p${perl5.major}-test-minimumversion \
                    port:p${perl5.major}-test-warnings

    depends_lib-append \
                    port:p${perl5.major}-data-section \
                    port:p${perl5.major}-dist-zilla \
                    port:p${perl5.major}-moose \
                    port:p${perl5.major}-namespace-autoclean \
                    port:p${perl5.major}-path-tiny \
                    port:p${perl5.major}-sub-exporter-formethods

    perl5.use_module_build
}
