# -*- 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-MockTime-HiRes 0.08
revision            0
license             {Artistic-1 GPL}
maintainers         {devans @dbevans} openmaintainer
description         Test::MockTime::HiRes - Replaces actual time with simulated high resolution time
long_description    ${description}

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  acf2f0f266794937d49484a4330073bcb966c4a6 \
                    sha256  5f49f7aef895d327dafdf2744f39c176c8ab0e4b8227d2d6e3de689a259bdec1 \
                    size    11191

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-module-build-tiny \
                    port:p${perl5.major}-test-class \
                    port:p${perl5.major}-test-requires
                    

    depends_lib-append \
                    port:p${perl5.major}-test-mocktime \
                    port:p${perl5.major}-test-simple \
                    port:p${perl5.major}-time-hires

    perl5.use_module_build
}
