# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-off    set: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0

# Original ctorrent development has been stopped but the 'enhanced ctorrent'
# project started to maintain the code.
# The Sourceforge project name of 'enhanced ctorrent' is 'dtorrent', which
# might be confusing. However, the unix name of the software is still
# 'ctorrent', which is why it is this port's name.

name                ctorrent
version             3.3.2
revision            3
homepage            https://sourceforge.net/projects/dtorrent/
categories          net
license             GPL-2

description         command line BitTorrent client
long_description    Enhanced CTorrent is a BitTorrent client for \
                    unix-like environments. High performance \
                    with minimal system resources and dependencies \
                    is a priority.

maintainers         nomaintainer

platforms           darwin
depends_lib         path:lib/libssl.dylib:openssl

master_sites        sourceforge:dtorrent
distname            ${name}-dnh${version}
checksums           md5 59b23dd05ff70791cd6449effa7fc3b6 \
                    sha1 d4e221f0292268f80e2430ce9d451dd64cf1ffaa \
                    rmd160 5db2613109fc7e55e7ccdf0d2da12e352c99b385

patchfiles          detect-clockid_t.patch