summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorSADA Kenji <sada@FreeBSD.org>2000-03-26 20:07:50 +0000
committerSADA Kenji <sada@FreeBSD.org>2000-03-26 20:07:50 +0000
commit55e5fbcf78bf262a07e642b1bf827ec400d1780f (patch)
treefe963d3543d042dec19c1758daf2450c156b58e7 /japanese
parentCope with ja-linux-netscape ports, and some cosmetic refines. (diff)
Japanized Netscape Communicator for Linux emulation.
Submitted by: Ryuichiro IMURA <imura@FreeBSD.org>
Notes
Notes: svn path=/head/; revision=27065
Diffstat (limited to 'japanese')
-rw-r--r--japanese/linux-netscape47-communicator/Makefile17
-rw-r--r--japanese/linux-netscape47-communicator/files/start.sh.in18
2 files changed, 35 insertions, 0 deletions
diff --git a/japanese/linux-netscape47-communicator/Makefile b/japanese/linux-netscape47-communicator/Makefile
new file mode 100644
index 000000000000..c1b6b1653015
--- /dev/null
+++ b/japanese/linux-netscape47-communicator/Makefile
@@ -0,0 +1,17 @@
+# New ports collection makefile for: Netscape browser with Japanese resources
+# Version required: 4.7x
+# Date created: 24 Mar 2000
+# Whom: imura@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+RUN_DEPENDS= ${PREFIX}/bin/${BROWSER_ARC}-${BROWSER_VERSION}:${PORTSDIR}/www/linux-netscape47-${BROWSER}
+RUN_DEPENDS+= /compat/linux/usr/share/locale/ja_JP:${PORTSDIR}/japanese/linux_locale
+
+BROWSER_ARC= ${BROWSER}-linux
+MASTERDIR_LINUX= ${.CURDIR}/../linux-netscape47-communicator
+NSUBDIR= lib/netscape-linux
+START_SCRIPT= ${MASTERDIR_LINUX}/files/start.sh.in
+
+.include "${.CURDIR}/../netscape47-communicator/Makefile"
diff --git a/japanese/linux-netscape47-communicator/files/start.sh.in b/japanese/linux-netscape47-communicator/files/start.sh.in
new file mode 100644
index 000000000000..ceafe9bfe94d
--- /dev/null
+++ b/japanese/linux-netscape47-communicator/files/start.sh.in
@@ -0,0 +1,18 @@
+#!/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
+ulimit -c 0
+exec ${MOZILLA_HOME}/@BROWSER_BIN@ "$@"