# -*- 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: Portfile 84769 2011-10-01 10:43:10Z mww@macports.org $

PortSystem 1.0

name            libev
epoch           1
version         4.04
categories      devel
maintainers     brett openmaintainer
license         {BSD GPL-2+}
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
platforms       darwin
master_sites        http://dist.schmorp.de/libev/Attic/
checksums           sha1    7768c2bcce30dbf76672e51642a655479dd45772 \
                    rmd160  cd82228834c51cf152a0214b77a57b0359aead7b
configure.args      --mandir=${prefix}/share/man

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


test.run        yes
test.target     verify

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