diff options
-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 0000000..c1b6b16 --- /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 0000000..ceafe9b --- /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@ "$@" |