# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $ PortSystem 1.0 name libtorrent set real_name libtorrent version 0.12.2 categories net platforms darwin maintainers gmail.com:gardnermj 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/ distname ${real_name}-${version} checksums md5 0831ca06f8906c7898fd67931ab239c7 \ sha1 a53d2c671e9f2dd971d0622d5b3672da91c46ef9 \ rmd160 88cdc415f98afd8b87fa6d7330906737c3e434fa depends_build port:zlib \ port:pkgconfig depends_lib port:openssl \ port:libsigcxx2 configure.args --disable-debug \ --enable-ipv6 post-destroot { set docdir ${prefix}/share/doc/${real_name}-${version} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \ ${destroot}${docdir} } livecheck.check regex livecheck.url ${homepage} livecheck.regex ${real_name}-(\\d+(?:\\.\\d+)*)