# -*- 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

PortSystem          1.0

name                gigabase
version             3.91
revision            0
categories          databases
platforms           darwin
license             Permissive

maintainers         {stromnov @stromnov} openmaintainer

description         Main Memory Relational Database Management System

long_description    \
    GigaBASE is object-relational embedded database engine for  \
    C++ applications. It provides SQL-like query language, smart    \
    C++ interface (loading objects instead of tupples), transaction \
    based on shadowing page algorithm (no separate log file and     \
    very fast).

homepage            http://www.garret.ru/gigabase.html
master_sites        http://www.garret.ru/

checksums           rmd160  81df614c181e18df27a1c4fd705ff6c0551825c2 \
                    sha256  94120c969cf94426498a7f22300ab0d1ae275f7c7ed50b026a2f1e9d7edee254

worksrcdir          ${name}

pre-configure {
    system -W ${worksrcpath} "glibtoolize && aclocal && autoconf"
}

configure.compiler  macports-gcc-4.8
configure.args      --infodir=${prefix}/share/info --mandir=${prefix}/share/man

depends_build-append \
                    port:libtool \
                    port:automake \
                    port:autoconf

destroot.destdir    prefix=${destroot}${prefix}

livecheck.type      regex
livecheck.url       ${homepage}
livecheck.regex     {gigabase-(\d+(?:\.\d+)*)\.tar\.gz}
