# $Id: Portfile 30223 2007-10-22 22:46:02Z jmpp@macports.org $

PortSystem 1.0

name			dbtool
version			1.6
categories		databases
platforms		darwin
maintainers		nomaintainer
description		Store and retrieve data in a key/value format in a hash database
long_description	dbtool can be used to store and retrieve data in a \
					key/value format in a hash database. Perl compatible \
					regular expressions are supported both for storing and \
					retrieving of data. It's main advantages are the ability \
					to maintain huge amounts of data and speed. It also \
					supports encrypted databases using the RIJNDAEL cipher \
					algorithm.

homepage		http://www.daemon.de/DBTOOL
master_sites	ftp://ftp.daemon.de/scip/Apps/dbtool/
checksums		md5 a8e3f0982b42b0dbb3b9c1c31c975060

depends_lib		lib:libgdbm:gdbm \
				bin:pcre-config:pcre
depends_run		bin:bash:bash

configure.env	LIBS=-L${prefix}/lib
configure.args	--mandir=${prefix}/share/man

build.type		gnu
build.args		CXX=g++ \
				CXXFLAGS="-g -Wstrict-prototypes -O -I${prefix}/include"
