mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
5bbd5cd2dc
Suggested by: rafan
36 lines
766 B
Makefile
36 lines
766 B
Makefile
# New ports collection makefile for: auth_ldap
|
|
# Date created: 25 September 2001
|
|
# Whom: nik
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= auth_ldap
|
|
PORTVERSION= 1.6.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.rudedog.org/auth_ldap/
|
|
|
|
MAINTAINER= apache@FreeBSD.org
|
|
COMMENT= Apache module to authenticate against an LDAP directory
|
|
|
|
USE_OPENLDAP= yes
|
|
USE_APACHE= 13
|
|
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
|
|
|
|
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>
|