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

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

sqlite3: add missing dependency on ncurses, increment revision to rebuild with libncurses.6.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 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 139483 2015-08-18 16:33:00Z devans@macports.org $
3
4PortSystem          1.0
5
6name                sqlite3
7version             3.8.10.2
8revision            1
9categories          databases
10platforms           darwin
11license             public-domain
12
13maintainers         mww openmaintainer
14
15description         an embedded SQL database engine
16
17long_description    SQLite3 is an SQL database engine in a C library. \
18                    Programs that link the SQLite3 library can have SQL \
19                    database access without running a separate RDBMS \
20                    process. The distribution comes with a standalone \
21                    command-line access program (sqlite3) that can be used \
22                    to administer an SQLite3 database and which serves as \
23                    an example of how to use the SQLite3 library.
24
25homepage            http://www.sqlite.org/
26master_sites        ${homepage}2015
27
28distname            sqlite-autoconf-[string range [subst [regsub -all {\.([0-9]+)} "${version}.0.0" {[format %02d \1]}]] 0 6]
29
30checksums           rmd160  caacc0e5d95147ec56cc725dfaa9e0df8581b240 \
31                    sha256  8382e55a4e7d853c93038562ca3dd00307937fccf1c6b65ddd813e503a56d626
32
33depends_lib         port:libedit \
34                    port:ncurses
35
36patchfiles          patch-configure.diff
37
38configure.args      --enable-threadsafe \
39                    --enable-dynamic-extensions \
40                    --enable-readline
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_RTREE \
47                            -DSQLITE_SECURE_DELETE \
48                            -DSQLITE_ENABLE_STAT4 \
49                            -DSQLITE_ENABLE_UNLOCK_NOTIFY \
50                            -DSQLITE_SOUNDEX \
51                            -I${worksrcpath}
52
53build.type          gnu
54
55livecheck.type      regex
56livecheck.url       http://www.sqlite.org/news.html
57livecheck.regex     (3(?:\\.\[0-9\]+)+)
58
59post-destroot {
60    xinstall -m 644 ${worksrcpath}/${name}.1 ${destroot}${prefix}/share/man/man1
61}
62
63platform darwin 8 {
64    configure.cppflags-append -DSQLITE_WITHOUT_ZONEMALLOC
65}
Note: See TracBrowser for help on using the repository browser.