1 # $NetBSD: Makefile,v 1.15 2012/10/23 18:16:23 asau Exp $
3 PKGNAME
= ${DISTNAME
:S
/cyrus-sasl
/cy2-login
/}
4 COMMENT
= Cyrus SASL LOGIN authentication plugin
7 .
include "../../security/cyrus-sasl/Makefile.common"
9 # We need to configure the PLAIN plugin as well since some of the important
10 # build variables for the LOGIN plugin are only set if PLAIN is configured.
12 CONFIGURE_ARGS
+= --enable-login
13 CONFIGURE_ARGS
+= --enable-plain
16 BUILD_TARGET
= liblogin.la
19 ${INSTALL_DATA_DIR} ${DESTDIR}${PLUGINDIR}
20 cd
${WRKSRC}/plugins
&& ${SHLIBTOOL} --mode
=install \
21 ${INSTALL_PROGRAM} liblogin.la
${DESTDIR}${PLUGINDIR}
23 .
include "../../mk/bsd.pkg.mk"