source: trunk/dports/devel/libevent/Portfile @ 139229

Last change on this file since 139229 was 139229, checked in by jeremyhu@…, 4 years ago

misc: Change port:openssl dependency to path:lib/libssl.dylib:openssl

This should allow usage of libressl as a replacement for openssl in relevant
ports. Not all ports have been tested, but libressl aims for API
compatibility with OpenSSL, so it is expected to work.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 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 139229 2015-08-08 03:10:35Z jeremyhu@macports.org $
3
4PortSystem          1.0
5
6name                libevent
7version             2.0.22
8revision            1
9categories          devel
10platforms           darwin
11license             BSD
12maintainers         nomaintainer
13
14description         An event notification library
15long_description    The libevent API provides a mechanism to execute \
16                    a callback function when a specific event occurs \
17                    on a file descriptor or after a timeout has been \
18                    reached. Furthermore, libevent also support \
19                    callbacks due to signals or regular timeouts.
20homepage            http://monkey.org/~provos/libevent/
21
22depends_lib         path:lib/libssl.dylib:openssl
23
24set branch [join [lrange [split ${version} .] 0 1] .]
25master_sites        sourceforge:levent/libevent/libevent-${branch}
26distname            ${name}-${version}-stable
27
28checksums           rmd160  6a7e8e3ebcfd2227fa807a604b5c773c90c8b8cc \
29                    sha256  71c2c49f0adadacfdbe6332a372c38cf9c8b7895bb73dabeaa53cdcc1d4e1fa3
30
31# Don't accidentally create flat-namespace dylibs on Yosemite (#44596).
32patchfiles          yosemite-libtool.patch
33
34test.run            yes
35test.target         verify
36
37livecheck.type      regex
38livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*)-stable
Note: See TracBrowser for help on using the repository browser.