aboutsummaryrefslogtreecommitdiff
path: root/www/geneweb
diff options
context:
space:
mode:
Diffstat (limited to 'www/geneweb')
-rw-r--r--www/geneweb/Makefile1
-rw-r--r--www/geneweb/files/install.sh3
2 files changed, 3 insertions, 1 deletions
diff --git a/www/geneweb/Makefile b/www/geneweb/Makefile
index 494cfcd5d34f..8f756732988e 100644
--- a/www/geneweb/Makefile
+++ b/www/geneweb/Makefile
@@ -7,6 +7,7 @@
PORTNAME= geneweb
PORTVERSION= 4.10
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= ftp://ftp.inria.fr/INRIA/Projects/cristal/geneweb/Src/
diff --git a/www/geneweb/files/install.sh b/www/geneweb/files/install.sh
index de30c9b283ed..169f17572a61 100644
--- a/www/geneweb/files/install.sh
+++ b/www/geneweb/files/install.sh
@@ -58,7 +58,8 @@ esac
mkdir ${PUB_DIR}
cat > ${PUB_DIR}/gw.cgi << EOF
#!/bin/sh
-/usr/local/bin/gwd -cgi -bd ${PRIV_DIR} 2>/dev/null
+cd ${PRIV_DIR}/${DB_NAME}.gwb
+/usr/local/bin/gwd -cgi -bd ${PRIV_DIR} -wd ${PRIV_DIR}/${DB_NAME}.gwb 2>/dev/null
EOF
chmod -R 755 ${PUB_DIR}
chown -R ${USER}:${USER_GROUP} ${PUB_DIR}