PortSystem 1.0

name			libsdb
version			0.6.2
categories		databases
license			GPL-2+
platforms		darwin
maintainers		nomaintainer
description		Simple database library
long_description	This is libsdb, the simple database library, which \
			provides a way to support multiple database management systems in \
			an application with negligeable overhead, in terms of code as well \
			as system resources.

homepage		http://siag.nu/libsdb/
master_sites	ftp://siag.nu/pub/libsdb/ http://siag.nu/pub/libsdb/ freebsd
distname		sdb-${version}
checksums		md5 c21c26ac071612f19db84e438fd4677d

build.args-append CC=${configure.cc}
use_parallel_build	no

pre-destroot {
	reinplace "s|^install:|install: dummy|g" ${worksrcpath}/Makefile
	system "touch ${worksrcpath}/dummy"
}
destroot.destdir	PREFIX=${destroot}${prefix} MANDIR=${destroot}${prefix}/share/man CC=true
