# -*- 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-Simple 1.302225 ../../authors/id/E/EX/EXODIST
revision            0
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         Test::Simple - Basic utilities for writing tests.
long_description    {*}${description}

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  e80e2fb1189a15848aadd190090256e0df21c4dd \
                    sha256  9b5eefd82a9544582d43d2fb4e3d07e3f97d93293568593b41ad5010afccc785 \
                    size    591462

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-json-maybexs

    depends_lib-append \
                    port:p${perl5.major}-data-dumper \
                    port:p${perl5.major}-term-table \
                    port:p${perl5.major}-time-hires

    # https://trac.macports.org/ticket/70547
    # depends_lib-append \
    #               port:p${perl5.major}-module-pluggable

    notes-append    "$subport can optionally use\
                    p${perl5.major}-module-pluggable,\
                    but does not depend on it to avoid a dependency cycle."
}
