aboutsummaryrefslogtreecommitdiff
path: root/www/geneweb
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2005-09-26 16:06:49 +0000
committerRenato Botelho <garga@FreeBSD.org>2005-09-26 16:06:49 +0000
commit7659aea4bba1e06d749b5b0bc9fbf79d802171c2 (patch)
tree0b049874d76bc6e6eb83cf429e51f91061cd30f3 /www/geneweb
parent7ef458b42895a771f4db6a16479f4ed74d672b15 (diff)
downloadports-7659aea4bba1e06d749b5b0bc9fbf79d802171c2.tar.gz
ports-7659aea4bba1e06d749b5b0bc9fbf79d802171c2.zip
Notes
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}