# -*- 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             20240111
revision            0
categories          irc
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.eterna23.net/ircii/
master_sites        https://ircii.warped.com/

use_bzip2           yes

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

checksums           rmd160  969aef7f77be03e65ec5da86e08985932a49ab7c \
                    sha256  acb9351d9215c783111ad118ab2a1d3ac27f96e53db9bdc685e5dde1c14fd95d \
                    size    576700

configure.env       COPY_DIRECTORY=tar
# Currently, ircii doesn't know how to handle a default server that
# uses TLS. Restore this when that gets fixed.
#configure.args      --with-default-server=irc.libera.chat:6697

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