# -*- 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 61483 2009-12-12 21:43:59Z toby@macports.org $

PortSystem 1.0

name            libevent
version         1.4.13
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 b0c4e9801b74f8bed1502353674288a5e4f1ca16
patchfiles      patch-test__test.sh
configure.args  --mandir=${prefix}/share/man

test.run        yes
test.target     verify

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