# -*- 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.0 ../../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  4c139f8e72c852e7f4763161d2bb072f4b5af91b \
                    sha256  4db0f552487a2f55c0ee19cec9107eeb4fedc31d92c8a59e4b7a64648f17121b \
                    size    51915

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
}
