summaryrefslogtreecommitdiff
path: root/security/cy2-anonymous/Makefile
blob: 26cebef3a30c96c8d72a2b36065fa28ef4ff9707 (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.4 2006/02/05 23:10:42 joerg Exp $

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

CONFLICTS=	cyrus-sasl<=2.1.19nb1

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

CONFIGURE_ARGS+=	--enable-anonymous

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

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

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