# -*- 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 76332 2011-02-20 09:53:25Z jmr@macports.org $

PortSystem 1.0

name            libevent1
version         1.4.14b
categories      devel
license         BSD
maintainers     nomaintainer
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        libevent-${version}-stable
dist_subdir     libevent
checksums       sha1 4a834364c28ad652ddeb00b5f83872506eede7d4
patchfiles      patch-test__test.sh
configure.args  --mandir=${prefix}/share/man \
                --program-suffix=-1.4 \
                --includedir=${prefix}/include/${name} \
                --libdir=${prefix}/lib/${name}

test.run        yes
test.target     verify

livecheck.type  regex
livecheck.regex libevent-(1\\.(?:\\.\\d+)*)-stable
