ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/databases/sqlite3/Makefile
(Generate patch)

Comparing trunk/databases/sqlite3/Makefile (file contents):
Revision 12941 by laffer1, Wed Sep 26 19:53:50 2012 UTC vs.
Revision 19514 by laffer1, Wed Jun 24 01:11:59 2015 UTC

# Line 1 | Line 1
1 < # $MidnightBSD: mports/databases/sqlite3/Makefile,v 1.18 2012/06/26 00:44:20 laffer1 Exp $
1 > # $MidnightBSD$
2  
3 < PORTNAME=       sqlite
4 < PORTVERSION=    3.7.14
5 < CATEGORIES=     databases lang tcl
6 < MASTER_SITES=   http://www.sqlite.org/ \
7 <                http://www2.sqlite.org/ \
8 <                http://www3.sqlite.org/
9 < DISTNAME=       sqlite-autoconf-3071400
3 > PORTNAME=       sqlite3
4 > PORTVERSION=    3.8.10.2
5 > CATEGORIES=     databases
6 > MASTER_SITES=   http://www.sqlite.org/2015/ http://www2.sqlite.org/2015/ http://www3.sqlite.org/2015/
7 > DISTNAME=       sqlite-autoconf-${PORTVERSION:S|.10|10|:S|.|0|g}
8  
9   MAINTAINER=     ports@MidnightBSD.org
10 < COMMENT=        An SQL database engine in a C library w/ Tcl wrapper
10 > COMMENT=        SQL database engine in a C library
11 >
12   LICENSE=        publicdom
13  
14 < USE_GMAKE=      YES
15 < USE_AUTOTOOLS=  libtool
14 > CONFLICTS=      sqlite34-[0-9]* sqlcipher-[0-9]*
15 >
16 > USES=           pathfix pkgconfig libtool ncurses
17   USE_LDCONFIG=   YES
18   GNU_CONFIGURE=  YES
19 < USE_GNOME=      gnomehack pkgconfig
20 < USE_TCL_BUILD=  84+
21 < CONFIGURE_ARGS=         --prefix=${PREFIX}
22 < CONFIGURE_ENV+=         TCLSH_CMD="${TCLSH}" \
23 <                        TCLLIBDIR=${PREFIX}/lib/${PORTNAME} \
24 <                        ac_cv_search_pthread_create=""
25 < CONFIGURE_TARGET=       --build=${MACHINE_ARCH}-portbld-freebsd7.0
19 > INSTALL_TARGET= install-strip
20  
21 < MAN1=           sqlite3.1
21 > MAKE_JOBS_UNSAFE=       yes
22  
23 < OPTIONS=        DEBUG           "Enable debugging & verbose explain"    off \
24 <                FTS3            "Enable FTS3 (Full Text Search) module" off \
25 <                RTREE           "Enable R*Tree module"                  off \
26 <                RAMTABLE        "Store temporary tables in RAM"         off \
27 <                TCLWRAPPER      "Enable TCL wrapper"                    off \
28 <                METADATA        "Enable column metadata"                on \
29 <                THREADSAFE      "Build thread-safe library"             on \
36 <                EXTENSION       "Allow loadable extensions"             on
23 > # Compilation Options For SQLite http://www.sqlite.org/compile.html
24 > OPTIONS_DEFINE= FTS4 UPD_DEL_LIMIT URI URI_AUTHORITY SOUNDEX METADATA \
25 >                DIRECT_READ MEMMAN SECURE_DELETE UNLOCK_NOTIFY THREADS \
26 >                EXTENSION READLINE ARMOR STMT DBSTAT
27 > OPTIONS_SINGLE= RAMT
28 > OPTIONS_RADIO=  STAT
29 > OPTIONS_GROUP=  UNICODE RTREEG
30  
31 < .include <bsd.port.pre.mk>
31 > FTS4_DESC=              Enable FTS3/4 (Full Text Search) module
32 > UPD_DEL_LIMIT_DESC=     ORDER BY and LIMIT on UPDATE and DELETE
33 > URI_DESC=               Enable use the URI filename
34 > URI_AUTHORITY_DESC=     Allow convert URL into a UNC
35 > SOUNDEX_DESC=           Enables the soundex() SQL function
36 > METADATA_DESC=          Enable column metadata
37 > DIRECT_READ_DESC=       File is read directly from disk
38 > MEMMAN_DESC=            Allows it to release unused memory
39 > SECURE_DELETE_DESC=     Overwrite deleted information with zeros
40 > UNLOCK_NOTIFY_DESC=     Enable notification on unlocking
41 > EXTENSION_DESC=         Allow loadable extensions
42  
43 < .if defined(WITH_DEBUG)
44 < CONFIGURE_ARGS+=        --enable-debug
42 < .endif
43 > # http://www.sqlite.org/compile.html#enable_api_armor
44 > ARMOR_DESC=             Detect misuse of the API
45  
46 < .if defined(WITH_FTS3)
47 < CFLAGS+=                -DSQLITE_ENABLE_FTS3=1
46 < .endif
46 > # http://www.sqlite.org/c3ref/stmt_scanstatus.html
47 > STMT_DESC=              Prepared Statement Scan Status
48  
49 < .if defined(WITH_RTREE)
50 < CFLAGS+=                -DSQLITE_ENABLE_RTREE=1
51 < .endif
49 > # http://www.sqlite.org/tempfiles.html#tempstore
50 > OPTIONS_SINGLE_RAMT=    TS0 TS1 TS2 TS3
51 > RAMT_DESC=              Where to store temporary file
52 > TS0_DESC=               Always use temporary file
53 > TS1_DESC=               File by default, change allowed PRAGMA
54 > TS2_DESC=               Memory by default, change allowed PRAGMA
55 > TS3_DESC=               Always use memory
56  
57 < .if defined(WITH_RAMTABLE)
58 < CONFIGURE_ARGS+=        --enable-tempstore=yes
59 < .endif
57 > # http://www.sqlite.org/queryplanner-ng.html#qpstab
58 > OPTIONS_RADIO_STAT=     STAT3 STAT4
59 > STAT_DESC=              Which query planner to use
60 > STAT3_DESC=             collect histogram data from leftmost column
61 > STAT4_DESC=             collect histogram data from all columns
62  
63 < .if defined(WITH_TCLWRAPPER)
64 < CATEGORIES+=            lang tcl
58 < COMMENT+=               with TCL Wrapper
59 < USE_TCL_RUN=            84+
60 < CONFIGURE_ARGS+=        --with-tcl=${TCL_LIBDIR}
61 < PLIST_SUB+=             WITH_TCLWRAPPER=""
62 < ALL_TARGET=             all tclsqlite3
63 < INSTALL_TARGET=         install tcl_install
64 < .else
65 < CONFIGURE_ARGS+=        --disable-tcl
66 < PLIST_SUB+=             WITH_TCLWRAPPER="@comment "
67 < .endif
63 > # http://www.sqlite.org/dbstat.html
64 > DBSTAT_DESC=            Enable DBSTAT Virtual Table
65  
66 < .if !defined(WITHOUT_METADATA)
67 < CFLAGS+=                -DSQLITE_ENABLE_COLUMN_METADATA=1
66 > # http://www.sqlite.org/fts3.html#tokenizer
67 > OPTIONS_GROUP_UNICODE=  ICU UNICODE61
68 > UNICODE_DESC=           Unicode support
69 > UNICODE61_DESC=         Unicode Version 6.1 tokenizer
70 >
71 > # http://www.sqlite.org/rtree.html
72 > OPTIONS_GROUP_RTREEG=   RTREE RTREE_INT
73 > RTREEG_DESC=            Index type for range queries
74 > RTREE_DESC=             Enable R*Tree module
75 > RTREE_INT_DESC=         Store 32-bit sig int (no float) coordinates
76 >
77 > OPTIONS_DEFAULT=        FTS4 URI METADATA SECURE_DELETE UNLOCK_NOTIFY THREADS \
78 >                        EXTENSION TS1 UNICODE61 RTREE READLINE
79 > # SECURE_DELETE, UNLOCK_NOTIFY used by www/firefox, www/libxul
80 > # RTREE used by graphics/mapnik, databases/spatialite
81 >
82 > PLIST_FILES=    bin/sqlite3 include/sqlite3.h include/sqlite3ext.h \
83 >                lib/libsqlite3.a lib/libsqlite3.so lib/libsqlite3.so.0 \
84 >                lib/libsqlite3.so.0.8.6 libdata/pkgconfig/sqlite3.pc \
85 >                man/man1/sqlite3.1.gz
86 >
87 > # The default numeric file permissions for newly created database files under unix.
88 > # If not specified, the default is 0644 which means that the files is globally
89 > # readable but only writable by the creator.
90 > .ifdef DEFAULT_FILE_PERMISSIONS
91 > CPPFLAGS+=              -DSQLITE_DEFAULT_FILE_PERMISSIONS=${DEFAULT_FILE_PERMISSIONS}
92   .endif
93  
94 < .if !defined(WITHOUT_THREADSAFE)
95 < CONFIGURE_ARGS+=        --enable-threadsafe \
96 <                        --enable-threads-override-locks
97 < .else
77 < CONFIGURE_ARGS+=        --disable-threadsafe
94 > # This macro sets the default size of the page-cache for temporary files
95 > # created by SQLite to store intermediate results, in pages.
96 > .ifdef TEMP_CACHE_SIZE
97 > CPPFLAGS+=              -DSQLITE_DEFAULT_TEMP_CACHE_SIZE=${TEMP_CACHE_SIZE}
98   .endif
99  
100 < .if !defined(WITHOUT_EXTENSION)
101 < CONFIGURE_ARGS+=        --enable-load-extension
102 < .else
103 < CONFIGURE_ARGS+=        --disable-load-extension
100 > # Use an in-ram database for temporary tables (never,no,yes,always),
101 > TS0_CPPFLAGS=   -DSQLITE_TEMP_STORE=0
102 > TS1_CPPFLAGS=   -DSQLITE_TEMP_STORE=1
103 > TS2_CPPFLAGS=   -DSQLITE_TEMP_STORE=2
104 > TS3_CPPFLAGS=   -DSQLITE_TEMP_STORE=3
105 >
106 > RTREE_CPPFLAGS= -DSQLITE_ENABLE_RTREE=1
107 > RTREE_INT_CPPFLAGS=     -DSQLITE_RTREE_INT_ONLY=1
108 >
109 > FTS4_CPPFLAGS=  -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1 -DSQLITE_ENABLE_FTS4=1
110 > SOUNDEX_CPPFLAGS=       -DSQLITE_SOUNDEX=1
111 > MEMMAN_CPPFLAGS=        -DSQLITE_ENABLE_MEMORY_MANAGEMENT=1
112 > UPD_DEL_LIMIT_CPPFLAGS= -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT=1
113 > SECURE_DELETE_CPPFLAGS= -DSQLITE_SECURE_DELETE=1
114 > UNLOCK_NOTIFY_CPPFLAGS= -DSQLITE_ENABLE_UNLOCK_NOTIFY=1
115 > METADATA_CPPFLAGS=      -DSQLITE_ENABLE_COLUMN_METADATA=1
116 > STAT3_CPPFLAGS= -DSQLITE_ENABLE_STAT3=1
117 > STAT4_CPPFLAGS= -DSQLITE_ENABLE_STAT4=1
118 > DBSTAT_CPPFLAGS=        -DSQLITE_ENABLE_DBSTAT_VTAB=1
119 > URI_CPPFLAGS=   -DSQLITE_USE_URI=1
120 > URI_AUTHORITY_CPPFLAGS= -DSQLITE_ALLOW_URI_AUTHORITY=1
121 > DIRECT_READ_CPPFLAGS=   -DSQLITE_DIRECT_OVERFLOW_READ=1
122 > ARMOR_CPPFLAGS= -DSQLITE_ENABLE_API_ARMOR=1
123 > STMT_CPPFLAGS=  -DSQLITE_ENABLE_STMT_SCANSTATUS=1
124 >
125 > EXTENSION_CONFIGURE_ENABLE=     dynamic-extensions
126 >
127 > THREADS_CONFIGURE_ENABLE=       threadsafe
128 > THREADS_LDFLAGS=                -lpthread
129 >
130 > ICU_BUILD_DEPENDS=      ${LOCALBASE}/bin/icu-config:${PORTSDIR}/devel/icu
131 > ICU_LIB_DEPENDS=        libicudata.so:${PORTSDIR}/devel/icu
132 > ICU_CPPFLAGS=   `${LOCALBASE}/bin/icu-config --cppflags` -DSQLITE_ENABLE_ICU=1
133 > ICU_LDFLAGS=    `${LOCALBASE}/bin/icu-config --ldflags`
134 >
135 > UNICODE61_CPPFLAGS_OFF= -DSQLITE_DISABLE_FTS3_UNICODE=1
136 >
137 > READLINE_CONFIGURE_ENABLE=      readline
138 > READLINE_USES=  readline
139 >
140 > .include <bsd.mport.options.mk>
141 >
142 > post-configure:
143 >        @${ECHO_MSG} "===> CONFIGURE_ARGS=${CONFIGURE_ARGS}"
144 >        @${ECHO_MSG} "===> CPPFLAGS=${CPPFLAGS}"
145 >        @${ECHO_MSG} "===> LDFLAGS=${LDFLAGS}"
146 >
147 > post-build:
148 > .if ${ARCH}=="i386"
149 >        @${ECHO_MSG} "===> WARNING: on ${ARCH} don't pass atof1-* tests"
150   .endif
151  
152   post-install:
87 .if defined(WITH_TCLWRAPPER)
88        @${INSTALL_PROGRAM} ${WRKSRC}/.libs/tclsqlite3 ${PREFIX}/bin
89        @${MKDIR} ${EXAMPLESDIR}
90        @${INSTALL_DATA} ${FILESDIR}/example.tcl ${EXAMPLESDIR}
91 .endif
92 .if !defined(NO_INSTALL_MANPAGES)
153          @${INSTALL_MAN} ${WRKSRC}/sqlite3.1 ${MANPREFIX}/man/man1
94 .endif
154  
155 < .include <bsd.port.post.mk>
155 > .include <bsd.port.mk>

Comparing trunk/databases/sqlite3/Makefile (property cvs2svn:cvs-rev):
Revision 12941 by laffer1, Wed Sep 26 19:53:50 2012 UTC vs.
Revision 19514 by laffer1, Wed Jun 24 01:11:59 2015 UTC

# Line 1 | Line 0
1 1.19

Comparing trunk/databases/sqlite3/Makefile (property svn:keywords):
Revision 12941 by laffer1, Wed Sep 26 19:53:50 2012 UTC vs.
Revision 19514 by laffer1, Wed Jun 24 01:11:59 2015 UTC

# Line 0 | Line 1
1 + MidnightBSD=%H

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines