blob: ba51391b4b9e569669606707435228d3e8e9de26 (
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
|
# $NetBSD: Makefile,v 1.84 2017/01/02 17:52:24 adam Exp $
.include "../../databases/sqlite3/Makefile.common"
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"
|