pkgsrc/security/cy2-otp/Makefile

25 lines
611 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.9 2006/04/18 17:42:12 jlam Exp $
PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-otp/}
COMMENT= Cyrus SASL OTP authentication plugin
SASL_PLUGIN= yes
CONFLICTS= cyrus-sasl<=2.1.19nb1
.include "../../security/cyrus-sasl/Makefile.common"
CONFIGURE_ARGS+= --enable-otp
CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q}
BUILD_DIRS= ${WRKSRC}/plugins
BUILD_TARGET= libotp.la
.include "../../security/openssl/buildlink3.mk"
do-install:
${INSTALL_DATA_DIR} ${PLUGINDIR}
cd ${WRKSRC}/plugins && ${SHLIBTOOL} --mode=install \
${INSTALL_PROGRAM} libotp.la ${PLUGINDIR}
.include "../../mk/bsd.pkg.mk"