pkgsrc/security/cy2-ntlm/Makefile
2018-12-09 21:05:32 +00:00

22 lines
592 B
Makefile

# $NetBSD: Makefile,v 1.30 2018/12/09 21:05:34 adam Exp $
PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-ntlm/}
COMMENT= Cyrus SASL NTLM authentication plugin
SASL_PLUGIN= yes
.include "../../security/cyrus-sasl/Makefile.common"
CONFIGURE_ARGS+= --enable-ntlm
CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q}
BUILD_DIRS= plugins
BUILD_TARGET= libntlm.la
.include "../../security/openssl/buildlink3.mk"
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PLUGINDIR}
cd ${WRKSRC}/plugins && ${SHLIBTOOL} --mode=install \
${INSTALL_PROGRAM} libntlm.la ${DESTDIR}${PLUGINDIR}
.include "../../mk/bsd.pkg.mk"