# $Id: Portfile,v 1.22 2006/02/23 17:07:08 mww Exp $

PortSystem 1.0
name			sqlite
version			2.8.17
categories		databases
platforms		darwin freebsd
maintainers		darwinports@opendarwin.org
description		an embedded SQL database engine
long_description	SQLite is an SQL database engine in a C library. \
					Programs that link the SQLite library can have SQL \
					database access without running a separate RDBMS \
					process.  The distribution comes with a standalone \
					command-line access program (sqlite) that can be used \
					to administer an SQLite database and which serves as \
					an example of how to use the SQLite library. 
homepage		http://www.sqlite.org/
master_sites	${homepage}
checksums		sha1 75db1cf3b00ea18ae8528e676fc9fdf698e2fe58

depends_lib		port:readline

patchfiles		patch-configure \
				patch-Makefile.in

configure.env	CFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"

build.type		gnu

test.run		yes

platform darwin 8 {
	configure.env-append CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
}

