# -*- 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                    ripe-whois
conflicts               whois
version                 3.2.2
categories              net
platforms               darwin
maintainers             free.fr:fclaire

description             Special RIPE version of the whois client

long_description        This special RIPE version of the whois client is whois3, \
                        a very simple and generic whois client. \
                        This client, unlike the \"classic\" whois client, \
                        does not check for supported flags at the client side, \
                        except for -h (whois host) and -p (whois port). \
                        The syntax checks for flags are made at the server side. \
                        The default host and port of whois3 is whois.ripe.net \
                        at port 43 (or to be more exact, the tcp port specified \
                        for whois in /etc/services). You can change the default host \
                        by setting NICHOST in the source.

homepage                http://www.ripe.net/tools/
master_sites            ftp://ftp.ripe.net/ripe/dbase/software/ \
                        http://www.mirrorservice.org/sites/ftp.ripe.net/ripe/dbase/software/

distname                ${name}-client-${version}
worksrcdir              whois3-${version}

checksums               md5     d25bbe0c5bcf679bd9f9ead30bb0a71a \
                        sha1    165ccd45387ef5505c7c6542f1dca019abbfcaf9 \
                        rmd160  f6a42221f823168060bb732764403b39d52c8a45

configure.args          --mandir=${prefix}/share/man

destroot.args-append    whoisdatadir=${prefix}/share/doc/${name}

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