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

description \
    Open Vulnerability Assessment System server

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

checksums \
    md5     d3ab75534253f57766be0f835a6c95da \
    sha1    4ca87b1065d3d6b1559b582f0a6c5af476f0bb71 \
    rmd160  0bb3029dca0a3c88177559052e5cd4192107cfc6

depends_build           port:pkgconfig

depends_lib \
    path:bin/openvas-libnasl-config:openvas-libnasl \
    path:lib/libX11.dylib:xorg-libX11

use_parallel_build      yes

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