blob: 0e2a57959eec3e955c5dd07a14afc11273e5692c (
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
|
# $NetBSD: Makefile,v 1.6 2020/02/12 14:01:59 taca Exp $
.include "../../mail/dovecot2/Makefile.common"
PKGNAME= ${DISTNAME:S/dovecot/dovecot-ldap/}
COMMENT+= (LDAP plugin)
CONFIGURE_ARGS+= --with-ldap=plugin
INSTALLATION_DIRS+= include/dovecot \
lib/dovecot/auth lib/dovecot/dict
do-install:
cd ${WRKSRC} && \
${LIBTOOL} --mode=install ${INSTALL_LIB} \
src/auth/libauthdb_ldap.la \
${DESTDIR}${PREFIX}/lib/dovecot/auth && \
${LIBTOOL} --mode=install ${INSTALL_LIB} \
src/lib-ldap/libdovecot-ldap.la \
${DESTDIR}${PREFIX}/lib/dovecot && \
${LIBTOOL} --mode=install ${INSTALL_LIB} \
src/lib-dict-backend/libdict_ldap.la \
${DESTDIR}${PREFIX}/lib/dovecot/dict
${INSTALL_DATA} ${WRKSRC}/src/lib-ldap/ldap-client.h \
${DESTDIR}${PREFIX}/include/dovecot
.include "../../databases/openldap-client/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|