2000-08-01 16:48:21 +02:00
|
|
|
# New ports collection makefile for: web2ldap
|
|
|
|
# Date created: 21 July 2000
|
|
|
|
# Whom: Oddbjorn Steffensen <oddbjorn@tricknology.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2001-01-16 18:33:20 +01:00
|
|
|
PORTNAME= web2ldap
|
2002-03-23 11:44:56 +01:00
|
|
|
PORTVERSION= 0.10.4
|
2001-01-16 18:33:20 +01:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://www.web2ldap.de/download/ \
|
2001-04-12 04:06:31 +02:00
|
|
|
http://www.tricknology.org/ports/
|
2000-08-01 16:48:21 +02:00
|
|
|
|
2001-01-16 18:33:20 +01:00
|
|
|
MAINTAINER= oddbjorn@tricknology.org
|
2003-02-21 15:08:24 +01:00
|
|
|
COMMENT= Python-based WWW gateway to LDAP servers
|
2000-08-01 16:48:21 +02:00
|
|
|
|
2002-03-23 11:44:56 +01:00
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_ldap.so:${PORTSDIR}/net/py-ldap2
|
2000-08-01 16:48:21 +02:00
|
|
|
|
2001-01-16 18:33:20 +01:00
|
|
|
NO_BUILD= yes
|
|
|
|
USE_PYTHON= yes
|
2000-08-01 16:48:21 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${PREFIX}/${PORTNAME}
|
2002-03-23 11:44:56 +01:00
|
|
|
@${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/contrib/occonf2ldapoc-esj.py.orig
|
|
|
|
@${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/fcgi/web2ldap.py.orig
|
|
|
|
@${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/sbin/occonf2ldapoc.py.orig
|
|
|
|
@${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/sbin/pickleasn1cfg.py.orig
|
2000-08-01 16:48:21 +02:00
|
|
|
@${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/etc/web2ldap/web2ldapcnf/standalone.py.orig
|
2002-03-23 11:44:56 +01:00
|
|
|
@${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/etc/mime.types.orig
|
|
|
|
@${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/sbin/compile.py.orig
|
|
|
|
@${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/sbin/web2ldap.py.orig
|
2002-06-09 16:32:44 +02:00
|
|
|
@(cd ${WRKSRC} && ${LOCALBASE}/bin/python ./sbin/compile.py)
|
2000-08-01 16:48:21 +02:00
|
|
|
@${CP} -r ${WRKDIR}/${PORTNAME}-${PORTVERSION}/ ${PREFIX}/${PORTNAME}
|
|
|
|
@if [ -w /var/log ]; then ${MKDIR} /var/log/web2ldap; fi
|
|
|
|
|
|
|
|
post-install:
|
2000-10-08 12:23:48 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2000-08-01 16:48:21 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|