# -*- 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 107443 2013-06-29 12:10:57Z hum@macports.org $

PortSystem          1.0

name                groonga
version             3.0.5
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  bab84a18ac28c5d1e271e06729d708933f4d553b \
                    sha256  f175bdece8d96e22141bb706c44130cdeec40185849e7a45f1809199ffb09433

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

compiler.blacklist  clang

livecheck.type      regex
livecheck.url       [lindex ${master_sites} 0]
livecheck.regex     {groonga-([0-9.-]+)\.tar}
