# -*- 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
# $Id$

PortSystem          1.0

name                ncdc
version             1.15
revision            4
categories          net chat
platforms           darwin
maintainers         nomaintainer
license             MIT

description         Ncurses Direct Connect

long_description    Modern and lightweight direct connect client with a \
                    friendly ncurses interface.

homepage            http://dev.yorhel.nl/ncdc
master_sites        http://dev.yorhel.nl/download \
                    sourceforge:project/ncdc/ncdc/ncdc-${version}

checksums           rmd160  ca77be5294162ad37abcc85798aac734b4e74559 \
                    sha256  88367691d5ab36bcd40ecab0f2ebfa592634752359ef7d813adb4b757f2d5b8c

depends_build       port:pkgconfig

depends_lib         port:sqlite3 \
                    port:ncurses \
                    path:lib/pkgconfig/glib-2.0.pc:glib2 \
                    port:bzip2 \
                    port:zlib \
                    port:gnutls

use_parallel_build  yes

livecheck.type      regex
livecheck.url       [lindex ${master_sites} 0]
livecheck.regex     >${name}-(\[0-9.\]+)${extract.suffix}<