pkgsrc/security/cy2-ldapdb/Makefile

23 lines
641 B
Makefile

# $NetBSD: Makefile,v 1.9 2013/04/06 15:46:38 rodent Exp $
PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-ldapdb/}
PKGREVISION= 1
COMMENT= Cyrus SASL LDAPDB authentication plugin
SASL_PLUGIN= yes
.include "../../security/cyrus-sasl/Makefile.common"
CONFIGURE_ARGS+= --with-ldap=${BUILDLINK_PREFIX.openldap}
CONFIGURE_ARGS+= --enable-ldapdb
BUILD_DIRS= plugins
BUILD_TARGET= libldapdb.la
.include "../../databases/openldap-client/buildlink3.mk"
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PLUGINDIR}
cd ${WRKSRC}/plugins && ${SHLIBTOOL} --mode=install \
${INSTALL_PROGRAM} libldapdb.la ${DESTDIR}${PLUGINDIR}
.include "../../mk/bsd.pkg.mk"