# -*- 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         Danga-Socket 1.62
license             {Artistic-1 GPL}
categories          perl net
platforms           {darwin any}
maintainers         nomaintainer

description         Event loop and event-driven async socket base class
long_description    This is an abstract base class for objects backed by a socket which \
                    provides the basic framework for event-driven asynchronous IO, \
                    designed to be fast.  Danga::Socket is both a base class for objects, \
                    and an event loop. \
                    Callers subclass Danga::Socket.  Danga::Socket's constructor registers \
                    itself with the Danga::Socket event loop, and invokes callbacks on the \
                    object for readability, writability, errors, and other conditions.

checksums           rmd160  b285a94ab3804baba331ca278c6732e91a17ce90 \
                    sha256  953c3f787ef1a11d956b28084246ffe3fc0f80da8fcb14f48477025773dc8b74 \
                    size    21862

if {${perl5.major} != ""} {
# use Time::HiRes 1.9739+ for Sierra compatibility
    depends_lib-append \
                    port:p${perl5.major}-bsd-resource \
                    port:p${perl5.major}-io-aio \
                    port:p${perl5.major}-io-kqueue \
                    port:p${perl5.major}-sys-syscall \
                    port:p${perl5.major}-test-tcp \
                    port:p${perl5.major}-time-hires

    supported_archs noarch
}
