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

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

fix build on 10.3: changes to the Portfile made sqlite3 link to 10.4s libedit instead of libreadline (which is not present on 10.3); increment revision (#12615)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 29236 2007-09-18 15:08:29Z mww@macports.org $
2
3PortSystem 1.0
4
5name                    sqlite3
6version                 3.4.2
7revision                1
8categories              databases
9platforms               darwin
10maintainers             mww@macports.org
11description             an embedded SQL database engine
12long_description        SQLite3 is an SQL database engine in a C library. \
13                                Programs that link the SQLite3 library can have SQL \
14                                database access without running a separate RDBMS \
15                                process. The distribution comes with a standalone \
16                                command-line access program (sqlite3) that can be used \
17                                to administer an SQLite3 database and which serves as \
18                                an example of how to use the SQLite3 library.
19
20homepage                http://www.sqlite.org/
21master_sites    ${homepage}
22distname                sqlite-${version}
23checksums               sha1 1ab282719c7c2708536341db5b20f39ab27a654d
24patchfiles              patch-Makefile.in
25
26depends_lib             port:readline
27
28configure.args  --enable-threadsafe --disable-tcl
29
30configure.cppflags-append       -I${prefix}/include/readline
31configure.cflags-append         -I${prefix}/include -DSQLITE_ENABLE_LOCKING_STYLE=1 -DHAVE_READLINE=1
32platform darwin { configure.ldflags-append      -lreadline }
33platform freebsd { configure.ldflags-append     -lreadline -lm }
34
35build.type              gnu
36
37test.run                yes
38test.target             test
39
40livecheck.check regex
41livecheck.url   http://www.sqlite.org/download.html
42livecheck.regex sqlite-(\[0-9\\.\]+\[0-9\])\\.
43
44post-destroot {
45        xinstall -m 644 ${worksrcpath}/${name}.1 ${destroot}${prefix}/share/man/man1
46}
47
48platform darwin 8 {
49        configure.compiler      gcc-4.0
50}
51
Note: See TracBrowser for help on using the repository browser.