mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
fdacad8160
Make the wrapper to initialize Japanese font settings at the first startup time.
23 lines
674 B
Bash
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 $*
|