1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/japanese/netscape4-communicator/files/start.sh.in

23 lines
674 B
Bash
Raw Normal View History

#!/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
if [ 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 $*