# -*- 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 90991 2012-03-20 21:01:02Z snc@macports.org $

PortSystem          1.0

name                virtuoso
version             6.1.5
categories          devel
maintainers         snc openmaintainer
license             GPL
description         a high-performance object-relational SQL database
long_description    Virtuoso is an enterprise-grade server that delivers a platform \
                    for Data Access, Integration and Management.
platforms           darwin
homepage            http://${name}.openlinksw.com/dataspace/dav/wiki/Main/
master_sites        sourceforge:project/${name}/${name}/${version}
distname            ${name}-opensource-${version}

checksums           rmd160  7ece76e3c6c7053606b687b04ac6a771e0248d65 \
                    sha256  fa0af9ee0d16bd80ca1ac30202d6fd67311843269bea70a92eca87e2cce94a09

use_parallel_build  no

depends_build       port:gawk

depends_lib         port:libiodbc port:openssl

configure.args-append   --disable-all-vads
post-configure {
    reinplace "s|\"gcc\"|\"${configure.cc}\"|" ${worksrcpath}/bin/libtool.macosx
    foreach note $PortInfo(notes) {
        ui_msg $note
    }
}

livecheck.url       http://sourceforge.net/api/file/index/project-id/161622/mtime/desc/rss?path=/virtuoso
livecheck.type      regex
livecheck.regex     ${name}/(\\d+(\\.\\d+)+)/${name}-opensource-(\\d+(\\.\\d+)+)

notes "Disable antivirus when building this port."
