Ticket #20014: libtorrent.Portfile

File libtorrent.Portfile, 1.2 KB (added by gardnermj@…, 15 years ago)
Line 
1# $Id$
2
3PortSystem      1.0
4
5name            libtorrent
6set real_name   libtorrent
7version         0.12.4
8categories      net
9platforms       darwin
10maintainers     gmail.com:gardnermj
11description     BitTorrent library
12
13long_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
18homepage        http://libtorrent.rakshasa.no/
19master_sites    ${homepage}downloads/
20distname        ${real_name}-${version}
21
22checksums       md5 7e4b4c29a69c86c38e3e60ec11fc2255 \
23                sha1 6deab3f6af5e9566c987131d586751c7dc3b5dbb \
24                rmd160 23fd8a242f493171f7e2afa714dc7b74359ff7bc
25
26depends_build   port:zlib \
27                port:pkgconfig
28
29depends_lib     port:openssl \
30                port:libsigcxx2
31
32configure.args  --disable-debug \
33                --enable-ipv6 \
34                --with-kqueue
35
36post-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
43livecheck.check regex
44livecheck.url   ${homepage}
45livecheck.regex ${real_name}-(\\d+(?:\\.\\d+)*)