summaryrefslogtreecommitdiff
path: root/www/ap-auth-ldap/Makefile
blob: e9c40e62897d316307489e28163598d31867f43b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $NetBSD: Makefile,v 1.33 2010/02/20 14:58:44 joerg Exp $

DISTNAME=	auth_ldap-1.6.1
PKGNAME=	ap13-auth-ldap-1.6.1
PKGREVISION=	2
SVR4_PKGNAME=	apldap
CATEGORIES=	www databases
MASTER_SITES=	http://www.rudedog.org/auth_ldap/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.rudedog.org/auth_ldap/
COMMENT=	Module to allow apache authentication against an LDAP directory

PKG_DESTDIR_SUPPORT=	user-destdir

CONFLICTS=	ap-auth-ldap-[0-9]*

APACHE_MODULE_NAME=	auth_ldap.so
CPPFLAGS+=		-DWITH_OPENLDAP
LDFLAGS+=		-lldap -llber

post-install:
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/mod_auth_ldap
	${INSTALL_DATA} ${WRKSRC}/FAQ.html				\
		${DESTDIR}${PREFIX}/share/doc/mod_auth_ldap
	${INSTALL_DATA} ${WRKSRC}/auth_ldap.html			\
		${DESTDIR}${PREFIX}/share/doc/mod_auth_ldap
	${INSTALL_DATA} ${WRKSRC}/future-directions.html		\
		${DESTDIR}${PREFIX}/share/doc/mod_auth_ldap

.include "../../www/apache/module.mk"

.include "../../databases/openldap-client/buildlink3.mk"

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