aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/linux-netscape47-communicator
diff options
context:
space:
mode:
authorimura <imura@FreeBSD.org>2000-10-14 23:34:49 +0800
committerimura <imura@FreeBSD.org>2000-10-14 23:34:49 +0800
commit7d8f695c7c5f4b445f30f073bb671d7cf32bb3c1 (patch)
tree89c8f1559fe195cf4c8b4ef764d684aa48cc65dc /japanese/linux-netscape47-communicator
parent9de9141d5d4c93878140118ac70891623769314a (diff)
downloadfreebsd-ports-gnome-7d8f695c7c5f4b445f30f073bb671d7cf32bb3c1.tar.gz
freebsd-ports-gnome-7d8f695c7c5f4b445f30f073bb671d7cf32bb3c1.tar.zst
freebsd-ports-gnome-7d8f695c7c5f4b445f30f073bb671d7cf32bb3c1.zip
Cooperate with Acrobat4.
Submitted by: Yoichi ASAI <yatt@msc.biglobe.ne.jp>
Diffstat (limited to 'japanese/linux-netscape47-communicator')
-rw-r--r--japanese/linux-netscape47-communicator/files/start.sh.in15
1 files changed, 13 insertions, 2 deletions
diff --git a/japanese/linux-netscape47-communicator/files/start.sh.in b/japanese/linux-netscape47-communicator/files/start.sh.in
index f28c878eb48b..6a96f0beec9a 100644
--- a/japanese/linux-netscape47-communicator/files/start.sh.in
+++ b/japanese/linux-netscape47-communicator/files/start.sh.in
@@ -15,8 +15,19 @@ 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
- exec ${MOZILLA_HOME}/netscape-dynMotif "$@"
+ MOZILLA_BIN=${MOZILLA_HOME}/netscape-dynMotif
else
- exec ${MOZILLA_HOME}/@BROWSER_BIN@ "$@"
+ MOZILLA_BIN=${MOZILLA_HOME}/@BROWSER_BIN@
fi
+exec $MOZILLA_BIN "$@"