source: trunk/dports/net/libtorrent/Portfile

Last change on this file was 146517, checked in by raimue@…, 21 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.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 146517 2016-03-10 17:49:28Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                libtorrent
7conflicts           libtorrent-devel
8version             0.13.2
9revision            1
10categories          net
11platforms           darwin
12maintainers         gmail.com:stuartwesterman openmaintainer
13license             {GPL-2+ OpenSSLException}
14
15description         BitTorrent library
16
17long_description    libTorrent is a BitTorrent library written in C++ for \
18                    *nix. It is designed to avoid redundant copying and \
19                    storing of data that other clients and libraries suffer from.
20
21homepage            http://libtorrent.rakshasa.no/
22master_sites        ${homepage}downloads/
23
24checksums           rmd160  090e6af9b4318a6176064159f6a8f70ab708c7fe \
25                    sha256  ed2f2dea16c29cac63fa2724f6658786d955f975861fa6811bcf1597ff8a5e4f
26
27depends_build       port:pkgconfig
28
29depends_lib         path:lib/libssl.dylib:openssl \
30                    port:libsigcxx2
31
32configure.args      --disable-debug \
33                    --enable-ipv6 \
34                    --with-kqueue
35
36compiler.blacklist  gcc-4.0
37
38post-destroot {
39    set docdir ${prefix}/share/doc/${name}
40    xinstall -d ${destroot}${docdir}
41    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \
42        ${destroot}${docdir}
43}
44
45if {${os.platform} eq "darwin" && ${os.major} <= 9} {
46    # currently broken, ticket #27289
47    pre-fetch {
48        return -code error "$name currently cannot be compiled on Mac OS X 10.5 or earlier."
49    }
50    # clear deps so users don't waste time installing them for a broken port
51    depends_lib
52    depends_build
53
54    patchfiles-append   no_posix_memalign.patch
55}
56
57livecheck.type      regex
58livecheck.url       ${homepage}
59livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.