pkgsrc/security/cy2-login/Makefile

26 lines
736 B
Makefile
Raw Normal View History

2008-08-12 12:16:54 +02:00
# $NetBSD: Makefile,v 1.14 2008/08/12 10:16:54 obache Exp $
PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-login/}
COMMENT= Cyrus SASL LOGIN authentication plugin
SASL_PLUGIN= yes
2008-08-12 12:16:54 +02:00
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../security/cyrus-sasl/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.
#
2004-08-13 09:11:57 +02:00
CONFIGURE_ARGS+= --enable-login
CONFIGURE_ARGS+= --enable-plain
BUILD_DIRS= ${WRKSRC}/plugins
BUILD_TARGET= liblogin.la
do-install:
2008-08-12 12:16:54 +02:00
${INSTALL_DATA_DIR} ${DESTDIR}${PLUGINDIR}
2004-08-13 09:11:57 +02:00
cd ${WRKSRC}/plugins && ${SHLIBTOOL} --mode=install \
2008-08-12 12:16:54 +02:00
${INSTALL_PROGRAM} liblogin.la ${DESTDIR}${PLUGINDIR}
.include "../../mk/bsd.pkg.mk"