# -*- 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-libraries
version                 2.0.4
revision                4
set download_id         618
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     b0d721f8d4c2f1c265841bf418311ea7 \
    sha1    271f42118fc41ffec2d1365d618fa09e294aa4e5 \
    rmd160  bb4702277401e657e20ccff082990f68a74f178e

description \
    Open Vulnerability Assessment System libraries

long_description \
    OpenVAS is the Open Vulnerability Assessment System. This port \
    contains the libraries used by the server component.

depends_build \
    port:pkgconfig

depends_lib             port:gettext \
                        path:lib/pkgconfig/glib-2.0.pc:glib2 \
                        path:lib/pkgconfig/gnutls.pc:gnutls \
                        port:libgcrypt \
                        port:libpcap

use_parallel_build      yes

patchfiles \
    libopenvas-config.patch \
    openvas-libraries.tmpl.in.patch

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