# -*- 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 118574 2014-04-05 04:15:20Z hum@macports.org $

PortSystem          1.0

name                groonga
version             4.0.1
categories          databases
maintainers         hum clear-code.com:kou openmaintainer

description         An embeddable fulltext search engine

long_description    groonga is an embeddable fulltext search engine library. It can integrate \
                    with DBMS and scripting languages to enhance their search functionality. \
                    It also provides a standalone data store server based on relation data \
                    model.

homepage            http://groonga.org/
platforms           darwin
license             LGPL-2.1

master_sites        http://packages.groonga.org/source/groonga/
checksums           rmd160  44faa099c8cddfb87d3ccbfa25c054a839128031 \
                    sha256  35d6d2bfd6da3ae5cc92b924b0c2b6ee513a7c866b450d9a3b39073f921be7de

depends_build       port:pkgconfig

depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2 \
                    port:mecab-utf8 \
                    port:libevent \
                    port:zmq22 \
                    port:msgpack \
                    port:zlib \
                    port:pcre \
                    port:kytea

livecheck.type      regex
livecheck.url       [lindex ${master_sites} 0]
livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
