summaryrefslogtreecommitdiffstats
path: root/www/web2ldap/Makefile
blob: ef84152c6c1e07b21baedd5cbb27df16c1b8c728 (plain)
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:   web2ldap
# Date created:        21 July 2000
# Whom:                Oddbjorn Steffensen <oddbjorn@tricknology.org>
#
# $FreeBSD$
#

PORTNAME=	web2ldap
PORTVERSION=	0.15.10
CATEGORIES=	www
MASTER_SITES=	http://www.web2ldap.de/download/ \
		http://www.tricknology.org/ports/

MAINTAINER=	bsam@ipt.ru
COMMENT=	Python-based WWW gateway to LDAP servers

RUN_DEPENDS=	${PYTHON_SITELIBDIR}/_ldap.so:${PORTSDIR}/net/py-ldap2

NO_BUILD=	yes
USE_PYTHON=	yes

SUB_FILES=	pkg-message

do-install:
	@${MKDIR} ${PREFIX}/${PORTNAME}
	@${RM} -f ${WRKSRC}/fcgi/web2ldap.py.orig
	@${RM} -f ${WRKSRC}/scgi/web2ldap.py.orig
	@${RM} -f ${WRKSRC}/etc/web2ldap/web2ldapcnf/standalone.py.orig
	@${RM} -f ${WRKSRC}/etc/mime.types.orig
	@${RM} -f ${WRKSRC}/sbin/compile.py.orig
	@${RM} -f ${WRKSRC}/sbin/web2ldap.py.orig
	@(cd ${WRKSRC} && ${LOCALBASE}/bin/python ./sbin/compile.py)
	@${CP} -r ${WRKSRC}/ ${PREFIX}/${PORTNAME}
	@if [ -w /var/log ]; then ${MKDIR} /var/log/web2ldap; fi

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud