# -*- 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.184.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  ae0692cb7bab5ffcbdb1d51e360367cff621bf3e \
                    sha256  07391964d7588b440cada69613054aff37cd8ff618df79ca1066365ae46ad638 \
                    size    45702

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
}
