# -*- 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 PortSystem 1.0 PortGroup github 1.0 PortGroup openssl 1.0 github.setup rakshasa libtorrent 91f8cf4b0358d9b4480079ca7798fa7d9aec76b5 version 20230316 revision 0 name libtorrent-devel conflicts libtorrent set real_name libtorrent categories net maintainers nomaintainer license {GPL-2+ OpenSSLException} description BitTorrent library (unstable release) long_description libTorrent is a BitTorrent library written in C++ for \ *nix. It is designed to avoid redundant copying and \ storing of data that other clients and libraries suffer from. \ This is the "unstable" release of libTorrent. checksums rmd160 4eb674b37eac0ab8561cf1496cc4b989326e65c2 \ sha256 3d9a0df0a882dbce755aab7229bb733e6c9bd1f420780bacc6bc1c014110cf6e \ size 387414 github.tarball_from archive use_autoreconf yes # malformed object (unknown load command 2) if {${os.platform} eq "darwin" && ${os.major} <= 10} { depends_build-append port:cctools } depends_lib-append port:libsigcxx2 compiler.cxx_standard 2011 configure.args --disable-debug \ --with-kqueue post-destroot { set docdir ${prefix}/share/doc/${real_name} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \ ${destroot}${docdir} } # FIXME: 32-bit systems need to switch to C++11 atomics instead of __sync* builtins: # https://github.com/rakshasa/libtorrent/issues/163 # Once done, perhaps 10.5 can be also enabled back. if {${os.platform} eq "darwin" && ${os.major} <= 9} { # currently broken, ticket #27289 known_fail yes pre-fetch { return -code error "$name currently cannot be compiled on Mac OS X 10.5 or earlier." } # clear deps so users don't waste time installing them for a broken port depends_lib depends_build patchfiles-append no_posix_memalign.patch }