aboutsummaryrefslogtreecommitdiff
path: root/www/web2ldap/Makefile
diff options
context:
space:
mode:
authorRoman Bogorodskiy <novel@FreeBSD.org>2005-07-15 05:12:26 +0000
committerRoman Bogorodskiy <novel@FreeBSD.org>2005-07-15 05:12:26 +0000
commit7d981b30a0814635536ba21c3089da3b5055797e (patch)
treea1a9c80ba1b7b9f5ace375ebd81232c9a0ab8876 /www/web2ldap/Makefile
parent3aef0295602aa7c50aa088cb72dfada6c81cf217 (diff)
Update to 0.15.12.
PR: 83480 Submitted by: Vsevolod Stakhov <vsevolod@highsecure.ru> Approved by: Boris Samorodov (maintainer)
Notes
Notes: svn path=/head/; revision=139246
Diffstat (limited to 'www/web2ldap/Makefile')
-rw-r--r--www/web2ldap/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/www/web2ldap/Makefile b/www/web2ldap/Makefile
index 7186de5a0562..d4a036c71ec4 100644
--- a/www/web2ldap/Makefile
+++ b/www/web2ldap/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= web2ldap
-PORTVERSION= 0.15.11
+PORTVERSION= 0.15.12
CATEGORIES= www
MASTER_SITES= http://www.web2ldap.de/download/ \
http://www.tricknology.org/ports/
@@ -18,7 +18,6 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_ldap.so:${PORTSDIR}/net/py-ldap2 \
${PYTHON_SITELIBDIR}/pyweblib/__init__.py:${PORTSDIR}/www/pyweblib \
${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support
-NO_BUILD= yes
USE_PYTHON= yes
USE_REINPLACE= yes
@@ -28,6 +27,9 @@ post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/etc/web2ldap/web2ldapcnf/standalone.py
+do-build:
+ @(cd ${WRKSRC} && ${PYTHON_CMD} ./sbin/compile.py)
+
do-install:
@${MKDIR} ${PREFIX}/${PORTNAME}
@${RM} -f ${WRKSRC}/fcgi/web2ldap.py.orig
@@ -36,7 +38,6 @@ do-install:
@${RM} -f ${WRKSRC}/etc/web2ldap/web2ldapcnf/standalone.py.bak
@${RM} -f ${WRKSRC}/sbin/compile.py.orig
@${RM} -f ${WRKSRC}/sbin/web2ldap.py.orig
- @(cd ${WRKSRC} && ${PYTHON_CMD} ./sbin/compile.py)
@${CP} -r ${WRKSRC}/ ${PREFIX}/${PORTNAME}
@if [ -w /var/log ]; then ${MKDIR} /var/log/web2ldap; fi