2000-08-01 14:48:21 +00:00
|
|
|
# New ports collection makefile for: web2ldap
|
|
|
|
# Date created: 21 July 2000
|
|
|
|
# Whom: Oddbjorn Steffensen <oddbjorn@tricknology.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2001-01-16 17:33:20 +00:00
|
|
|
PORTNAME= web2ldap
|
|
|
|
PORTVERSION= 0.8.1
|
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://www.web2ldap.de/download/ \
|
|
|
|
http://www.tricknolgy.org/ports/
|
2000-08-01 14:48:21 +00:00
|
|
|
|
2001-01-16 17:33:20 +00:00
|
|
|
MAINTAINER= oddbjorn@tricknology.org
|
2000-08-01 14:48:21 +00:00
|
|
|
|
2001-01-16 17:33:20 +00:00
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_ldapmodule.so:${PORTSDIR}/net/ldapmodule
|
2000-08-01 14:48:21 +00:00
|
|
|
|
2001-01-16 17:33:20 +00:00
|
|
|
NO_BUILD= yes
|
|
|
|
USE_PYTHON= yes
|
|
|
|
PYTHON_VERSION= python2.0
|
2000-08-01 14:48:21 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${PREFIX}/${PORTNAME}
|
|
|
|
@${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/cgi-bin/web2ldap.py.orig
|
|
|
|
@${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/sbin/web2ldap.py.orig
|
|
|
|
@${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/sbin/compile.py.orig
|
|
|
|
@${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/etc/mime.types.orig
|
|
|
|
@${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/etc/web2ldap/web2ldapcnf/misc.py.orig
|
|
|
|
@${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/etc/web2ldap/web2ldapcnf/standalone.py.orig
|
2001-01-12 16:43:17 +00:00
|
|
|
@${RM} -f ${WRKDIR}/${PORTNAME}-${PORTVERSION}/etc/web2ldap/web2ldapcnf/hosts.py.orig
|
2000-08-01 14:48:21 +00:00
|
|
|
@${LOCALBASE}/bin/python ${WRKDIR}/${PORTNAME}-${PORTVERSION}/sbin/compile.py
|
|
|
|
@${CP} -r ${WRKDIR}/${PORTNAME}-${PORTVERSION}/ ${PREFIX}/${PORTNAME}
|
|
|
|
@if [ -w /var/log ]; then ${MKDIR} /var/log/web2ldap; fi
|
|
|
|
|
|
|
|
post-install:
|
2000-10-08 10:23:48 +00:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2000-08-01 14:48:21 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|