# $Id: Portfile 75608 2011-02-01 06:23:30Z mww@macports.org $ PortSystem 1.0 name sqlite3 version 3.7.5 categories databases platforms darwin maintainers mww openmaintainer 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-autoconf-3070500 checksums md5 a9604a82613ade2e7f4c303f233e477f \ sha1 4e1338497b8da50b84307191bb3418e9ec5715d7 \ rmd160 8bec6a7bfec1c8786dde0586916b0b99e509b2ce depends_lib port:readline \ port:ncurses patchfiles configure.patch configure.args --enable-threadsafe \ --enable-dynamic-extensions \ --enable-readline # search in worksrcpath for sqlite3.h first -- dont pick up an installed one! configure.cppflags "-DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -I${worksrcpath} -I${prefix}/include" build.type gnu test.run yes test.target test livecheck.type regex livecheck.url http://www.sqlite.org/news.html livecheck.regex (3\\.\[0-9\]+\\.\[0-9\]+) post-destroot { xinstall -m 644 ${worksrcpath}/${name}.1 ${destroot}${prefix}/share/man/man1 } platform darwin 8 { configure.cppflags-append -DSQLITE_ENABLE_LOCKING_STYLE=0 }