aboutsummaryrefslogtreecommitdiff
path: root/www/auth_ldap/Makefile
blob: a559dcc0569bf9656d0ba62718b09dad70851875 (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
# New ports collection makefile for:	auth_ldap
# Date created:				25 September 2001
# Whom:					nik
#
# $FreeBSD$
#

PORTNAME=	auth_ldap
PORTVERSION=	1.6.0
PORTREVISION=	1
CATEGORIES=	www 
MASTER_SITES=	http://www.rudedog.org/auth_ldap/

MAINTAINER=	nik@FreeBSD.org

BUILD_DEPENDS=	${APXS}:${PORTSDIR}/www/apache13
LIB_DEPENDS=	lber.2:${PORTSDIR}/net/openldap2
RUN_DEPENDS=	${APXS}:${PORTSDIR}/www/apache13

GNU_CONFIGURE=	yes
CONFIGURE_ENV+=	LIBS="-llber"
CONFIGURE_ARGS= --with-sdk-headers=${LOCALBASE}/include \
		--with-sdk-libs=${LOCALBASE}/lib \
		--with-ldap-sdk=openldap

USE_GMAKE=	yes

APXS?=		${LOCALBASE}/sbin/apxs

MAKE_ARGS+=	APXS=${APXS}

do-install:
	${APXS} -i -A -n ldap ${WRKSRC}/auth_ldap.so

.include <bsd.port.mk>