# -*- 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           github 1.0

github.setup        libevent libevent 2.1.13 release- -stable
revision            0
checksums           rmd160  2a95bd9ed33c92334d5beb110d6239b9c970f2ee \
                    sha256  f7e9383b8c0baa81b687e5b5eecc01beefaf1b19b64151d95ed61647fe7a315c \
                    size    1126525

categories          devel
platforms           darwin
license             BSD
maintainers         {gmail.com:jerryyhom @jerryyhom} openmaintainer

description         An event notification library

long_description    The libevent API provides a mechanism to execute \
                    a callback function when a specific event occurs \
                    on a file descriptor or after a timeout has been \
                    reached. Furthermore, libevent also support \
                    callbacks due to signals or regular timeouts.

homepage            http://libevent.org
github.tarball_from releases
distname            ${name}-${version}${github.tag_suffix}

conflicts           libev-libevent-compat

depends_lib         path:lib/libssl.dylib:openssl

patchfiles          patch-libressl-compat.diff

configure.args      --disable-silent-rules

test.run            yes
test.target         verify
