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

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

sqlite3: version 3.8.10.2

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 137811 2015-06-20 14:25:46Z mww@macports.org $
3
4PortSystem          1.0
5
6name                sqlite3
7version             3.8.10.2
8categories          databases
9platforms           darwin
10license             public-domain
11
12maintainers         mww openmaintainer
13
14description         an embedded SQL database engine
15
16long_description    SQLite3 is an SQL database engine in a C library. \
17                    Programs that link the SQLite3 library can have SQL \
18                    database access without running a separate RDBMS \
19                    process. The distribution comes with a standalone \
20                    command-line access program (sqlite3) that can be used \
21                    to administer an SQLite3 database and which serves as \
22                    an example of how to use the SQLite3 library.
23
24homepage            http://www.sqlite.org/
25master_sites        ${homepage}2015
26
27distname            sqlite-autoconf-[string range [subst [regsub -all {\.([0-9]+)} "${version}.0.0" {[format %02d \1]}]] 0 6]
28
29checksums           rmd160  caacc0e5d95147ec56cc725dfaa9e0df8581b240 \
30                    sha256  8382e55a4e7d853c93038562ca3dd00307937fccf1c6b65ddd813e503a56d626
31
32depends_lib         port:libedit
33
34patchfiles          patch-configure.diff
35
36configure.args      --enable-threadsafe \
37                    --enable-dynamic-extensions \
38                    --enable-readline
39
40# search in worksrcpath for sqlite3.h first -- dont pick up an installed one!
41configure.cppflags-prepend  -DSQLITE_ENABLE_COLUMN_METADATA \
42                            -DSQLITE_ENABLE_FTS3_PARENTHESIS \
43                            -DSQLITE_ENABLE_FTS4 \
44                            -DSQLITE_ENABLE_RTREE \
45                            -DSQLITE_SECURE_DELETE \
46                            -DSQLITE_ENABLE_STAT4 \
47                            -DSQLITE_ENABLE_UNLOCK_NOTIFY \
48                            -DSQLITE_SOUNDEX \
49                            -I${worksrcpath}
50
51build.type          gnu
52
53livecheck.type      regex
54livecheck.url       http://www.sqlite.org/news.html
55livecheck.regex     (3(?:\\.\[0-9\]+)+)
56
57post-destroot {
58    xinstall -m 644 ${worksrcpath}/${name}.1 ${destroot}${prefix}/share/man/man1
59}
60
61platform darwin 8 {
62    configure.cppflags-append -DSQLITE_WITHOUT_ZONEMALLOC
63}
Note: See TracBrowser for help on using the repository browser.