# -*- 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$ PortSystem 1.0 name libtorrent-devel conflicts libtorrent set real_name libtorrent version 0.13.3 categories net platforms darwin 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. homepage http://libtorrent.rakshasa.no/ master_sites ${homepage}downloads/ dist_subdir ${real_name} distname ${real_name}-${version} checksums rmd160 f6661b5f56918214788e79b5fa94f579ac8e441d \ sha256 34317d6783b7f8d0805274c9467475b5432a246c0de8e28fc16e3b0b43f35677 depends_build port:pkgconfig depends_lib port:openssl \ port:libsigcxx2 configure.args --disable-debug \ --enable-ipv6 \ --with-kqueue compiler.blacklist gcc-4.0 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} } if {${os.platform} eq "darwin" && ${os.major} <= 9} { patchfiles-append no_posix_memalign.patch } livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.regex ${real_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}