# -*- 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-MockModule v0.185.1 ../../authors/id/G/GF/GFRANKS
revision            0
maintainers         nomaintainer
license             {Artistic-1 GPL}
description         Test::MockModule - Override subroutines in a module for unit testing
long_description    {*}${description}

supported_archs     noarch
platforms           {darwin any}

checksums           rmd160  57c43c424a03dba428d1c6f6d4ec05827112e2b6 \
                    sha256  583ddc0931e464df2f73f615db072a62cd2d9db14c380ab0e1d230801104fca3 \
                    size    52137

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-class-load \
                    port:p${perl5.major}-moose \
                    port:p${perl5.major}-mouse \
                    port:p${perl5.major}-test-exception \
                    port:p${perl5.major}-test-warnings

    depends_lib-append \
                    port:p${perl5.major}-super

    perl5.use_module_build
}
