# -*- 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         Proc-Guard 0.07
revision            0
license             {Artistic-1 GPL}
maintainers         {devans @dbevans} openmaintainer
description         Proc::Guard - run a process and destroy it when the perl script exits
long_description    ${description}. This is useful for testing code working with a server process.

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  b6ddaef7193a618970d9f5b24ad25c0ae6322cd1 \
                    sha256  6feae8bce21c1dcdd1baa636d5f87be29084e827b338194f672b23197b4150a4 \
                    size    11725

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-file-which \
                    port:p${perl5.major}-test-requires \
                    port:p${perl5.major}-test-tcp

    depends_lib-append \
                    port:p${perl5.major}-class-accessor-lite

    perl5.use_module_build
}
