# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; truncate-lines: t -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
# $Id: Portfile 102404 2013-02-02 07:59:15Z larryv@macports.org $

PortSystem          1.0
PortGroup           github 1.0

github.setup        darkrose csvdb 0.5.1
revision            1

fetch.type          git
git.branch          afad8eca960af3b61b0a8ee3e1c3e0db4cc5c8f5

categories          databases
maintainers         mk pixilla openmaintainer
description         csvdb - an SQL engine for csv
long_description    csvdb is an SQL engine for csv (character separated values) files, \
                    allowing files to be searched and modified as if they were database tables

platforms           darwin
license             GPL-3

homepage            http://sandbox.ltmnet.com/csvdb

use_autoreconf      yes
autoreconf.args     -fvi

depends_lib-append  port:readline\
                    port:gettext

patchfiles          patch_inc-csvdb.h.diff \
                    patch_src-lib-result.c.diff

livecheck.type      regex
livecheck.url       ${github.raw}/master/configure.ac
livecheck.regex     {AC_INIT\(\[csvdb\], \[([0-9.]+)\]}
