aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
Diffstat (limited to 'japanese')
-rw-r--r--japanese/netscape3.language/Makefile96
-rw-r--r--japanese/netscape3.language/distinfo3
-rw-r--r--japanese/netscape3.language/files/netscape.sh7
-rw-r--r--japanese/netscape3.language/files/patch-aa89
-rw-r--r--japanese/netscape3.language/files/patch-ab20
-rw-r--r--japanese/netscape3.language/files/setup.doc26
-rw-r--r--japanese/netscape3.language/pkg-comment1
-rw-r--r--japanese/netscape3.language/pkg-descr15
-rw-r--r--japanese/netscape3.language/pkg-plist28
9 files changed, 285 insertions, 0 deletions
diff --git a/japanese/netscape3.language/Makefile b/japanese/netscape3.language/Makefile
new file mode 100644
index 000000000000..fd7f7529224e
--- /dev/null
+++ b/japanese/netscape3.language/Makefile
@@ -0,0 +1,96 @@
+# New ports collection makefile for: netscape3.language
+# Version required: 3.04
+# Date created: 17 November 1997
+# Whom: SADA Kenji
+#
+# $Id$
+#
+
+DISTNAME= ja-netscape-3.04
+CATEGORIES= japanese www
+MASTER_SITES= http://www.bpel.tutics.tut.ac.jp/~take/Netscape/etc/ \
+ http://www.bpel.tutics.tut.ac.jp/~take/Netscape/resources/
+DISTFILES= NLS.tar.gz \
+ Netscape-JPfont \
+ Netscape-v301-ja_euc.ad.gz
+
+MAINTAINER= sada@e-mail.ne.jp
+
+RUN_DEPENDS+= ${PREFIX}/bin/netscape:${PORTSDIR}/www/netscape3 \
+ ${X11BASE}/lib/X11/k12:${PORTSDIR}/japanese/k12 \
+ ${X11BASE}/lib/X11/fonts/misc/elisau10.pcf.Z:${PORTSDIR}/japanese/k8
+
+RESTRICTED= "Includes a copyrighted file from Netscape"
+NO_WRKSUBDIR= YES
+NO_BUILD= YES
+
+# This directory is hard-coded into the netscape binary
+LIBDIR= /usr/local/lib/netscape
+
+BINDIR= ${PREFIX}/bin
+NLSDIR= ${LIBDIR}/nls
+RESSUB= ja_JP.EUC
+RESDIR= ${LIBDIR}/${RESSUB}
+
+STARTFILE= netscape.sh
+STARTFILE_SRC= ${FILESDIR}/netscape.sh
+
+# no distfile to fetch
+#do-fetch:
+
+do-extract:
+ @${MKDIR} ${WRKDIR}
+ @${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/NLS.tar.gz -C ${WRKDIR}
+ @${CP} ${DISTDIR}/Netscape-JPfont ${WRKDIR}
+ @${CAT} ${DISTDIR}/Netscape-v301-ja_euc.ad.gz \
+ | ${GUNZIP_CMD} > ${WRKDIR}/Netscape.jp.ad
+
+do-configure:
+ @${SED} -e "s;@X11BASE@;${X11BASE};g" -e "s;@PREFIX@;${PREFIX};g" \
+ ${STARTFILE_SRC} >${WRKDIR}/${STARTFILE}
+
+NO_BUILD= yes
+
+do-install:
+ -@${MV} ${BINDIR}/netscape ${BINDIR}/netscape.orig
+ @${INSTALL_SCRIPT} ${WRKDIR}/${STARTFILE} ${BINDIR}/netscape
+ @${MKDIR} ${NLSDIR}/local_im_tbl
+ @${INSTALL_DATA} ${WRKDIR}/nls/*.* ${LIBDIR}/nls
+ @${INSTALL_DATA} ${WRKDIR}/nls/C ${LIBDIR}/nls
+ @${RM} -f ${LIBDIR}/nls/*.orig
+ @${INSTALL_DATA} ${WRKDIR}/nls/local_im_tbl/* ${LIBDIR}/nls/local_im_tbl
+ @${MKDIR} ${RESDIR}
+.if defined(ENGLISH)
+ @${INSTALL_DATA} ${WRKSRC}/Netscape.ad ${RESDIR}/Netscape
+ @${CAT} ${WRKSRC}/Netscape-JPfont >> ${RESDIR}/Netscape
+.else
+ @${INSTALL_DATA} ${WRKSRC}/Netscape.jp.ad ${RESDIR}/Netscape
+.endif
+
+ISCRIPTS= ${DISTNAME}.setup
+ISDIR= ${PREFIX}/libexec
+DOCDIR= ${PREFIX}/share/doc/${DISTNAME}
+
+post-install:
+ @for i in ${ISCRIPTS}; do \
+ ${SED} -e "s;@X11BASE@;${X11BASE};g" -e "s;@PREFIX@;${PREFIX};g" \
+ ${FILESDIR}/$${i} >${ISDIR}/$${i}; \
+ chmod +x ${ISDIR}/$${i}; \
+ ${ISDIR}/$${i} install; \
+ done
+ @${MKDIR} ${PREFIX}/share/doc/${PKGNAME}
+ @${INSTALL_DATA} ${FILESDIR}/setup.doc ${PREFIX}/share/doc/${PKGNAME}
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCDIR}
+ ${INSTALL_DATA} ${FILESDIR}/setup.doc ${DOCDIR}
+.endif
+ @${CAT} ${PKGDIR}/DESCR
+
+.include <bsd.port.mk>
+
+.SILENT:
+
+# cf. <http://www.bpel.tutics.tut.ac.jp/~take/>
+
+# This port is based on 'russian/netscape3.language(ru-netscape-3.01)'
+# by asami@FreeBSD.ORG
diff --git a/japanese/netscape3.language/distinfo b/japanese/netscape3.language/distinfo
new file mode 100644
index 000000000000..02534730f0d9
--- /dev/null
+++ b/japanese/netscape3.language/distinfo
@@ -0,0 +1,3 @@
+MD5 (NLS.tar.gz) = f79a6c0b6f9018f522b55cbb21be866f
+MD5 (Netscape-JPfont) = 6c91d63e9fb83df995bcfe46d099a053
+MD5 (Netscape-v301-ja_euc.ad.gz) = 20810861b8278a7b3ebe24744e17e470
diff --git a/japanese/netscape3.language/files/netscape.sh b/japanese/netscape3.language/files/netscape.sh
new file mode 100644
index 000000000000..2b72f4e61583
--- /dev/null
+++ b/japanese/netscape3.language/files/netscape.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+export LANG ; LANG=ja_JP.EUC
+export XKEYSYMDB ; XKEYSYMDB=@X11BASE@/lib/X11/XKeysymDB
+export XNLSPATH ; XNLSPATH=@PREFIX@/lib/netscape/nls
+export XAPPLRESDIR ; XAPPLRESDIR=@PREFIX@/lib/netscape
+export CLASSPATH ; CLASSPATH=.:@PREFIX@/lib/netscape
+exec /usr/local/lib/netscape/netscape.bin $*
diff --git a/japanese/netscape3.language/files/patch-aa b/japanese/netscape3.language/files/patch-aa
new file mode 100644
index 000000000000..502b1ac8c498
--- /dev/null
+++ b/japanese/netscape3.language/files/patch-aa
@@ -0,0 +1,89 @@
+*** Netscape.jp.ad.orig Sat Nov 22 17:50:26 1997
+--- Netscape.jp.ad Sat Nov 22 18:01:07 1997
+***************
+*** 1,4 ****
+! ! Netscape.ad --- app-defaults file for Netscape 3.01.
+ !
+ ! Copyright (c) 1994, 1995 Netscape Communications Corporation,
+ ! all rights reserved.
+--- 1,4 ----
+! ! Netscape.ad --- app-defaults file for Netscape 3.04.
+ !
+ ! Copyright (c) 1994, 1995 Netscape Communications Corporation,
+ ! all rights reserved.
+***************
+*** 9,14 ****
+--- 9,17 ----
+ ! Modified: dp Suresh <dp@netscape.com>, 01-Aug-95
+ ! Modified: take <take@bpel.tutics.tut.ac.jp>, 12-May-97
+ !
++ ! Modified: SADA Kenji <sada@e-mail.ne.jp>, 22-Nov-97
++ ! Ver.3.01 -> 3.04
++ !
+ ! ==========================================================
+ ! NOTE: If you're looking here for things to customize, look
+ ! on the Preferences dialogs under the Options menu first.
+***************
+*** 2633,2639 ****
+ ! changed at runtime; these resources won't override that.
+ *title: Netscape
+ *iconName: Netscape
+! *Navigator.title: Netscape Navigator 3.01
+ *Mail.title: Netscape メール
+ *Mail.iconName: メール
+
+--- 2636,2642 ----
+ ! changed at runtime; these resources won't override that.
+ *title: Netscape
+ *iconName: Netscape
+! *Navigator.title: Netscape Navigator 3.04
+ *Mail.title: Netscape メール
+ *Mail.iconName: メール
+
+***************
+*** 2661,2666 ****
+--- 2664,2673 ----
+ *popup.showMenubar.mnemonic: M
+ *popup.openURL.labelString: リンクを開く(O)
+ *popup.openURL.mnemonic: O
++ *popup.addFrameBookmark.labelString: フレームをブックマークに追加(k)
++ *popup.addFrameBookmark.mnemonic: k
++ *popup.openFrameNewWindow.labelString: フレームを新しいウィンドウで開く(W)
++ *popup.openFrameNewWindow.mnemonic: W
+ *popup.addURLBookmark.labelString: リンクをブックマークに追加(A)
+ *popup.addURLBookmark.mnemonic: A
+ *popup.openURLNewWindow.labelString: このリンクで新しいウィンドウを開く(N)
+***************
+*** 4349,4355 ****
+
+
+ ! Do not under any circumstances change the following line:
+! Netscape.version: 3.01
+
+
+ ! ============================================================================
+--- 4356,4362 ----
+
+
+ ! Do not under any circumstances change the following line:
+! Netscape.version: 3.04
+
+
+ ! ============================================================================
+***************
+*** 5276,5282 ****
+ *url.howto: http://home.jp.netscape.com/ja/home/how-to-create-web-services.html
+ *url.netscape: http://home.jp.netscape.com/ja/
+ *url.galleria: http://home.jp.netscape.com/ja/home/netscape-galleria.html
+! *url.rel_notes: http://home.jp.netscape.com/ja/eng/mozilla/3.0/relnotes/unix-
+ *url.reg: http://cgi.jp.netscape.com/ja/cgi-bin/reginfo.cgi
+ *url.manual: http://home.jp.netscape.com/ja/eng/mozilla/3.0/handbook/
+ *url.faq: http://help.jp.netscape.com/ja/faqs.html
+--- 5283,5289 ----
+ *url.howto: http://home.jp.netscape.com/ja/home/how-to-create-web-services.html
+ *url.netscape: http://home.jp.netscape.com/ja/
+ *url.galleria: http://home.jp.netscape.com/ja/home/netscape-galleria.html
+! *url.rel_notes: http://home.jp.netscape.com/ja/eng/mozilla/3.0/relnotes/
+ *url.reg: http://cgi.jp.netscape.com/ja/cgi-bin/reginfo.cgi
+ *url.manual: http://home.jp.netscape.com/ja/eng/mozilla/3.0/handbook/
+ *url.faq: http://help.jp.netscape.com/ja/faqs.html
diff --git a/japanese/netscape3.language/files/patch-ab b/japanese/netscape3.language/files/patch-ab
new file mode 100644
index 000000000000..70929860cdc3
--- /dev/null
+++ b/japanese/netscape3.language/files/patch-ab
@@ -0,0 +1,20 @@
+diff -rc nls.org/ja_JP.ujis nls/ja_JP.ujis
+*** nls.org/ja_JP.ujis Sun Jun 8 14:49:40 1997
+--- nls/ja_JP.ujis Wed Nov 19 16:50:08 1997
+***************
+*** 50,56 ****
+ # KATAKANA: JIS X0201-1976, GL encoding
+ jisx0201.1976-0:GR
+ # Code of the supplementary Japanese graphic character set
+! jisx0212.1990-0:GL
+ # User Defined character
+ # name:GL/GR:woffset:sequence
+ #omron_udc_ja-0:GL:20400080:\033\045\057200omron_udc_ja-0\002
+--- 50,56 ----
+ # KATAKANA: JIS X0201-1976, GL encoding
+ jisx0201.1976-0:GR
+ # Code of the supplementary Japanese graphic character set
+! #jisx0212.1990-0:GL
+ # User Defined character
+ # name:GL/GR:woffset:sequence
+ #omron_udc_ja-0:GL:20400080:\033\045\057200omron_udc_ja-0\002
diff --git a/japanese/netscape3.language/files/setup.doc b/japanese/netscape3.language/files/setup.doc
new file mode 100644
index 000000000000..8420415dcf74
--- /dev/null
+++ b/japanese/netscape3.language/files/setup.doc
@@ -0,0 +1,26 @@
+$B%U%)%s%H%5%$%:$N;XDjJ}K!(B
+
+ (1) $B%a%K%e!<%P!<$+$i!V%*%W%7%g%s!W(B->$B!VA4HL$N@_Dj!W$rA*$S$^$9!#(B
+ (2) $B!V%U%)%s%H!W$N%?%V$r%/%j%C%/$7$^$9!#(B
+ (3) $B!V%U%)%s%H$r;XDj$9$kJ8;z%;%C%H!W$G!VF|K\8l(B (jis_x0208-1983)$B!W$r;XDj(B
+ $B$7$^$9!#(B
+ (4) $B!V%W%m%]!<%7%g%J%k%U%)%s%H!W$G!V(BFixed(Netscape)$B!W!"%5%$%:$K!V(B13.0$B!W(B
+ $B$rA*$S$^$9!#(B X-VFlib $B$rMxMQ$9$k>l9g$K$O!V%9%1!<%j%s%0$rM-8z$K$9$k!W$r(B
+ $B%A%'%C%/$7$F$*$-$^$9!#(B
+ (5) $B!VEyI}%U%)%s%H!W$G!V(BFixed(Netscape)$B!W!"%5%$%:$K!V(B13.0$B!W$rA*$S$^$9!#(B
+ X-VFlib $B$rMxMQ$9$k>l9g$K$O!V%9%1!<%j%s%0$rM-8z$K$9$k!W$r%A%'%C%/$7$F$*(B
+ $B$-$^$9!#(B
+
+X-VFlib
+
+ X-VFlib $B$G;HMQ$9$k$H$-$N@_DjNc$r0J2<$K<($7$^$9!#(B
+
+ /usr/X11R6/lib/X11/fonts/VFlib/fonts.dir
+ - begin -
+ 1
+ min.vflib -netscape-fixed-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0
+ - end -
+
+$B;29M(B URL
+
+ <http://cclub.tutcc.tut.ac.jp/netbsd/japanese/netbsd-jp19-0.html>
diff --git a/japanese/netscape3.language/pkg-comment b/japanese/netscape3.language/pkg-comment
new file mode 100644
index 000000000000..d6defdad831b
--- /dev/null
+++ b/japanese/netscape3.language/pkg-comment
@@ -0,0 +1 @@
+Japanese support for Netscape Navigator 3.
diff --git a/japanese/netscape3.language/pkg-descr b/japanese/netscape3.language/pkg-descr
new file mode 100644
index 000000000000..502a0e92b918
--- /dev/null
+++ b/japanese/netscape3.language/pkg-descr
@@ -0,0 +1,15 @@
+ja-netscape-3.04 - Tune Netscape Navigator to work with japanese fonts.
+
+This port requires ``www/netscape3(netscape-3.04)'' port.
+You should get it from ports-current archive (CVSUP is convenient)
+before install this port.
+
+If you love the English messages, install as
+
+ % make ENGLISH=yes install
+
+Please read ``/usr/local/share/doc/ja-netscape-3.04/setup.doc''
+to setup your browser.
+
+- SADA Kenji
+sada@e-mail.ne.jp
diff --git a/japanese/netscape3.language/pkg-plist b/japanese/netscape3.language/pkg-plist
new file mode 100644
index 000000000000..eaa4b8a9c8d8
--- /dev/null
+++ b/japanese/netscape3.language/pkg-plist
@@ -0,0 +1,28 @@
+@exec echo "Updating %D/bin/netscape"; mv %D/bin/netscape %D/bin/netscape.orig
+bin/netscape
+@unexec echo "Recovering %D/bin/netscape"; mv %D/bin/netscape.orig %D/bin/netscape
+lib/netscape/ja_JP.EUC/Netscape
+@dirrm lib/netscape/ja_JP.EUC
+lib/netscape/nls/C
+lib/netscape/nls/ja_JP.jis7
+lib/netscape/nls/ja_JP.jis8
+lib/netscape/nls/ja_JP.mscode
+lib/netscape/nls/ja_JP.ujis
+lib/netscape/nls/ja_JP.pjis
+lib/netscape/nls/ko_KR.euc
+lib/netscape/nls/local_im_tbl/lt_LN.bit7
+lib/netscape/nls/local_im_tbl/lt_LN.bit8
+@dirrm lib/netscape/nls/local_im_tbl
+lib/netscape/nls/lt_LN.bit7
+lib/netscape/nls/lt_LN.bit8
+lib/netscape/nls/nls.alias
+lib/netscape/nls/nls.dir
+lib/netscape/nls/wr_WR.ct
+lib/netscape/nls/zh_CN.ugb
+lib/netscape/nls/zh_TW.big5
+@dirrm lib/netscape/nls
+@unexec %D/libexec/ja-netscape-3.04.setup uninstall
+libexec/ja-netscape-3.04.setup
+@exec %D/libexec/ja-netscape-3.04.setup install
+share/doc/ja-netscape-3.04/setup.doc
+@dirrm share/doc/ja-netscape-3.04