# -*- 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                tinycdb
version             0.78
categories          databases devel
maintainers         soraneko.com:nel openmaintainer

description         a very fast and simple package for creating and reading cdb
long_description    TinyCDB is {*}${description}.

homepage            http://www.corpit.ru/mjt/tinycdb.html
platforms           darwin
license             Permissive

master_sites        http://www.corpit.ru/mjt/tinycdb/
distname            ${name}-${version}
checksums           rmd160  d37c3d35f687574def9e5a161bcdd5ae9a7da4d0 \
                    sha256  50678f432d8ada8d69f728ec11c3140e151813a7847cf30a62d86f3a720ed63c

use_configure       no

variant universal {}

build.args          CC="${configure.cc}" \
                    CFLAGS="${configure.cflags} [get_canonical_archflags]"

destroot.args-append  prefix=${prefix} mandir=${prefix}/share/man

livecheck.type      regex
livecheck.url       ${homepage}
livecheck.regex     ${name}-(\[0-9.\]+)\\.tar
