# -*- 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                    openvas-client
version                 2.0.5
revision        5
set download_id         617
categories              security
license                 {GPL-2 OpenSSLException}
maintainers             nomaintainer
homepage                http://www.openvas.org/
master_sites            http://wald.intevation.org/frs/download.php/${download_id}

checksums \
    md5     1ab804e599705543fb96a8c04777b46a \
    sha1    cb157534cdbee31e54348de3fe2df73ea9490f19 \
    rmd160  6e2b625f5c7361dfa294165976157e3777ec0359

description \
    Open Vulnerability Assessment System client

long_description \
    OpenVAS is the Open Vulnerability Assessment System. This port is \
    the client component.

depends_build \
    port:pkgconfig

depends_lib \
    path:bin/gdlib-config:gd2 \
    path:lib/pkgconfig/gtk+-2.0.pc:gtk2 \
    path:lib/pkgconfig/openssl.pc:openssl

configure.args          --with-ssl=${prefix}

use_parallel_build      yes

livecheck.type          regex
livecheck.url           http://wald.intevation.org/frs/?group_id=29
livecheck.regex         ${name}-(\[0-9.\]+)\\.tar