# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $

PortSystem              1.0

name                    openvas-libraries
version                 2.0.4
set download_id         618
platforms               darwin
categories              security
maintainers             ryandesign
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 \
    path:bin/pkg-config:pkgconfig \
    bin:grep:grep

depends_lib \
    path:lib/pkgconfig/glib-2.0.pc:glib2 \
    path:bin/libgnutls-config:gnutls \
    path:bin/pcap-config:libpcap \
    path:lib/libz.dylib:zlib

use_parallel_build      yes

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