# -*- 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
PortGroup active_variants 1.1
github.setup rakshasa rtorrent c62fa6a75649efe8cedb91c66d1b05b2b1be8872
license {GPL-2+ OpenSSLException}
description console-based BitTorrent client (unstable release)
long_description rTorrent is a console-based BitTorrent client. It aims to \
be a fully-featured and efficient client with the ability to \
run in the background using screen. It supports fast-resume \
and session management. \
This is the "unstable" release of rTorrent.
checksums rmd160 f01865e7060a062e0fe39bfb7dfaa362c0ccaabb \
sha256 6021a28ac91935ba0b15ff78ca44d70bdcab8c368d62829062610f1bf7baa478 \
autoreconf.cmd ./autogen.sh
# malformed object (unknown load command 2)
if {${os.platform} eq "darwin" && ${os.major} <= 10} {
depends_build-append port:cctools
path:lib/libssl.dylib:openssl \
# https://github.com/rakshasa/rtorrent/wiki/Installing#non-blocking-hostname-lookup-in-curl
require_active_variants curl ares
compiler.cxx_standard 2011
configure.args --mandir=${prefix}/share/man \
variant xmlrpc description {Enable XMLRPC interface} {
configure.args-append --with-xmlrpc-c