blob: 67c210e6c2f770c466213979165cca3007ece7bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# $NetBSD: Makefile,v 1.10 2018/01/02 15:52:44 fhajny Exp $
.include "../../mail/dovecot2/Makefile.plugin"
PKGNAME= ${DISTNAME:S/dovecot/dovecot-sqlite/}
COMMENT+= (sqlite plugin)
CONFIGURE_ARGS+= --with-sql=plugin
CONFIGURE_ARGS+= --with-sqlite
INSTALLATION_DIRS+= lib/dovecot/auth lib/dovecot/dict
do-install:
cd ${WRKSRC} && ${LIBTOOL} --mode=install ${INSTALL_LIB} \
src/lib-sql/libdriver_sqlite.la \
${DESTDIR}${PREFIX}/lib/dovecot
${LN} -s ../libdriver_sqlite.so \
${DESTDIR}${PREFIX}/lib/dovecot/auth/libdriver_sqlite.so
${LN} -s ../libdriver_sqlite.so \
${DESTDIR}${PREFIX}/lib/dovecot/dict/libdriver_sqlite.so
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|