# $Id: Portfile 86216 2011-10-22 02:30:29Z hum@macports.org $

PortSystem 1.0

name		tinycdb
version		0.77
revision	1
maintainers	soraneko.com:nel hum
categories	databases devel
platforms	darwin
description	TinyCDB is a very fast and simple package for creating and reading cdb.
long_description	${description}
homepage	http://www.corpit.ru/mjt/tinycdb.html
master_sites    http://www.corpit.ru/mjt/tinycdb/
distname	${name}_${version}
worksrcdir	${name}-${version}
checksums	md5 c00e5fb96c30356ac3b67b2ab5d5641b \
                sha1 2873a5f614e925e284cd71a7216a0d10340aec9c \
                rmd160 803581ebb84cc4db7abe16b3fb5b978c05652553

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
