Portfile

# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $

PortSystem 1.0

name libsdb
version 0.6.2
categories databases
platforms darwin
maintainers nomaintainer@macports.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 }