1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/korean/linux-netscape47-communicator/files/start.sh.in
CHOI Junho 54b7ff4aa5 Import r1.5 -> r1.6 changes in ja-linux-netscape-*.
Cooperate with Acrobat4.

Submitted by:	Yoichi ASAI <yatt@msc.biglobe.ne.jp>
2000-10-27 18:40:07 +00:00

34 lines
1010 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=@LANG@
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
ACRO_HOME=@PREFIX@/Acrobat4
if [ -d $ACRO_HOME ]; then
export PATH=${PATH}:${ACRO_HOME}/bin
ACRO_PLUGIN_PATH=:${ACRO_HOME}/Browsers/intellinux
fi
if [ -z $NPX_PLUGIN_PATH ]; then
export NPX_PLUGIN_PATH=${MOZILLA_HOME}/plugins:${HOME}/.netscape/plugins${ACRO_PLUGIN_PATH}
else
export NPX_PLUGIN_PATH=${NPX_PLUGIN_PATH}${ACRO_PLUGIN_PATH}
fi
if [ -x /compat/linux/usr/X11R6/lib/libXm-ns.so.1.0.2 ]; then
MOZILLA_BIN=${MOZILLA_HOME}/netscape-dynMotif
else
MOZILLA_BIN=${MOZILLA_HOME}/@BROWSER_BIN@
fi
exec $MOZILLA_BIN "$@"