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

PortSystem 1.0
name			metakit
version			2.4.9.3
categories		databases
maintainers		nomaintainer
description		an efficient embedded database library with a small footprint
homepage		http://www.equi4.com/metakit.html
platforms		darwin
long_description	Metakit is an efficient embedded database library with a small footprint. It fills the gap between flat-file, relational, object-oriented, and tree-structured databases, supporting relational joins, serialization, nested structures, and instant schema evolution.
master_sites		http://www.equi4.com/pub/mk/
checksums		md5 89a25775fee5db536937f36deb5223f6
worksrcdir		${name}-${version}/builds
configure.cmd		../unix/configure
configure.args		--with-tcl=${prefix}
post-build {
	system "cp /usr/bin/glibtool ${worksrcpath}/libtool"
	system "cp ${worksrcpath}/.libs/{libmk4.la,libmk4.lai}"
}

platform darwin {
	configure.args		--with-tcl=/System/Library/Frameworks/Tcl.framework/Headers
}
