# -*- 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 # $Id: Portfile 146517 2016-03-10 17:49:28Z raimue@macports.org $ PortSystem 1.0 name libtorrent conflicts libtorrent-devel version 0.13.2 revision 1 categories net platforms darwin maintainers gmail.com:stuartwesterman openmaintainer license {GPL-2+ OpenSSLException} description BitTorrent library 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. homepage http://libtorrent.rakshasa.no/ master_sites ${homepage}downloads/ checksums rmd160 090e6af9b4318a6176064159f6a8f70ab708c7fe \ sha256 ed2f2dea16c29cac63fa2724f6658786d955f975861fa6811bcf1597ff8a5e4f depends_build port:pkgconfig depends_lib path:lib/libssl.dylib:openssl \ port:libsigcxx2 configure.args --disable-debug \ --enable-ipv6 \ --with-kqueue compiler.blacklist gcc-4.0 post-destroot { set docdir ${prefix}/share/doc/${name} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \ ${destroot}${docdir} } if {${os.platform} eq "darwin" && ${os.major} <= 9} { # currently broken, ticket #27289 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 } livecheck.type regex livecheck.url ${homepage} livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)