source: trunk/dports/databases/sqlite3/Portfile @ 28410

Last change on this file since 28410 was 28410, checked in by mww@…, 12 years ago

use configure.compiler instead

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 28410 2007-08-30 14:16:38Z mww@macports.org $
2
3PortSystem 1.0
4
5name                    sqlite3
6version                 3.4.2
7categories              databases
8platforms               darwin
9maintainers             mww@macports.org
10description             an embedded SQL database engine
11long_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
19homepage                http://www.sqlite.org/
20master_sites    ${homepage}
21distname                sqlite-${version}
22checksums               sha1 1ab282719c7c2708536341db5b20f39ab27a654d
23patchfiles              patch-Makefile.in
24
25depends_lib             port:readline
26
27configure.args  --enable-threadsafe --disable-tcl
28
29configure.cflags-append         -DSQLITE_ENABLE_LOCKING_STYLE=1 -DHAVE_READLINE=1 -I${prefix}/include/readline
30configure.cppflags-append       -I${prefix}/include/readline
31platform darwin { configure.ldflags     -lreadline }
32platform freebsd { configure.ldflags    -lreadline -lm }
33
34build.type              gnu
35
36test.run                yes
37test.target             test
38
39livecheck.check regex
40livecheck.url   http://www.sqlite.org/download.html
41livecheck.regex sqlite-(\[0-9\\.\]+\[0-9\])\\.
42
43post-destroot {
44        xinstall -m 644 ${worksrcpath}/${name}.1 ${destroot}${prefix}/share/man/man1
45}
46
47platform darwin 8 {
48        configure.compiler      gcc-4.0
49}
50
Note: See TracBrowser for help on using the repository browser.