Revision
75406
Author
yeled@macports.org
Date
2011-01-24 08:27:40 -0800 (Mon, 24 Jan 2011)

Log Message

import libevent2

Added Paths

Diff

Added: trunk/dports/devel/libevent2/Portfile (0 => 75406)


--- trunk/dports/devel/libevent2/Portfile	                        (rev 0)
+++ trunk/dports/devel/libevent2/Portfile	2011-01-24 16:27:40 UTC (rev 75406)
@@ -0,0 +1,34 @@
+# -*- 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 69070 2010-06-23 05:04:44Z toby@macports.org $
+
+PortSystem 1.0
+
+name            libevent2
+set my_name     [strsed ${name} {g/[0-9]//}]
+version         2.0.10
+conflicts       libevent
+categories      devel
+maintainers     yeled
+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        ${my_name}-${version}-stable
+checksums           md5     a37401d26cbbf28185211d582741a3d4 \
+                    sha1    21e26de201d55f47f9b340b014bd3b7a7d8b1f69 \
+                    rmd160  4a81ceda5fec37070b096c2a85f0e5ea22991a11
+#patchfiles      patch-test__test.sh
+configure.args  --mandir=${prefix}/share/man
+
+test.run        yes
+test.target     verify
+
+livecheck.type  regex
+livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)-stable