1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/www/auth_ldap/Makefile
Dirk Meyer 284c030888 - New option LDAP_PORT
- Fix LIB_DEPENDS to catch rename of openldap20 to openldap20-client
- Make portlint happier
2003-08-14 18:00:01 +00:00

42 lines
957 B
Makefile

# New ports collection makefile for: auth_ldap
# Date created: 25 September 2001
# Whom: nik
#
# $FreeBSD$
#
PORTNAME= auth_ldap
PORTVERSION= 1.6.0
PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= http://www.rudedog.org/auth_ldap/
MAINTAINER= ports@FreeBSD.org
COMMENT= Apache module to authenticate against an LDAP directory
BUILD_DEPENDS= ${APXS}:${APACHE_PORT}
LIB_DEPENDS= lber.2:${PORTSDIR}/${LDAP_PORT}
RUN_DEPENDS= ${APXS}:${APACHE_PORT}
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
APXS?= ${LOCALBASE}/sbin/apxs
APACHE_PORT?= ${PORTSDIR}/www/apache13
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>