# $Id: Portfile 29236 2007-09-18 15:08:29Z mww@macports.org $ PortSystem 1.0 name sqlite3 version 3.4.2 revision 1 categories databases platforms darwin maintainers mww@macports.org description an embedded SQL database engine long_description SQLite3 is an SQL database engine in a C library. \ Programs that link the SQLite3 library can have SQL \ database access without running a separate RDBMS \ process. The distribution comes with a standalone \ command-line access program (sqlite3) that can be used \ to administer an SQLite3 database and which serves as \ an example of how to use the SQLite3 library. homepage http://www.sqlite.org/ master_sites ${homepage} distname sqlite-${version} checksums sha1 1ab282719c7c2708536341db5b20f39ab27a654d patchfiles patch-Makefile.in depends_lib port:readline configure.args --enable-threadsafe --disable-tcl configure.cppflags-append -I${prefix}/include/readline configure.cflags-append -I${prefix}/include -DSQLITE_ENABLE_LOCKING_STYLE=1 -DHAVE_READLINE=1 platform darwin { configure.ldflags-append -lreadline } platform freebsd { configure.ldflags-append -lreadline -lm } build.type gnu test.run yes test.target test livecheck.check regex livecheck.url http://www.sqlite.org/download.html livecheck.regex sqlite-(\[0-9\\.\]+\[0-9\])\\. post-destroot { xinstall -m 644 ${worksrcpath}/${name}.1 ${destroot}${prefix}/share/man/man1 } platform darwin 8 { configure.compiler gcc-4.0 }