update Sun Jan 17 06:37:00 PST 2010
[pkgsrc.git] / security / cy2-otp / Makefile
1 # $NetBSD: Makefile,v 1.13 2010/01/17 12:02:40 wiz Exp $
2
3 PKGNAME=        ${DISTNAME:S/cyrus-sasl/cy2-otp/}
4 PKGREVISION=    1
5 COMMENT=        Cyrus SASL OTP authentication plugin
6 SASL_PLUGIN=    yes
7
8 PKG_DESTDIR_SUPPORT=    user-destdir
9
10 CONFLICTS=      cyrus-sasl<=2.1.19nb1
11
12 .include "../../security/cyrus-sasl/Makefile.common"
13
14 CONFIGURE_ARGS+=        --enable-otp
15 CONFIGURE_ARGS+=        --with-openssl=${SSLBASE:Q}
16
17 BUILD_DIRS=     ${WRKSRC}/plugins
18 BUILD_TARGET=   libotp.la
19
20 .include "../../security/openssl/buildlink3.mk"
21
22 do-install:
23         ${INSTALL_DATA_DIR} ${DESTDIR}${PLUGINDIR}
24         cd ${WRKSRC}/plugins && ${SHLIBTOOL} --mode=install             \
25                 ${INSTALL_PROGRAM} libotp.la ${DESTDIR}${PLUGINDIR}
26
27 .include "../../mk/bsd.pkg.mk"