aboutsummaryrefslogtreecommitdiff
path: root/www/sams
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-07-27 11:39:15 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-07-27 11:39:15 +0000
commit2c2183c15e60cbcf0cb0c58e2b74268571bbaca5 (patch)
tree77ed1002e05e7aea10cf378df3550238e5600772 /www/sams
parent77027e2a4c2f00f556a0c3eef13cef79a1ae23dc (diff)
downloadports-2c2183c15e60cbcf0cb0c58e2b74268571bbaca5.tar.gz
ports-2c2183c15e60cbcf0cb0c58e2b74268571bbaca5.zip
Notes
Diffstat (limited to 'www/sams')
-rw-r--r--www/sams/Makefile2
-rw-r--r--www/sams/files/patch-configure4
-rw-r--r--www/sams/files/setup.sh2
3 files changed, 4 insertions, 4 deletions
diff --git a/www/sams/Makefile b/www/sams/Makefile
index 2b97e59ca236..542620dc79e5 100644
--- a/www/sams/Makefile
+++ b/www/sams/Makefile
@@ -7,7 +7,7 @@
PORTNAME= sams
DISTVERSION= 20070524
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= http://sams.irc.perm.ru/downloads/ \
http://www.dindin.ru/download/
diff --git a/www/sams/files/patch-configure b/www/sams/files/patch-configure
index 3c3cb74bb209..0efbaa7f9077 100644
--- a/www/sams/files/patch-configure
+++ b/www/sams/files/patch-configure
@@ -5,9 +5,9 @@
echo "#define WEBINTERFACEPATH \"$prefix/share/sams\" " >> config.h
+CACHE_DIR=./tmp
-+CACHE=${CACHE_DIR}/config.cashe
++CACHE=${CACHE_DIR}/config.cache
+[ -d ./tmp ] || mkdir ${CACHE_DIR}
-+[ -f ./tmp/config.cashe ] && truncate -s0 ${CACHE}
++[ -f ./tmp/config.cache ] && truncate -s0 ${CACHE}
+exec 7>> ${CACHE}
+
echo "$as_me:$LINENO: result: " >&5
diff --git a/www/sams/files/setup.sh b/www/sams/files/setup.sh
index 7edfa1b3dd06..9498246eb7f8 100644
--- a/www/sams/files/setup.sh
+++ b/www/sams/files/setup.sh
@@ -3,7 +3,7 @@
#SAMS database setup script
TMP=./tmp
-. ${TMP}/config.cashe
+. ${TMP}/config.cache
CONFIGFILEPATH="${CONFIG_FILE}"
if [ ! -f ${CONFIG_FILE} -a -f ${CONFIG_FILE}.sample ]; then