# $Id$

PortSystem              1.0

name                    silc-server
version                 1.1.11
categories              irc
description             server for the silc-network.
long_description        silc-server (silcd) is the server for the SILC protocol. \
                        SILC (Secure Internet Live Conferencing) is a protocol which provides \
                        secure conferencing services in the Internet over insecure channel. \
                        SILC superficially resembles IRC, although they are very different \
                        internally. SILC is much more than just about `encrypting the traffic'.

homepage                http://silcnet.org/
platforms               darwin
maintainers             nomaintainer
master_sites            ${homepage}download/server/sources/
checksums               md5     d897102ee2cfea52d9c6e6444fb30503 \
                        sha1    46ebc36c160e572493bb611a9fa40a7c8e8703eb \
                        rmd160  f47a0cceef7ee6d14939699af5500089687a3a96
patchfiles              patch-server.h.diff
use_bzip2               yes
use_parallel_build      yes

depends_lib             port:libiconv

configure.args          --with-etcdir=${prefix}/etc/${name} \
                        --with-docdir=${prefix}/share/${name} \
                        --with-helpdir=${prefix}/share/${name} \
                        --with-simdir=${prefix}/share/${name} \
                        --with-logsdir=${prefix}/var/log/${name} \
                        --with-silcd-config-file=${prefix}/etc/${name}/silcd.conf \
                        --disable-asm \
                        --without-irssi

universal_variant       no

livecheck.type          regex
livecheck.url           ${homepage}
livecheck.regex         ${name}-(\[0-9.\]+)\\.tar