# -*- 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 54377 2009-07-25 21:09:21Z toby@macports.org $

PortSystem 1.0

name            libevent
version         1.4.12
categories      devel
maintainers     brett
description     asynchronous event 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.libevent is meant to replace the asynchronous event \
    loop found in event driven network servers. An application just \
    needs to call event_dispatch() and can then add or remove events \
    dynamically without having to change the event loop.
homepage        http://monkey.org/~provos/libevent/
platforms       darwin
master_sites    http://monkey.org/~provos/
distname        ${name}-${version}-stable
checksums       sha1 ad5013cf5646e6fc6d0b832c0284b35086250c8b
patchfiles      patch-test__test.sh
configure.args  --mandir=${prefix}/share/man

test.run        yes
test.target     verify

livecheck.check regex
livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)-stable
