blob: f2f9aa42f02ba01e3734df0bcb406c08ad6ea21a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# $NetBSD: Makefile,v 1.106 2021/04/21 11:41:21 adam Exp $
PKGREVISION= 1
.include "../../databases/sqlite3/Makefile.common"
DISTNAME= sqlite-autoconf-${SQLITE3_DISTVERSION}
PKGNAME= sqlite3-tcl-${SQLITE3_VERSION}
CATEGORIES= databases
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= SQL Database Engine in a C Library (TCL extension)
WRKSRC= ${WRKDIR}/${DISTNAME}/tea
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl}/lib
PLIST_SUBST+= TCL_TRIM_DOTS=${PKGVERSION_NOREV:S/.//g}
BUILDLINK_API_DEPENDS.sqlite3+= sqlite3>=3.6.10
# avoid conflict with lang/tcl
post-extract:
mv ${WRKSRC}/doc/sqlite3.n ${WRKSRC}/doc/sqlite3-tcl.n
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
post-install:
install_name_tool -id \
${PREFIX}/lib/sqlite3/libsqlite${PKGVERSION_NOREV}.dylib \
${DESTDIR}${PREFIX}/lib/sqlite3/libsqlite${PKGVERSION_NOREV}.dylib
.endif
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../lang/tcl/buildlink3.mk"
.include "../../mk/readline.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|