# $Id: Portfile,v 1.1 2005/11/14 23:16:19 mww Exp $

PortSystem 1.0

name			libsdb
version			0.6.2
categories		databases
platforms		darwin
maintainers		mww@opendarwin.org
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

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

platform darwin 8 { build.args-append CC=/usr/bin/gcc-4.0 }

