diff options
author | sada <sada@FreeBSD.org> | 2000-03-27 04:07:50 +0800 |
---|---|---|
committer | sada <sada@FreeBSD.org> | 2000-03-27 04:07:50 +0800 |
commit | 2da271f80a0fd39461b8b3e549bcddb634d02de8 (patch) | |
tree | 37b6421365c96f8bb8df9f1a82e0191d79564568 /japanese | |
parent | beb9fbef2e239129a4b96a15214ae2e6848a8641 (diff) | |
download | freebsd-ports-gnome-2da271f80a0fd39461b8b3e549bcddb634d02de8.tar.gz freebsd-ports-gnome-2da271f80a0fd39461b8b3e549bcddb634d02de8.tar.zst freebsd-ports-gnome-2da271f80a0fd39461b8b3e549bcddb634d02de8.zip |
Japanized Netscape Communicator for Linux emulation.
Submitted by: Ryuichiro IMURA <imura@FreeBSD.org>
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/linux-netscape47-communicator/Makefile | 17 | ||||
-rw-r--r-- | japanese/linux-netscape47-communicator/files/start.sh.in | 18 |
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@ "$@" |