# -*- 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: Portfile 86979 2011-11-07 20:29:21Z dports@macports.org $

PortSystem              1.0

name                    openvas-libraries
version                 2.0.4
set download_id         618
platforms               darwin
categories              security
license                 {GPL-2 OpenSSLException} 
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
