# -*- 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         IO-Socket-Timeout 0.32

platforms           {darwin any}
maintainers         nomaintainer
license             {Artistic-1 GPL}
supported_archs     noarch

description         IO::Socket with read/write timeout
long_description    ${description}

checksums           rmd160  32369631d3fb77df0f2cd87985cd9f4ad17a2ab2 \
                    sha256  edf915d6cc66bee43503aa6dc2b373366f38eaff701582183dad10cb8adf2972

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

    depends_lib-append \
                    port:p${perl5.major}-perlio-via-timeout

    perl5.use_module_build
}
