Ticket #22758: libtorrent-devel.Portfile

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