# $Id: Portfile,v 1.1 2005/10/25 15:01:19 mww Exp $

PortSystem 1.0

name			dbow
version			0.7
categories		devel databases
platforms		darwin
maintainers		mww@opendarwin.org
description		database compiler-compiler
long_description	DBOW is a database compiler-compiler or front-end. It \
			takes table definitions in a meta language and prepares C, C++, \
			PHP, Perl (etc) functions for manipulating the database. It will \
			also produce SQL table data for MySQL.

homepage		http://dbow.sourceforge.net/
master_sites	sourceforge
checksums		md5 083bbc373aa20a0468b69810d1a9d193
patchfiles		patch-Makefile patch-doc-Makefile

depends_lib		port:mysql4

use_configure	no

build.args		MYSQL_INC=${prefix}/include/mysql \
				MYSQL_LIB=${prefix}/lib \
				PREFIX=${prefix}

destroot.args	PREFIX=${destroot}${prefix}

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

