# -*- 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
# $Id$

PortSystem          1.0
PortGroup           muniversal 1.0

name                libev
epoch               1
version             4.22
revision            0
categories          devel net
platforms           darwin
license             {BSD GPL-2+}

maintainers         stromnov openmaintainer

description         asynchronous event library

long_description    libev is a full-featured and high-performance event \
                    loop that is loosely modelled after libevent.

homepage            http://software.schmorp.de/pkg/libev.html
master_sites        http://dist.schmorp.de/libev/Attic/

checksums           rmd160  77d2d2a53da9fc07de8d14067c2e635efaa71347 \
                    sha256  736079e8ac543c74d59af73f9c52737b3bfec9601f020bf25a87a4f4d0f01bd6

patchfiles          patch-configure.ac.diff

use_autoreconf      yes
autoreconf.args     -fvi

post-destroot {
    move ${destroot}${prefix}/include/event.h ${destroot}${prefix}/include/ev-event.h
}

livecheck.type      regex
livecheck.url       http://dist.schmorp.de/libev/
livecheck.regex     ${name}-(\[0-9.\]+)\\.