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

PortSystem          1.0
PortGroup           github 1.0
PortGroup           legacysupport 1.1

# clock_gettime
legacysupport.newest_darwin_requires_legacy 15

github.setup        darkrose csvdb 0.6
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            0

fetch.type          git
git.branch          c610f64316520d7f918298e441200bd07700d34e

categories          databases
maintainers         nomaintainer
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

license             GPL-3

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.]+)\]}
