summaryrefslogtreecommitdiff
path: root/security/cy2-plain/Makefile
blob: d9a8c68c38429e7136da604016e73f1d3c7876f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $NetBSD: Makefile,v 1.5 2006/04/13 21:45:14 wiz Exp $

PKGNAME=	${DISTNAME:S/cyrus-sasl/cy2-plain/}
PKGREVISION=	1
COMMENT=	Cyrus SASL PLAIN authentication plugin
SASL_PLUGIN=	yes

CONFLICTS=	cyrus-sasl<=2.1.19nb1

.include "../../security/cyrus-sasl/Makefile.common"

CONFIGURE_ARGS+=	--enable-plain

BUILD_DIRS=	${WRKSRC}/plugins
BUILD_TARGET=	libplain.la

do-install:
	${INSTALL_DATA_DIR} ${PLUGINDIR}
	cd ${WRKSRC}/plugins && ${SHLIBTOOL} --mode=install		\
		${INSTALL_PROGRAM} libplain.la ${PLUGINDIR}

.include "../../mk/bsd.pkg.mk"