1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/japanese/netscape48-communicator/files/start.sh.in
1999-10-11 18:23:59 +00:00

26 lines
801 B
Bash

#!/bin/sh
if [ ! -d $HOME/.netscape ]; then
mkdir -m 700 $HOME/.netscape
cp @RDIR@/preferences.js $HOME/.netscape
chmod 644 $HOME/.netscape/preferences.js
fi
export LANG=ja_JP.EUC
export LC_ALL=${LANG}
export LC_CTYPE=${LANG}
export MOZILLA_HOME=@NDIR@
export CLASSPATH=.:${MOZILLA_HOME}
export NS_NETHELP_PATH=${MOZILLA_HOME}/${LANG}
export XKEYSYMDB=@X11BASE@/lib/X11/XKeysymDB
export XAPPLRESDIR=@RDIR@
export TIMID_DIR=/usr/local/lib/timidity
export XCMSDB=/dev/null
ulimit -c 0
if [ -e /usr/local/lib/aout/libxpg4-ns.so.2.0 ]; then
export LD_PRELOAD=/usr/local/lib/aout/libxpg4-ns.so.2.0
elif [ x$JA_NETSCAPE_USE_LD_PRELOAD != x -a x$JA_NETSCAPE_USE_LD_PRELOAD != xno ]; then
export LD_PRELOAD=libxpg4.so.2.0
else
export PATH_LOCALE=@RDIR@/locale
fi
exec ${MOZILLA_HOME}/@BROWSER_BIN@ "$@"