1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name libtorrent |
---|
6 | set real_name libtorrent |
---|
7 | version 0.12.5 |
---|
8 | categories net |
---|
9 | platforms darwin |
---|
10 | maintainers gmail.com:gardnermj |
---|
11 | description BitTorrent library |
---|
12 | |
---|
13 | long_description \ |
---|
14 | libTorrent is a BitTorrent library written in C++ for \ |
---|
15 | *nix. It is designed to avoid redundant copying and \ |
---|
16 | storing of data that other clients and libraries suffer from. |
---|
17 | |
---|
18 | homepage http://libtorrent.rakshasa.no/ |
---|
19 | master_sites ${homepage}downloads/ |
---|
20 | distname ${real_name}-${version} |
---|
21 | |
---|
22 | checksums md5 fe8155d364b220713074423100d4bf29 \ |
---|
23 | sha1 05a60581c6b1a94e2a07d1a07e47b8c60d2e237c \ |
---|
24 | rmd160 645ae77a23c77c1d2134431b182cb206ab254259 |
---|
25 | |
---|
26 | depends_build port:zlib \ |
---|
27 | port:pkgconfig |
---|
28 | |
---|
29 | depends_lib port:openssl \ |
---|
30 | port:libsigcxx2 |
---|
31 | |
---|
32 | configure.args --disable-debug \ |
---|
33 | --enable-ipv6 \ |
---|
34 | --with-kqueue |
---|
35 | |
---|
36 | post-destroot { |
---|
37 | set docdir ${prefix}/share/doc/${real_name}-${version} |
---|
38 | xinstall -d ${destroot}${docdir} |
---|
39 | xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \ |
---|
40 | ${destroot}${docdir} |
---|
41 | } |
---|
42 | |
---|
43 | livecheck.check regex |
---|
44 | livecheck.url ${homepage} |
---|
45 | livecheck.regex ${real_name}-(\\d+(?:\\.\\d+)*) |
---|