# $Id: Portfile,v 1.3 2005/06/14 06:28:41 jkh Exp $

PortSystem 1.0
name			metakit
version			2.4.9.3
categories		databases
maintainers		darwinports@opendarwin.org
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}"
}

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