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

PortSystem              1.0

name                    openvas-plugins
version                 1.0.7
set download_id         588
platforms               darwin
categories              security
maintainers             ryandesign
homepage                http://www.openvas.org/
master_sites            http://wald.intevation.org/frs/download.php/${download_id}

checksums \
    md5     b290e34df6198b21b4d6601c3ae80030 \
    sha1    eb8b6344a7023f84316a909702922764bbc18cbd \
    rmd160  b7b2cb3b7a702ed437ebf449912b33f1d7f61439

description \
    Open Vulnerability Assessment System plugins

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

depends_build \
    path:bin/pkg-config:pkgconfig \
    bin:grep:grep \
    path:bin/gsed:gsed

depends_lib \
    path:lib/pkgconfig/glib-2.0.pc:glib2 \
    path:bin/openvasd-config:openvas-server

use_parallel_build      yes

pre-build {
    file mkdir ${worksrcpath}/bin
}

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

