|
Revision 42944, 1.4 KB
(checked in by toby@…, 28 hours ago)
|
|
llvm fail
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Id
|
| Line | |
|---|
| 1 | # $Id$ |
|---|
| 2 | |
|---|
| 3 | PortSystem 1.0 |
|---|
| 4 | |
|---|
| 5 | name sqlite3 |
|---|
| 6 | version 3.6.6.2 |
|---|
| 7 | categories databases |
|---|
| 8 | platforms darwin |
|---|
| 9 | maintainers mww |
|---|
| 10 | description an embedded SQL database engine |
|---|
| 11 | long_description SQLite3 is an SQL database engine in a C library. \ |
|---|
| 12 | Programs that link the SQLite3 library can have SQL \ |
|---|
| 13 | database access without running a separate RDBMS \ |
|---|
| 14 | process. The distribution comes with a standalone \ |
|---|
| 15 | command-line access program (sqlite3) that can be used \ |
|---|
| 16 | to administer an SQLite3 database and which serves as \ |
|---|
| 17 | an example of how to use the SQLite3 library. |
|---|
| 18 | |
|---|
| 19 | homepage http://www.sqlite.org/ |
|---|
| 20 | master_sites ${homepage} |
|---|
| 21 | distname sqlite-${version} |
|---|
| 22 | dist_subdir ${name}/${version} |
|---|
| 23 | checksums sha1 4cd87fa954da5b11d7ee230e1003a23a68f68397 |
|---|
| 24 | |
|---|
| 25 | depends_lib port:readline |
|---|
| 26 | |
|---|
| 27 | # '-lm' makes freebsd happy & darwin not angry (and makes variants unnecessary) |
|---|
| 28 | configure.args --enable-threadsafe --disable-tcl \ |
|---|
| 29 | --with-readline-inc="-I${prefix}/include" \ |
|---|
| 30 | --with-readline-lib="-L${prefix}/lib -lreadline -lm" |
|---|
| 31 | |
|---|
| 32 | use_parallel_build yes |
|---|
| 33 | build.type gnu |
|---|
| 34 | |
|---|
| 35 | test.run yes |
|---|
| 36 | test.target test |
|---|
| 37 | |
|---|
| 38 | livecheck.check regex |
|---|
| 39 | livecheck.url http://www.sqlite.org/download.html |
|---|
| 40 | livecheck.regex sqlite-(\[0-9\\.\]+\[0-9\])\\. |
|---|
| 41 | |
|---|
| 42 | post-destroot { |
|---|
| 43 | xinstall -m 644 ${worksrcpath}/${name}.1 ${destroot}${prefix}/share/man/man1 |
|---|
| 44 | } |
|---|
| 45 | |
|---|
| 46 | variant loadable_extensions description {Enables experimental loadable extensions} { |
|---|
| 47 | configure.args-append --enable-load-extension |
|---|
| 48 | } |
|---|
| 49 | |
|---|
| 50 | platform darwin 10 { |
|---|
| 51 | configure.compiler gcc-4.2 |
|---|
| 52 | } |
|---|