Lines 2-11
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= sqlite3 |
4 |
PORTNAME= sqlite3 |
5 |
PORTVERSION= 3.7.14.1 |
5 |
PORTVERSION= 3.7.16.1 |
6 |
CATEGORIES= databases |
6 |
CATEGORIES= databases |
7 |
MASTER_SITES= http://www.sqlite.org/ http://www2.sqlite.org/ http://www3.sqlite.org/ |
7 |
MASTER_SITES= http://www.sqlite.org/2013/ http://www2.sqlite.org/2013/ http://www3.sqlite.org/2013/ |
8 |
DISTNAME= sqlite-autoconf-3071401 |
8 |
DISTNAME= sqlite-autoconf-3071601 |
9 |
|
9 |
|
10 |
MAINTAINER= pavelivolkov@gmail.com |
10 |
MAINTAINER= pavelivolkov@gmail.com |
11 |
COMMENT= An SQL database engine in a C library |
11 |
COMMENT= An SQL database engine in a C library |
Lines 15-21
Link Here
|
15 |
LICENSE_TEXT= Description of the license can be obtained from the following URL: http://www.sqlite.org/copyright.html |
15 |
LICENSE_TEXT= Description of the license can be obtained from the following URL: http://www.sqlite.org/copyright.html |
16 |
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept |
16 |
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept |
17 |
|
17 |
|
18 |
CONFLICTS= sqlite34-[0-9]* sqlcipher-* |
18 |
CONFLICTS= sqlite34-[0-9]* sqlcipher-[0-9]* |
19 |
|
19 |
|
20 |
USE_PKGCONFIG= build |
20 |
USE_PKGCONFIG= build |
21 |
USE_LDCONFIG= YES |
21 |
USE_LDCONFIG= YES |
Lines 25-31
Link Here
|
25 |
|
25 |
|
26 |
# Compilation Options For SQLite http://www.sqlite.org/compile.html |
26 |
# Compilation Options For SQLite http://www.sqlite.org/compile.html |
27 |
OPTIONS_DEFINE= FTS3 ICU RTREE RAMTABLE UPD_DEL_LIMIT URI SOUNDEX METADATA \ |
27 |
OPTIONS_DEFINE= FTS3 ICU RTREE RAMTABLE UPD_DEL_LIMIT URI SOUNDEX METADATA \ |
28 |
STAT3 DIRECT_READ MEMMAN SECURE_DELETE UNLOCK_NOTIFY THREADSAFE \ |
28 |
STAT3 DIRECT_READ MEMMAN SECURE_DELETE UNLOCK_NOTIFY SQLLOG THREADSAFE \ |
29 |
EXTENSION |
29 |
EXTENSION |
30 |
OPTIONS_DEFAULT= FTS3 URI METADATA SECURE_DELETE UNLOCK_NOTIFY THREADSAFE EXTENSION |
30 |
OPTIONS_DEFAULT= FTS3 URI METADATA SECURE_DELETE UNLOCK_NOTIFY THREADSAFE EXTENSION |
31 |
FTS3_DESC= Enable FTS3/4 (Full Text Search) module |
31 |
FTS3_DESC= Enable FTS3/4 (Full Text Search) module |
Lines 41-46
Link Here
|
41 |
MEMMAN_DESC= Allows it to release unused memory |
41 |
MEMMAN_DESC= Allows it to release unused memory |
42 |
SECURE_DELETE_DESC= Overwrite deleted information with zeros |
42 |
SECURE_DELETE_DESC= Overwrite deleted information with zeros |
43 |
UNLOCK_NOTIFY_DESC= Enable notification on unlocking |
43 |
UNLOCK_NOTIFY_DESC= Enable notification on unlocking |
|
|
44 |
SQLLOG_DESC= Allow logging operations |
44 |
THREADSAFE_DESC= Build thread-safe library |
45 |
THREADSAFE_DESC= Build thread-safe library |
45 |
EXTENSION_DESC= Allow loadable extensions |
46 |
EXTENSION_DESC= Allow loadable extensions |
46 |
|
47 |
|
Lines 136-141
Link Here
|
136 |
CPPFLAGS+= -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 |
137 |
CPPFLAGS+= -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 |
137 |
.endif |
138 |
.endif |
138 |
|
139 |
|
|
|
140 |
.if ${PORT_OPTIONS:MSQLLOG} |
141 |
CPPFLAGS+= -DSQLITE_ENABLE_SQLLOG=1 |
142 |
.endif |
143 |
|
139 |
.if ${PORT_OPTIONS:MMETADATA} |
144 |
.if ${PORT_OPTIONS:MMETADATA} |
140 |
CPPFLAGS+= -DSQLITE_ENABLE_COLUMN_METADATA=1 |
145 |
CPPFLAGS+= -DSQLITE_ENABLE_COLUMN_METADATA=1 |
141 |
.endif |
146 |
.endif |
Lines 153-158
Link Here
|
153 |
CONFIGURE_ARGS+= --disable-dynamic-extensions |
158 |
CONFIGURE_ARGS+= --disable-dynamic-extensions |
154 |
.endif |
159 |
.endif |
155 |
|
160 |
|
|
|
161 |
post-patch: |
162 |
@${REINPLACE_CMD} '/^pkgconf/s,$${libdir},$${prefix}/libdata,' ${WRKSRC}/Makefile.in |
163 |
.if ${PORT_OPTIONS:MSQLLOG} |
164 |
@${ECHO_CMD} "void sqlite3_init_sqllog(void) { /* fake function */ }" >> ${WRKSRC}/shell.c |
165 |
.endif |
166 |
|
167 |
post-build: |
168 |
.if ${ARCH}=="i386" |
169 |
@${ECHO_MSG} "===> WARNING: on ${ARCH} don't pass atof1-* tests" |
170 |
.endif |
171 |
|
156 |
post-install: |
172 |
post-install: |
157 |
.if !defined(NO_INSTALL_MANPAGES) |
173 |
.if !defined(NO_INSTALL_MANPAGES) |
158 |
@${INSTALL_MAN} ${WRKSRC}/sqlite3.1 ${MANPREFIX}/man/man1 |
174 |
@${INSTALL_MAN} ${WRKSRC}/sqlite3.1 ${MANPREFIX}/man/man1 |