2006-04-18 19:42:12 +02:00
|
|
|
# $NetBSD: Makefile,v 1.13 2006/04/18 17:42:12 jlam Exp $
|
2003-03-19 23:28:23 +01:00
|
|
|
|
|
|
|
PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-login/}
|
|
|
|
COMMENT= Cyrus SASL LOGIN authentication plugin
|
2004-03-29 07:47:30 +02:00
|
|
|
SASL_PLUGIN= yes
|
2003-03-19 23:28:23 +01:00
|
|
|
|
2006-04-13 23:45:12 +02:00
|
|
|
.include "../../security/cyrus-sasl/Makefile.common"
|
2003-03-19 23:28:23 +01:00
|
|
|
|
|
|
|
# We need to configure the PLAIN plugin as well since some of the important
|
|
|
|
# build variables for the LOGIN plugin are only set if PLAIN is configured.
|
|
|
|
#
|
2004-08-13 09:11:57 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-login
|
|
|
|
CONFIGURE_ARGS+= --enable-plain
|
2003-03-19 23:28:23 +01:00
|
|
|
|
|
|
|
BUILD_DIRS= ${WRKSRC}/plugins
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= liblogin.la
|
2003-03-19 23:28:23 +01:00
|
|
|
|
|
|
|
do-install:
|
2004-01-08 23:13:14 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PLUGINDIR}
|
2004-08-13 09:11:57 +02:00
|
|
|
cd ${WRKSRC}/plugins && ${SHLIBTOOL} --mode=install \
|
2003-09-13 21:18:16 +02:00
|
|
|
${INSTALL_PROGRAM} liblogin.la ${PLUGINDIR}
|
2003-03-19 23:28:23 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|