svn commit: r396488 - head/www/web2ldap
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Sep 9 13:54:56 UTC 2015
Author: amdmi3
Date: Wed Sep 9 13:54:56 2015
New Revision: 396488
URL: https://svnweb.freebsd.org/changeset/ports/396488
Log:
- Fix shebangs
- Add NO_ARCH
Approved by: portmgr blanket
MFH: 2015Q3 (blanket)
Modified:
head/www/web2ldap/Makefile
Modified: head/www/web2ldap/Makefile
==============================================================================
--- head/www/web2ldap/Makefile Wed Sep 9 13:54:23 2015 (r396487)
+++ head/www/web2ldap/Makefile Wed Sep 9 13:54:56 2015 (r396488)
@@ -3,7 +3,7 @@
PORTNAME= web2ldap
PORTVERSION= 1.2.19
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www
MASTER_SITES= http://www.web2ldap.de/download/ \
http://www.sfr-fresh.com/unix/www/ \
@@ -23,12 +23,15 @@ OPTIONS_DEFINE= DOCS
USES= cpe python:2 shebangfix
SHEBANG_FILES= sbin/*.py fcgi/*.py
SUB_FILES= pkg-message
+NO_ARCH= yes
PORTDOCS= *
PORTDATA= *
PLIST_DIRS= %%DATADIR%%/var/log %%DATADIR%%/var/run
post-patch:
+ @${REINPLACE_CMD} -e 's|/opt/fcgi/bin/cgi-fcgi|${LOCALBASE}/bin/cgi-fcgi|g' \
+ ${WRKSRC}/cgi-bin/web2ldap.cgi
@${REINPLACE_CMD} -e 's|/etc|${LOCALBASE}/etc|g' \
-e 's|nobody|web2ldap|g' \
${WRKSRC}/etc/web2ldap/web2ldapcnf/standalone.py
More information about the svn-ports-all
mailing list