source: trunk/dports/net/libtorrent-devel/Portfile

Last change on this file was 146517, checked in by raimue@…, 17 months ago

Mass rev-bump dependents of port openssl due to ABI change

Disabling SSLv2 in r146162 changed the ABI of the library, leading to loading
errors for binaries with references to SSLv2 symbols.

https://lists.macosforge.org/pipermail/macports-dev/2016-March/032531.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 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 146517 2016-03-10 17:49:28Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                libtorrent-devel
7conflicts           libtorrent
8set real_name       libtorrent
9version             0.13.3
10revision            1
11categories          net
12platforms           darwin
13maintainers         nomaintainer
14license             {GPL-2+ OpenSSLException}
15
16description         BitTorrent library (unstable release)
17
18long_description    libTorrent is a BitTorrent library written in C++ for \
19                    *nix. It is designed to avoid redundant copying and \
20                    storing of data that other clients and libraries suffer from. \
21                    This is the "unstable" release of libTorrent.
22
23homepage            http://libtorrent.rakshasa.no/
24master_sites        ${homepage}downloads/
25dist_subdir         ${real_name}
26distname            ${real_name}-${version}
27
28checksums           rmd160  f6661b5f56918214788e79b5fa94f579ac8e441d \
29                    sha256  34317d6783b7f8d0805274c9467475b5432a246c0de8e28fc16e3b0b43f35677
30
31depends_build       port:pkgconfig
32
33depends_lib         path:lib/libssl.dylib:openssl \
34                    port:libsigcxx2
35
36configure.args      --disable-debug \
37                    --enable-ipv6 \
38                    --with-kqueue
39
40compiler.blacklist  gcc-4.0
41
42post-destroot {
43    set docdir ${prefix}/share/doc/${real_name}
44    xinstall -d ${destroot}${docdir}
45    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \
46        ${destroot}${docdir}
47}
48
49if {${os.platform} eq "darwin" && ${os.major} <= 9} {
50    patchfiles-append   no_posix_memalign.patch
51}
52
53livecheck.type      regex
54livecheck.url       [lindex ${master_sites} 0]
55livecheck.regex     ${real_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.