1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name libtorrent |
---|
6 | set real_name libtorrent |
---|
7 | version 0.12.2 |
---|
8 | categories net |
---|
9 | platforms darwin |
---|
10 | maintainers gardnermj@gmail.com |
---|
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 0831ca06f8906c7898fd67931ab239c7 \ |
---|
23 | sha1 a53d2c671e9f2dd971d0622d5b3672da91c46ef9 \ |
---|
24 | rmd160 88cdc415f98afd8b87fa6d7330906737c3e434fa |
---|
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 | |
---|
35 | post-destroot { |
---|
36 | set docdir ${prefix}/share/doc/${real_name}-${version} |
---|
37 | xinstall -d ${destroot}${docdir} |
---|
38 | xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \ |
---|
39 | ${destroot}${docdir} |
---|
40 | } |
---|
41 | |
---|
42 | livecheck.check regex |
---|
43 | livecheck.url ${homepage} |
---|
44 | livecheck.regex ${real_name}-(\\d+(?:\\.\\d+)*) |
---|