blob: a0036f1ed1a1e60bc6e6d4e424a4afd9bb77c955 (
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
36
37
38
39
40
|
# $NetBSD: Makefile,v 1.12 2006/04/22 09:22:16 rillig Exp $
DISTNAME= mod_auth_ldap3.05
PKGNAME= ap2-auth-ldap-3.05
PKGREVISION= 3
CATEGORIES= www databases
MASTER_SITES= http://www.muquit.com/muquit/software/mod_auth_ldap/
MAINTAINER= adrianp@NetBSD.org
HOMEPAGE= ${MASTER_SITES}/mod_auth_ldap.html
COMMENT= Module to allow apache2 authentication against an LDAP directory
GNU_CONFIGURE= YES
APACHE_MODULE= YES
APACHE_MODULE_NAME= mm_auth_ldap_module
USE_LIBTOOL= YES
CPPFLAGS+= -L${PREFIX}/lib ${COMPILER_RPATH_FLAG}${PREFIX}/lib -lldap -llber
BUILDLINK_API_DEPENDS.apache+= apache>=2.0.47
CONFIGURE_ARGS+= --with-apxs=${APXS:Q}
CONFIGURE_ARGS+= --with-ldap-dir=${BUILDLINK_PREFIX.openldap}
CONFIGURE_ARGS+= --with-apache-dir=${PREFIX:Q}
CONFIGURE_ARGS+= --with-apache-ver=2
SUBST_CLASSES+= paths
SUBST_STAGE.paths= post-patch
SUBST_FILES.paths= configure
SUBST_SED.paths= -e "s|@@HASHLIB@@|${PREFIX}/include|g" \
-e "s|@@HASHINC@@|${PREFIX}/lib|g"
SUBST_MESSAGE.paths= Fixing hardcoded paths.
do-install:
cd ${WRKSRC} && ${APXS} -i -n ${APACHE_MODULE_NAME} mod_auth_ldap.la
.include "../../databases/openldap/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../www/apache2/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|