blob: 7a93e2aaa23204ca07e121ff7b76ad38c9171842 (
plain) (
blame)
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
|
# New ports collection makefile for: auth_ldap
# Date created: 25 September 2001
# Whom: nik
#
# $FreeBSD$
#
PORTNAME= auth_ldap
PORTVERSION= 1.6.0
PORTREVISION= 3
CATEGORIES= www
MASTER_SITES= http://www.rudedog.org/auth_ldap/
MAINTAINER= ports@FreeBSD.org
COMMENT= Apache module to authenticate against an LDAP directory
LIB_DEPENDS= lber.2:${PORTSDIR}/${LDAP_PORT}
USE_APACHE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV+= LIBS="-llber"
CONFIGURE_ARGS= --with-sdk-headers=${LOCALBASE}/include \
--with-sdk-libs=${LOCALBASE}/lib \
--with-ldap-sdk=openldap \
--with-apxs=${APXS}
USE_GMAKE= yes
LDAP_PORT?= net/openldap20-client
MAKE_ARGS+= APXS=${APXS}
post-patch:
${CP} -p ${WRKSRC}/auth_ldap.c ${WRKSRC}/mod_auth_ldap.c
do-install:
${APXS} -i -a -n auth_ldap ${WRKSRC}/mod_auth_ldap.so
.include <bsd.port.mk>
|