1 | # $Id: Portfile 40956 2008-10-19 01:22:34Z raimue@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name libtorrent-devel |
---|
6 | set real_name libtorrent |
---|
7 | version 0.12.4 |
---|
8 | categories net |
---|
9 | platforms darwin |
---|
10 | maintainers gardnermj@gmail.com |
---|
11 | description BitTorrent library (development version) |
---|
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 | This is the development version of libTorrent. |
---|
18 | |
---|
19 | homepage http://libtorrent.rakshasa.no/ |
---|
20 | master_sites ${homepage}downloads/ |
---|
21 | distname ${real_name}-${version} |
---|
22 | |
---|
23 | checksums md5 7e4b4c29a69c86c38e3e60ec11fc2255 \ |
---|
24 | sha1 6deab3f6af5e9566c987131d586751c7dc3b5dbb \ |
---|
25 | rmd160 23fd8a242f493171f7e2afa714dc7b74359ff7bc |
---|
26 | |
---|
27 | depends_build port:zlib \ |
---|
28 | port:pkgconfig |
---|
29 | |
---|
30 | depends_lib port:openssl \ |
---|
31 | port:libsigcxx2 |
---|
32 | |
---|
33 | configure.args --disable-debug \ |
---|
34 | --enable-ipv6 \ |
---|
35 | --with-kqueue |
---|
36 | |
---|
37 | post-destroot { |
---|
38 | set docdir ${prefix}/share/doc/${real_name}-${version} |
---|
39 | xinstall -d ${destroot}${docdir} |
---|
40 | xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \ |
---|
41 | ${destroot}${docdir} |
---|
42 | } |
---|
43 | |
---|
44 | livecheck.check regex |
---|
45 | livecheck.url ${homepage} |
---|
46 | livecheck.regex ${real_name}-(\\d+(?:\\.\\d+)*) |
---|