# $Id: Portfile 40995 2008-10-20 17:58:59Z afb@macports.org $ PortSystem 1.0 name sqlite3 version 3.6.4 categories databases platforms darwin maintainers mww 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} dist_subdir ${name}/${version} checksums sha1 af1082c0455aa672a9e1ca700eb53d986f6ac846 depends_lib port:readline # '-lm' makes freebsd happy & darwin not angry (and makes variants unnecessary) configure.args --enable-threadsafe --disable-tcl \ --with-readline-inc="-I${prefix}/include" \ --with-readline-lib="-L${prefix}/lib -lreadline -lm" use_parallel_build yes 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 } variant loadable_extensions description {Enables experimental loadable extensions} { configure.args-append --enable-load-extension }