diff --git a/dports/databases/sqlite3/Portfile b/dports/databases/sqlite3/Portfile
index bad23f8..236c281 100644
a
|
b
|
PortSystem 1.0 |
4 | 4 | |
5 | 5 | name sqlite3 |
6 | 6 | version 3.6.11 |
| 7 | revision 1 |
7 | 8 | categories databases |
8 | 9 | platforms darwin |
9 | 10 | maintainers mww |
… |
… |
long_description SQLite3 is an SQL database engine in a C library. \ |
18 | 19 | |
19 | 20 | homepage http://www.sqlite.org/ |
20 | 21 | master_sites ${homepage} |
21 | | distname sqlite-${version} |
| 22 | distname sqlite-amalgamation-${version} |
| 23 | worksrcdir sqlite-${version} |
22 | 24 | dist_subdir ${name}/${version} |
23 | | checksums md5 7ebb099696ab76cc6ff65dd496d17858 \ |
24 | | sha1 bd1c371784d990f7b5e99c841e58deb87fbf4b6e \ |
25 | | rmd160 c38d82c83f5d64cfb302e3232c507bafb0b64e74 |
| 25 | checksums md5 da1f95c6b173fd56d2760bcfd2a3c756 \ |
| 26 | sha1 7aa36bd447e20055a1e117e6e9bb9f44a33ff431 \ |
| 27 | rmd160 23db950aaafc7353e02d114066048f05fe264e5a |
26 | 28 | |
27 | 29 | depends_lib port:readline |
28 | 30 | |
29 | | # '-lm' makes freebsd happy & darwin not angry (and makes variants unnecessary) |
30 | 31 | # '-lncurses' is needed to build universal on Tiger; see #15661 |
31 | | configure.args --enable-threadsafe --disable-tcl \ |
32 | | --enable-load-extension \ |
33 | | --with-readline-inc="-I${prefix}/include" \ |
34 | | --with-readline-lib="-L${prefix}/lib -lreadline -lm -lncurses" |
| 32 | # we should be using --enable-dynamic-extensions but the configure file has a bug |
| 33 | # and doesn't recognize it. However, yes is the default value so omitting it makes no difference |
| 34 | configure.args --enable-threadsafe \ |
| 35 | READLINE_LIBS="-L${prefix}/lib -lreadline -lncurses" |
35 | 36 | # search in worksrcpath for sqlite3.h first -- dont pick up an installed one! |
36 | 37 | configure.cppflags "-DSQLITE_ENABLE_COLUMN_METADATA=1 -I${worksrcpath} -I${prefix}/include" |
37 | 38 | |
… |
… |
livecheck.check regex |
45 | 46 | livecheck.url http://www.sqlite.org/download.html |
46 | 47 | livecheck.regex sqlite-(\[0-9\\.\]+\[0-9\])\\. |
47 | 48 | |
48 | | post-destroot { |
49 | | xinstall -m 644 ${worksrcpath}/${name}.1 ${destroot}${prefix}/share/man/man1 |
| 49 | variant fts3 description "Enable the FTS3 module" { |
| 50 | configure.cppflags-append "-DSQLITE_ENABLE_FTS3" |
50 | 51 | } |
51 | 52 | |
| 53 | # for some reason the amalgamation tarball doesn't have the sqlite3.1 manpage |
| 54 | # post-destroot { |
| 55 | # xinstall -m 644 ${worksrcpath}/${name}.1 ${destroot}${prefix}/share/man/man1 |
| 56 | # } |
| 57 | |
52 | 58 | platform darwin 10 { |
53 | 59 | configure.compiler gcc-4.2 |
54 | 60 | } |