source: trunk/dports/databases/sqlite3/Portfile

Last change on this file was 153890, checked in by mps@…, 9 months ago

sqlite3: update to version 3.15.0.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 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 153890 2016-10-15 11:45:32Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                sqlite3
7version             3.15.0
8categories          databases
9platforms           darwin
10license             public-domain
11
12maintainers         mww mps 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}2016
26
27distname            sqlite-autoconf-[string range [subst [regsub -all {\.([0-9]+)} "${version}.0.0" {[format %02d \1]}]] 0 6]
28
29checksums           rmd160  7d45f1c23059b44e2a2cf8149af21d23a2032c1e \
30                    sha256  77162da9b4a0336d7e77d5252b690662850f62b47c12d9125f74ab9de78ded27
31
32depends_lib         port:libedit \
33                    port:ncurses
34
35patchfiles          patch-configure.diff
36
37configure.args      --enable-threadsafe \
38                    --enable-dynamic-extensions \
39                    --enable-readline \
40                    AWK=/usr/bin/awk
41
42# search in worksrcpath for sqlite3.h first -- dont pick up an installed one!
43configure.cppflags-prepend  -DSQLITE_ENABLE_COLUMN_METADATA \
44                            -DSQLITE_ENABLE_FTS3_PARENTHESIS \
45                            -DSQLITE_ENABLE_FTS4 \
46                            -DSQLITE_ENABLE_FTS5 \
47                            -DSQLITE_ENABLE_RTREE \
48                            -DSQLITE_SECURE_DELETE \
49                            -DSQLITE_ENABLE_STAT4 \
50                            -DSQLITE_ENABLE_UNLOCK_NOTIFY \
51                            -DSQLITE_SOUNDEX \
52                            -I${worksrcpath}
53
54build.type          gnu
55
56livecheck.type      regex
57livecheck.url       http://www.sqlite.org/news.html
58livecheck.regex     (3(?:\\.\[0-9\]+)+)
59
60post-destroot {
61    xinstall -m 644 ${worksrcpath}/${name}.1 ${destroot}${prefix}/share/man/man1
62}
63
64platform darwin 8 {
65    configure.cppflags-append -DSQLITE_WITHOUT_ZONEMALLOC
66}
Note: See TracBrowser for help on using the repository browser.