source: trunk/dports/devel/libevent1/Portfile

Last change on this file was 152587, checked in by ryandesign@…, 15 months ago

libevent, libevent1: fix the version field!

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# -*- 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
2# $Id: Portfile 152587 2016-09-12 19:52:54Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7name                libevent1
8github.setup        libevent libevent 1.4.15-stable release-
9version             [lindex [split ${version} -] 0]
10categories          devel
11platforms           darwin
12license             BSD
13maintainers         nomaintainer
14
15description         asynchronous event library
16
17long_description    The libevent API provides a mechanism to execute \
18                    a callback function when a specific event occurs \
19                    on a file descriptor or after a timeout has been \
20                    reached. libevent is meant to replace the \
21                    asynchronous event loop found in event driven \
22                    network servers. An application just needs to call \
23                    event_dispatch() and can then add or remove events \
24                    dynamically without having to change the event loop.
25
26homepage            http://libevent.org
27dist_subdir         libevent
28
29checksums           rmd160  5813137c24a6581fb530858e6c45ce48c6a9edbe \
30                    sha256  92fa504d8f275b7aaceab87f65f0e039c08b1e511acda04cf3822a6e534ab879
31
32depends_build       port:autoconf \
33                    port:automake \
34                    port:libtool
35
36post-extract {
37    move ${worksrcpath}/configure.in ${worksrcpath}/configure.ac
38}
39
40patchfiles          patch-test__test.sh
41
42patchfiles-append   patch-sierra-kqueue.diff
43
44use_autoreconf      yes
45autoreconf.cmd      ./autogen.sh
46
47configure.args      --program-suffix=-1.4 \
48                    --includedir=${prefix}/include/${name} \
49                    --libdir=${prefix}/lib/${name}
50
51test.run            yes
52test.target         verify
53
54livecheck.url       ${homepage}
55livecheck.version   ${version}
56livecheck.type      regex
57livecheck.regex     libevent-(1(?:\\.\\d+)*)-stable
Note: See TracBrowser for help on using the repository browser.