1 |
< |
# $MidnightBSD: mports/databases/sqlite3/Makefile,v 1.22 2013/06/14 01:36:19 laffer1 Exp $ |
1 |
> |
# $MidnightBSD$ |
2 |
|
|
3 |
|
PORTNAME= sqlite3 |
4 |
< |
PORTVERSION= 3.7.17 |
5 |
< |
CATEGORIES= databases lang |
6 |
< |
MASTER_SITES= http://www.sqlite.org/2013/ \ |
7 |
< |
http://www2.sqlite.org/2013/ \ |
8 |
< |
http://www3.sqlite.org/2013/ |
9 |
< |
DISTNAME= sqlite-autoconf-3071700 |
4 |
> |
PORTVERSION= 3.8.9.0 |
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-3080900 |
8 |
|
|
9 |
|
MAINTAINER= ports@MidnightBSD.org |
10 |
|
COMMENT= SQL database engine in a C library |
11 |
+ |
|
12 |
|
LICENSE= publicdom |
13 |
|
|
14 |
|
CONFLICTS= sqlite34-[0-9]* sqlcipher-[0-9]* |
20 |
|
MAKE_JOBS_UNSAFE= yes |
21 |
|
|
22 |
|
# Compilation Options For SQLite http://www.sqlite.org/compile.html |
23 |
< |
OPTIONS_DEFINE= FTS3 ICU RTREE RAMTABLE UPD_DEL_LIMIT URI SOUNDEX METADATA \ |
23 |
> |
OPTIONS_DEFINE= FTS3 ICU RTREE RAMTABLE UPD_DEL_LIMIT URI URI_AUTHORITY SOUNDEX METADATA \ |
24 |
|
STAT3 DIRECT_READ MEMMAN SECURE_DELETE UNLOCK_NOTIFY THREADSAFE \ |
25 |
|
EXTENSION |
26 |
|
OPTIONS_DEFAULT= FTS3 URI METADATA SECURE_DELETE UNLOCK_NOTIFY THREADSAFE EXTENSION |
30 |
|
RAMTABLE_DESC= Store temporary tables in RAM = ${TEMP_STORE} |
31 |
|
UPD_DEL_LIMIT_DESC= ORDER BY and LIMIT on UPDATE and DELETE |
32 |
|
URI_DESC= Enable use the URI filename |
33 |
+ |
URI_AUTHORITY_DESC= Allow convert URL into a UNC |
34 |
|
SOUNDEX_DESC= Enables the soundex() SQL function |
35 |
|
METADATA_DESC= Enable column metadata |
36 |
|
STAT3_DESC= Help SQLite to chose a better query plan |
43 |
|
|
44 |
|
.include <bsd.mport.options.mk> |
45 |
|
|
46 |
– |
.if !defined(NO_INSTALL_MANPAGES) |
47 |
– |
MAN1= sqlite3.1 |
48 |
– |
.endif |
49 |
– |
|
46 |
|
# NAME83 "Enable use 8.3 filename for temp files" off \ |
47 |
|
# Some devices are compelled to use an older file system with 8+3 filename |
48 |
|
# restrictions for backwards compatibility, or due to other non-technical factors. |
76 |
|
CPPFLAGS+= -DSQLITE_USE_URI=1 |
77 |
|
.endif |
78 |
|
|
79 |
+ |
.if ${PORT_OPTIONS:MURI_AUTHORITY} |
80 |
+ |
CPPFLAGS+= -DSQLITE_ALLOW_URI_AUTHORITY=1 |
81 |
+ |
.endif |
82 |
+ |
|
83 |
|
.if ${PORT_OPTIONS:MSOUNDEX} |
84 |
|
CPPFLAGS+= -DSQLITE_SOUNDEX=1 |
85 |
|
.endif |
152 |
|
.endif |
153 |
|
|
154 |
|
post-install: |
155 |
– |
.if !defined(NO_INSTALL_MANPAGES) |
155 |
|
@${INSTALL_MAN} ${WRKSRC}/sqlite3.1 ${MANPREFIX}/man/man1 |
157 |
– |
.endif |
156 |
|
|
157 |
|
.include <bsd.port.mk> |