source: trunk/dports/net/libtorrent/Portfile @ 128316

Last change on this file since 128316 was 128316, checked in by larryv@…, 4 years ago

libtorrent, libtorrent-devel: Make nomaintainer (#45937)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 128316 2014-11-19 03:40:43Z larryv@macports.org $
3
4PortSystem          1.0
5
6name                libtorrent
7conflicts           libtorrent-devel
8version             0.13.2
9categories          net
10platforms           darwin
11maintainers         nomaintainer
12license             {GPL-2+ OpenSSLException}
13
14description         BitTorrent library
15
16long_description    libTorrent is a BitTorrent library written in C++ for \
17                    *nix. It is designed to avoid redundant copying and \
18                    storing of data that other clients and libraries suffer from.
19
20homepage            http://libtorrent.rakshasa.no/
21master_sites        ${homepage}downloads/
22
23checksums           rmd160  090e6af9b4318a6176064159f6a8f70ab708c7fe \
24                    sha256  ed2f2dea16c29cac63fa2724f6658786d955f975861fa6811bcf1597ff8a5e4f
25
26depends_build       port:pkgconfig
27
28depends_lib         port:openssl \
29                    port:libsigcxx2
30
31configure.args      --disable-debug \
32                    --enable-ipv6 \
33                    --with-kqueue
34
35compiler.blacklist  gcc-4.0
36
37post-destroot {
38    set docdir ${prefix}/share/doc/${name}
39    xinstall -d ${destroot}${docdir}
40    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \
41        ${destroot}${docdir}
42}
43
44if {${os.platform} eq "darwin" && ${os.major} <= 9} {
45    # currently broken, ticket #27289
46    pre-fetch {
47        return -code error "$name currently cannot be compiled on Mac OS X 10.5 or earlier."
48    }
49    # clear deps so users don't waste time installing them for a broken port
50    depends_lib
51    depends_build
52
53    patchfiles-append   no_posix_memalign.patch
54}
55
56livecheck.type      regex
57livecheck.url       ${homepage}
58livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.