1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/japanese/netscape48-communicator/files/start.sh.in
SADA Kenji fdacad8160 Update of resource file.
Make the wrapper to initialize Japanese font settings
at the first startup time.
1998-11-24 15:09:10 +00:00

23 lines
674 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
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 $*