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$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= web2ldap
|
2000-08-06 14:50:56 +00:00
|
|
|
PORTVERSION= 0.7.9
|
2000-08-01 14:48:21 +00:00
|
|
|
CATEGORIES= www
|
2000-10-09 01:29:07 +00:00
|
|
|
MASTER_SITES= http://sites.inka.de/ms/python/web2ldap/download/ \
|
|
|
|
http://www.tricknolgy.org/ports/
|
2000-08-01 14:48:21 +00:00
|
|
|
|
|
|
|
MAINTAINER= oddbjorn@tricknology.org
|
|
|
|
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/python:${PORTSDIR}/lang/python \
|
|
|
|
${LOCALBASE}/lib/python1.5/site-packages/ldapmodule.so:${PORTSDIR}/net/ldapmodule
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
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
|
|
|
|
@${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>
|