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

PortSystem          1.0

name                ircii
conflicts           ircii-classic
version             20170704
categories          irc
platforms           darwin
maintainers         nomaintainer
license             BSD ISC

description         an IRC and ICB client

long_description    The ircII program is a full screen, termcap based \
                    interface to Internet Relay Chat. It gives full access to all of the \
                    normal IRC functions, plus a variety of additional options.

homepage            http://www.eterna.com.au/ircii/
master_sites        http://ircii.warped.com/ \
                    ftp://ircii.warped.com/pub/ircII/ \
                    ftp://ircftp.au.eterna.com.au/pub/ircII/ \
                    ftp://ftp.irc.org/irc/clients/unix/ircII/ \
                    ftp://ftp.sergei.cc/pub/ircII/ \
                    http://ftp.sergei.cc/pub/ircII/

use_bzip2           yes

depends_lib         path:lib/libssl.dylib:openssl \
                    port:ncurses

checksums           rmd160  b857a49c6d843748b0bcbccf9e3aec16d7be974b \
                    sha256  4e5a70fc4577de06fd5855ab7ca0a501fd16e02d5fd34e434a2b5abac80a2eda

configure.env       COPY_DIRECTORY=tar
configure.args      --enable-ipv6 \
                    --with-default-server=irc.freenode.net

livecheck.type      regex
livecheck.url       ${homepage}
livecheck.regex     current release is ircII (\[0-9\]+)