# -*- 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-libnasl
version                 2.0.2
set download_id         619
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     c6d4e9099b860a0dceda6c10eacc26f4 \
    sha1    7a4342418de2a591353a4404455ca97a49d589d8 \
    rmd160  59f583f7e91c1d7e69bd16ce4fcacccb25b49e02

description \
    Open Vulnerability Assessment System NASL library

long_description \
    OpenVAS is the Open Vulnerability Assessment System. This port \
    contains the Nessus Attack Scripting Language (NASL) library used \
    by the server component.

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

depends_lib \
    path:bin/gpgme-config:gpgme \
    path:bin/libopenvas-config:openvas-libraries

patchfiles              patch-configure.diff

use_parallel_build      yes

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