# -*- 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         Test-Perl-Critic 1.04
license             {Artistic-1 GPL}
maintainers         nomaintainer

description         Use Perl::Critic in test programs
long_description    ${description}

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  2705698e3ee74b1672afe2e7ebd4f8f98c4d914f \
                    sha256  28f806b5412c7908b56cf1673084b8b44ce1cb54c9417d784d91428e1a04096e \
                    size    22140

if {${perl5.major} != ""} {
    depends_lib-append \
                    port:p${perl5.major}-mce \
                    port:p${perl5.major}-perl-critic

    perl5.use_module_build
}
