aboutsummaryrefslogtreecommitdiffstats
path: root/misc/setup/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'misc/setup/pkg')
-rw-r--r--misc/setup/pkg/ioq3ded.sh11
-rw-r--r--misc/setup/pkg/ioquake3.sh10
-rw-r--r--misc/setup/pkg/ioquake3d/prototype.template1
3 files changed, 10 insertions, 12 deletions
diff --git a/misc/setup/pkg/ioq3ded.sh b/misc/setup/pkg/ioq3ded.sh
index 5ed9742..5f2d7e5 100644
--- a/misc/setup/pkg/ioq3ded.sh
+++ b/misc/setup/pkg/ioq3ded.sh
@@ -2,22 +2,21 @@
# Rev: $Id: ioq3ded.sh,v 1.9 2006/01/18 13:47:42 raistlin Exp raistlin $
# Needed to make symlinks/shortcuts work.
# the binaries must run with correct working directory
-#
IOQ3_DIR=/usr/local/share/games/quake3
-COMPILE_PLATFORM=`uname|sed -e s/_.*//|tr A-Z a-z`
+COMPILE_PLATFORM=`uname|sed -e s/_.*//|tr '[:upper:]' '[:lower:]'`
COMPILE_ARCH=`uname -p | sed -e s/i.86/i386/`
EXEC_REL=release
-#EXEC_BIN=ioquake3.${COMPILE_ARCH}
-#EXEC_BIN=ioquake3-smp.${COMPILE_ARCH}
+# EXEC_BIN=ioquake3.${COMPILE_ARCH}
+# EXEC_BIN=ioquake3-smp.${COMPILE_ARCH}
EXEC_BIN=ioq3ded.${COMPILE_ARCH}
-EXEC_FLAGS="+set fs_cdpath ${IOQ3_DIR} +set vm_game 1 +set vm_cgame 1 +set vm_ui 1 +set sv_pure 1 +set ttycon 0"
+EXEC_FLAGS="+set fs_basepath ${IOQ3_DIR} +set vm_game 1 +set vm_cgame 1 +set vm_ui 1 +set sv_pure 1 +set com_ansiColor 0"
-EXEC_DIR_LIST=${IOQ3_DIR}
+EXEC_DIR_LIST="${IOQ3_DIR}"
for d in ${EXEC_DIR_LIST}
do
diff --git a/misc/setup/pkg/ioquake3.sh b/misc/setup/pkg/ioquake3.sh
index 495d9cd..b2fe785 100644
--- a/misc/setup/pkg/ioquake3.sh
+++ b/misc/setup/pkg/ioquake3.sh
@@ -5,18 +5,18 @@
IOQ3_DIR=/usr/local/share/games/quake3
-COMPILE_PLATFORM=`uname|sed -e s/_.*//|tr A-Z a-z`
+COMPILE_PLATFORM=`uname|sed -e s/_.*//|tr '[:upper:]' '[:lower:]'`
COMPILE_ARCH=`uname -p | sed -e s/i.86/i386/`
EXEC_REL=release
EXEC_BIN=ioquake3.${COMPILE_ARCH}
-#EXEC_BIN=ioquake3-smp.${COMPILE_ARCH}
-#EXEC_BIN=ioq3ded.${COMPILE_ARCH}
+# EXEC_BIN=ioquake3-smp.${COMPILE_ARCH}
+# EXEC_BIN=ioq3ded.${COMPILE_ARCH}
-EXEC_FLAGS="+set fs_cdpath ${IOQ3_DIR} +set vm_game 1 +set vm_cgame 1 +set vm_ui 1 +set sv_pure 1 +set ttycon 0"
+EXEC_FLAGS="+set fs_basepath ${IOQ3_DIR} +set vm_game 1 +set vm_cgame 1 +set vm_ui 1 +set sv_pure 1 +set com_ansiColor 0"
-EXEC_DIR_LIST=${IOQ3_DIR}
+EXEC_DIR_LIST="${IOQ3_DIR}"
for d in ${EXEC_DIR_LIST}
do
diff --git a/misc/setup/pkg/ioquake3d/prototype.template b/misc/setup/pkg/ioquake3d/prototype.template
index f23af77..26bd06a 100644
--- a/misc/setup/pkg/ioquake3d/prototype.template
+++ b/misc/setup/pkg/ioquake3d/prototype.template
@@ -1,6 +1,5 @@
!default 0755 root bin
i pkginfo
-i copyright
i depend
i postinstall
i postremove