summaryrefslogtreecommitdiff
path: root/www/mod_vhost_ldap/Makefile
blob: 386c850b38d2a0dce5c7605722091d01958c390e (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
39
# New ports collection makefile for:	mod_vhost_ldap
# Date created:				Sep 10 2005
# Whom:					Clement Laforet <clement@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	mod_vhost_ldap
PORTVERSION=	0.2.6
CATEGORIES=	www
MASTER_SITES=	http://alioth.debian.org/download.php/1137/
DISTNAME=	${PORTNAME:S/_/-/g}-${PORTVERSION}
DIST_SUBDIR=	apache2

MAINTAINER=	apache@FreeBSD.org
COMMENT=	Virtual Hosting from ldap built on top of mod_ldap

USE_BZIP2=	YES
USE_OPENLDAP=	YES

WANT_APACHE=	2
AP_FAST_BUILD=	YES
AP_GENPLIST=	YES
AP_LIB+=	${LOCALBASE}/lib -lldap
AP_EXTRAS+=	-DMOD_VHOST_LDAP_VERSION=\\\"mod_vhost_ldap/${PORTVERSION}\\\"

PORTDOCS=	mod_vhost_ldap.schema vhost_ldap.conf COPYING

.if defined(PACKAGE_BUILDING)
IGNORE=		Requires support of LDAP in apache 2.0.x port
.endif

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/www/apache20/Makefile.modules.3rd"
post-install:
	@${MKDIR} ${DOCSDIR}
	@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}

.include <bsd.port.post.mk>