2004-02-12 14:40:42 +01:00
|
|
|
# $NetBSD: Makefile,v 1.4 2004/02/12 13:40:42 jlam Exp $
|
2003-03-19 23:28:23 +01:00
|
|
|
|
|
|
|
PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-login/}
|
|
|
|
COMMENT= Cyrus SASL LOGIN authentication plugin
|
|
|
|
SASL_PLUGIN= YES
|
|
|
|
|
|
|
|
.include "../cyrus-sasl2/Makefile.common"
|
|
|
|
|
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
CONFIGURE_ARGS+= --enable-login # LOGIN
|
|
|
|
CONFIGURE_ARGS+= --enable-plain # PLAIN
|
|
|
|
|
|
|
|
BUILD_DIRS= ${WRKSRC}/plugins
|
|
|
|
ALL_TARGET= liblogin.la
|
|
|
|
|
|
|
|
do-install:
|
2004-01-08 23:13:14 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PLUGINDIR}
|
2003-03-19 23:28:23 +01:00
|
|
|
cd ${WRKSRC}/plugins && \
|
2004-02-12 14:40:42 +01:00
|
|
|
${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"
|