aboutsummaryrefslogtreecommitdiff
path: root/www/web2ldap
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2013-05-24 10:24:42 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2013-05-24 10:24:42 +0000
commite9c67a7ea809e730105dbb108899472f2bd3f866 (patch)
tree334e331ea53475d9d72ae0d3b3afd1315c19b28a /www/web2ldap
parentebed0148e43924abcc0aae176de87590c23b1943 (diff)
downloadports-e9c67a7ea809e730105dbb108899472f2bd3f866.tar.gz
ports-e9c67a7ea809e730105dbb108899472f2bd3f866.zip
. update to version 1.1.34;
. optionify ports DOCS usage; . pet portlint: use -delete args of a find command instead of '| rm xargs'.
Notes
Notes: svn path=/head/; revision=318951
Diffstat (limited to 'www/web2ldap')
-rw-r--r--www/web2ldap/Makefile10
-rw-r--r--www/web2ldap/distinfo4
2 files changed, 8 insertions, 6 deletions
diff --git a/www/web2ldap/Makefile b/www/web2ldap/Makefile
index 5a48c2250233..919d7c54b056 100644
--- a/www/web2ldap/Makefile
+++ b/www/web2ldap/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= web2ldap
-PORTVERSION= 1.1.33
+PORTVERSION= 1.1.34
CATEGORIES= www
MASTER_SITES= http://www.web2ldap.de/download/ \
http://www.sfr-fresh.com/unix/www/
@@ -15,14 +15,14 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ldap2>=2.4.0:${PORTSDIR}/net/py-ldap2 \
${PYTHON_SITELIBDIR}/ipaddr.py:${PORTSDIR}/devel/py-ipaddr \
${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support
+OPTIONS_DEFINE= DOCS
USE_PYTHON= yes
-
SUB_FILES= pkg-message
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/etc/web2ldap/web2ldapcnf/standalone.py
- @${FIND} ${WRKSRC} -name '*.orig' -o -name '*.bak' | ${XARGS} ${RM}
+ @${FIND} ${WRKSRC} -name '*.orig' -delete -o -name '*.bak' -delete
do-build:
@(cd ${WRKSRC} && ${PYTHON_CMD} ./sbin/compile.py)
@@ -34,8 +34,10 @@ do-install:
${FIND} * -type d | ${GREP} -vE "^htdocs" | ${CPIO} -p ${DATADIR}; \
${FIND} * -type f | ${GREP} -vE "^htdocs" | ${CPIO} -pd ${DATADIR})
+.include <bsd.port.options.mk>
+
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${ECHO_CMD} "==> Installing document files..."
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC}; \
diff --git a/www/web2ldap/distinfo b/www/web2ldap/distinfo
index a9e0dbb86665..fed016577e88 100644
--- a/www/web2ldap/distinfo
+++ b/www/web2ldap/distinfo
@@ -1,2 +1,2 @@
-SHA256 (web2ldap-1.1.33.tar.gz) = 945fc1929d5a6142653eb9e3525a1dffaf47f280d4d597dcbd8eda3e093bdeb2
-SIZE (web2ldap-1.1.33.tar.gz) = 503173
+SHA256 (web2ldap-1.1.34.tar.gz) = de3a7c2412bca2e2ec04701d6be45c80b081185ac411ce5318100d14ca16b5ff
+SIZE (web2ldap-1.1.34.tar.gz) = 503097