aboutsummaryrefslogtreecommitdiffstats
path: root/www/web2ldap
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-09 21:54:56 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-09 21:54:56 +0800
commit7c4a5953676e6b9ea36947ef4b0703d02d37a18c (patch)
tree53838ff0e8b80349b2ff3280aa36d454de1376d2 /www/web2ldap
parenta781255fe48bdcec6c67f20359cd485d83710212 (diff)
downloadfreebsd-ports-gnome-7c4a5953676e6b9ea36947ef4b0703d02d37a18c.tar.gz
freebsd-ports-gnome-7c4a5953676e6b9ea36947ef4b0703d02d37a18c.tar.zst
freebsd-ports-gnome-7c4a5953676e6b9ea36947ef4b0703d02d37a18c.zip
- Fix shebangs
- Add NO_ARCH Approved by: portmgr blanket MFH: 2015Q3 (blanket)
Diffstat (limited to 'www/web2ldap')
-rw-r--r--www/web2ldap/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/www/web2ldap/Makefile b/www/web2ldap/Makefile
index a9235d75ad87..2c09124730eb 100644
--- a/www/web2ldap/Makefile
+++ b/www/web2ldap/Makefile
@@ -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