summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-10-29 14:19:38 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-10-29 14:19:38 +0000
commitaec47f29cb03e008eb78eceef3947b07239911f4 (patch)
tree9c995b7fd32a3ec05981f2280a5359eb2ed4c66b
parentNew Port: biology/ncbi-toolkit (diff)
Add ja-mozilla-jlp, Japanese Language Pack (JLP) for Mozilla M18.
PR: ports/22392 Submitted by: Yoichi ASAI <yatt@msc.biglobe.ne.jp>
Notes
Notes: svn path=/head/; revision=34403
-rw-r--r--japanese/Makefile1
-rw-r--r--japanese/mozilla-jlp-devel/Makefile65
-rw-r--r--japanese/mozilla-jlp-devel/distinfo1
-rw-r--r--japanese/mozilla-jlp-devel/files/all.js519
-rw-r--r--japanese/mozilla-jlp-devel/files/installed-chrome.txt6
-rw-r--r--japanese/mozilla-jlp-devel/files/mozilla.noxpg46
-rw-r--r--japanese/mozilla-jlp-devel/files/mozilla.xpg47
-rw-r--r--japanese/mozilla-jlp-devel/files/unix.js183
-rw-r--r--japanese/mozilla-jlp-devel/pkg-comment1
-rw-r--r--japanese/mozilla-jlp-devel/pkg-descr10
-rw-r--r--japanese/mozilla-jlp-devel/pkg-plist35
-rw-r--r--japanese/mozilla-jlp/Makefile65
-rw-r--r--japanese/mozilla-jlp/distinfo1
-rw-r--r--japanese/mozilla-jlp/files/all.js519
-rw-r--r--japanese/mozilla-jlp/files/installed-chrome.txt6
-rw-r--r--japanese/mozilla-jlp/files/mozilla.noxpg46
-rw-r--r--japanese/mozilla-jlp/files/mozilla.xpg47
-rw-r--r--japanese/mozilla-jlp/files/unix.js183
-rw-r--r--japanese/mozilla-jlp/pkg-comment1
-rw-r--r--japanese/mozilla-jlp/pkg-descr10
-rw-r--r--japanese/mozilla-jlp/pkg-plist35
21 files changed, 1667 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile
index acdb49fc24ea..c19ab42e0c76 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -151,6 +151,7 @@
SUBDIR += mnews
SUBDIR += mnews-gnspool
SUBDIR += mnews-im
+ SUBDIR += mozilla-jlp
SUBDIR += msdosfs
SUBDIR += mtools
SUBDIR += muggy
diff --git a/japanese/mozilla-jlp-devel/Makefile b/japanese/mozilla-jlp-devel/Makefile
new file mode 100644
index 000000000000..c29bb01c8d91
--- /dev/null
+++ b/japanese/mozilla-jlp-devel/Makefile
@@ -0,0 +1,65 @@
+# New ports collection makefile for: ja-mozilla-jlp
+# Date created: 02 Jul 2000
+# Whom: Yoichi ASAI <yatt@msc.biglobe.ne.jp>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mozilla
+PORTVERSION= M18
+CATEGORIES= japanese www
+MASTER_SITES= http://www.mozilla.gr.jp/jlp/ \
+ http://mozilla.inmel.net/
+PKGNAMESUFFIX= -jlp
+DISTNAME= ${PORTVERSION}-langjajp
+EXTRACT_SUFX= .xpi
+
+MAINTAINER= yatt@msc.biglobe.ne.jp
+
+BUILD_DEPENDS= ${X11BASE}/lib/mozilla/regxpcom:${PORTSDIR}/www/mozilla
+RUN_DEPENDS= mozilla:${PORTSDIR}/www/mozilla \
+ ${PKG_DBDIR}/ja-netscape-fonts-1.0:${PORTSDIR}/japanese/netscape-fonts
+
+WRKSRC= ${WRKDIR}/bin
+
+USE_X_PREFIX= yes
+USE_ZIP= yes
+EXTRACT_BEFORE_ARGS= -qo
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 400020
+MOZILLA_SH= mozilla.noxpg4
+.else
+MOZILLA_SH= mozilla.xpg4
+.endif
+
+post-extract:
+ find ${WRKSRC} -type d -exec ${CHMOD} 755 {} \;
+ ${MKDIR} ${WRKSRC}/defaults/pref
+ ${CP} ${FILESDIR}/all.js ${WRKSRC}/defaults/pref
+ ${CP} ${FILESDIR}/unix.js ${WRKSRC}/defaults/pref
+
+do-build:
+ ${SED} -e "s;@PREFIX@;${PREFIX};g" \
+ ${FILESDIR}/${MOZILLA_SH} > ${WRKDIR}/mozilla
+
+do-install:
+ (cd ${PREFIX}/lib/mozilla/chrome; \
+ ${MV} all-locales.rdf all-locales.rdf.orig; \
+ ${MV} user-locales.rdf user-locales.rdf.orig; \
+ ${MV} installed-chrome.txt installed-chrome.txt.orig)
+ (cd ${PREFIX}/lib/mozilla/defaults/pref; \
+ ${MV} all.js all.js.orig; ${MV} unix.js unix.js.orig)
+ ${MV} ${PREFIX}/bin/mozilla ${PREFIX}/bin/mozilla.orig
+ ${INSTALL_SCRIPT} ${WRKDIR}/mozilla ${PREFIX}/bin
+ (cd ${WRKSRC}; ${TAR} -cf - chrome defaults searchplugins) | \
+ ${TAR} -xf - -C ${PREFIX}/lib/mozilla
+ (cd ${PREFIX}/lib/mozilla/chrome; \
+ ${CP} installed-chrome.txt.orig installed-chrome.txt; \
+ ${CAT} ${FILESDIR}/installed-chrome.txt >> installed-chrome.txt)
+ (cd ${PREFIX}/lib/mozilla; \
+ ${ENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regxpcom; \
+ ${ENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regchrome)
+
+.include <bsd.port.post.mk>
diff --git a/japanese/mozilla-jlp-devel/distinfo b/japanese/mozilla-jlp-devel/distinfo
new file mode 100644
index 000000000000..2190da4774e9
--- /dev/null
+++ b/japanese/mozilla-jlp-devel/distinfo
@@ -0,0 +1 @@
+MD5 (M18-langjajp.xpi) = 20de4c7d800dbd58347798321603fc40
diff --git a/japanese/mozilla-jlp-devel/files/all.js b/japanese/mozilla-jlp-devel/files/all.js
new file mode 100644
index 000000000000..51bce16aaa91
--- /dev/null
+++ b/japanese/mozilla-jlp-devel/files/all.js
@@ -0,0 +1,519 @@
+/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
+ *
+ * The contents of this file are subject to the Netscape Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/NPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Netscape
+ * Communications Corporation. Portions created by Netscape are
+ * Copyright (C) 1998 Netscape Communications Corporation. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ */
+
+// SYNTAX HINTS: dashes are delimiters. Use underscores instead.
+// The first character after a period must be alphabetic.
+
+pref("network.search.url","http://cgi.netscape.com/cgi-bin/url_search.cgi?search=");
+
+pref("keyword.URL", "http://keyword.netscape.com/keyword/");
+pref("keyword.enabled", false);
+pref("general.useragent.locale", "chrome://navigator/locale/navigator.properties");
+pref("general.useragent.misc", "m18");
+
+pref("general.startup.browser", true);
+pref("general.startup.mail", false);
+pref("general.startup.news", false);
+pref("general.startup.editor", false);
+pref("general.startup.compose", false);
+pref("general.startup.addressbook", false);
+
+pref("general.always_load_images", true);
+pref("general.always_load_movies", true);
+pref("general.always_load_sounds", true);
+pref("general.title_tips", true);
+
+pref("general.help_source.site", 1); // 0 = Netscape, 1 = installed, 2 = custom
+pref("general.help_source.url", "");
+
+pref("general.fullcircle_enable", true);
+pref("general.fullcircle_collect_ns_data", false);
+
+pref("browser.enable_style_sheets", true);
+// 0 = blank, 1 = home (browser.startup.homepage), 2 = last
+pref("browser.startup.page", 1);
+pref("browser.startup.homepage", "chrome://navigator/locale/navigator.properties");
+// "browser.startup.homepage_override" was for 4.x
+pref("browser.startup.homepage_override.1", true);
+pref("browser.startup.autoload_homepage", true);
+pref("browser.startup.agreed_to_licence", false);
+pref("browser.startup.license_version", 0);
+pref("browser.startup.default_window", 1); // start up browser
+pref("browser.cache.disk_cache_size", 7680);
+pref("browser.cache.enable", true);
+pref("browser.cache.disk.enable", true);
+pref("browser.cache.memory_cache_size", 1024);
+pref("browser.cache.disk_cache_ssl", false);
+pref("browser.display.foreground_color", "#000000");
+pref("browser.display.background_color", "#C0C0C0");
+pref("browser.anchor_color", "#0000EE");
+pref("browser.visited_color", "#551A8B");
+pref("browser.chrome.show_directory_buttons", true);
+pref("browser.chrome.toolbar_style", 2);
+pref("browser.chrome.advanced_toolbar", false);
+pref("browser.chrome.show_toolbar", true);
+pref("browser.chrome.show_status_bar", true);
+pref("browser.chrome.show_url_bar", true);
+pref("browser.chrome.show_security_bar", true);
+pref("browser.chrome.button_style", 0);
+
+pref("browser.toolbars.showbutton.bookmarks", false);
+pref("browser.toolbars.showbutton.go", false);
+pref("browser.toolbars.showbutton.home", true);
+pref("browser.toolbars.showbutton.mynetscape", true);
+pref("browser.toolbars.showbutton.net2phone", true);
+pref("browser.toolbars.showbutton.print", true);
+pref("browser.toolbars.showbutton.search", true);
+
+pref("browser.background_option", 0); // DEFAULT_BACKGROUND
+pref("browser.link_expiration", 9);
+pref("browser.cache.check_doc_frequency", 0);
+
+pref("browser.delay_images", false);
+pref("browser.underline_anchors", true);
+pref("browser.never_expire", false);
+pref("browser.display_while_loading", true);
+pref("browser.custom_link_color", false);
+pref("browser.custom_visited_color", false);
+pref("browser.custom_text_color", false);
+pref("browser.display.use_document_colors", true);
+pref("browser.ldapfile_location", "");
+pref("browser.print_background", false);
+pref("browser.prefs_window.modeless", false);
+pref("browser.prefs_window_rect", "-1,-1,-1,-1");
+pref("browser.find_window_rect", "-1,-1,-1,-1");
+pref("browser.bookmark_window_rect", "-1,-1,-1,-1");
+pref("browser.download_window_rect", "-1,-1,-1,-1");
+pref("browser.wfe.ignore_def_check",false);
+pref("browser.display.wfe.use_windows_colors",true);
+pref("browser.startup_mode",1);
+
+// Dialog modality issues
+pref("browser.prefWindowModal", true);
+pref("browser.show_about_as_stupid_modal_window", false);
+
+// various default search settings
+pref("browser.search.defaulturl", "chrome://navigator/locale/navigator.properties");
+pref("browser.search.opensidebarsearchpanel", true);
+pref("browser.search.last_search_category", "NC:SearchCategory?category=urn:search:category:1");
+pref("browser.search.mode", 0);
+pref("browser.search.powermode", 0);
+pref("browser.search.use_double_clicks", false);
+pref("browser.urlbar.autocomplete.enabled", true);
+pref("browser.urlbar.clickSelectsAll",false);
+
+localDefPref("browser.bookmark_location", "");
+localDefPref("browser.addressbook_location", "");
+localDefPref("browser.socksfile_location", "");
+localDefPref("browser.ldapfile_location", "");
+
+pref("browser.history.last_page_visited", "");
+
+pref("browser.url_history.URL_1", "");
+pref("browser.url_history.URL_2", "");
+pref("browser.url_history.URL_3", "");
+pref("browser.url_history.URL_4", "");
+pref("browser.url_history.URL_5", "");
+pref("browser.url_history.URL_6", "");
+pref("browser.url_history.URL_7", "");
+pref("browser.url_history.URL_8", "");
+pref("browser.url_history.URL_9", "");
+pref("browser.url_history.URL_10", "");
+pref("browser.url_history.URL_11", "");
+pref("browser.url_history.URL_12", "");
+pref("browser.url_history.URL_13", "");
+pref("browser.url_history.URL_14", "");
+pref("browser.url_history.URL_15", "");
+
+pref("browser.uriloader", true); // turn new uri loading on by default
+
+pref("browser.personal_toolbar_button.min_chars", 15);
+pref("browser.personal_toolbar_button.max_chars", 30);
+
+pref("browser.PICS.ratings_enabled", false);
+pref("browser.PICS.pages_must_be_rated", false);
+pref("browser.PICS.disable_for_this_session", false);
+pref("browser.PICS.reenable_for_this_session", false);
+pref("browser.PICS.service.http___home_netscape_com_default_rating.service_enabled", true);
+pref("browser.PICS.service.http___home_netscape_com_default_rating.s", 0);
+
+// gfx widgets
+pref("nglayout.widget.mode", 2);
+pref("nglayout.widget.gfxscrollbars", true);
+
+// use nsViewManager2
+pref("nglayout.view.useViewManager2", true);
+
+// css2 hover pref
+pref("nglayout.events.showHierarchicalHover", false);
+
+// Smart Browsing prefs
+pref("browser.related.enabled", true);
+pref("browser.related.autoload", 1); // 0 = Always, 1 = After first use, 2 = Never
+pref("browser.related.provider", "http://www-rl.netscape.com/wtgn?");
+pref("browser.related.detailsProvider", "http://cgi.netscape.com/cgi-bin/rlcgi.cgi?URL=");
+pref("browser.related.disabledForDomains", "");
+pref("browser.goBrowsing.enabled", true);
+
+
+// The NavCenter preferences
+localDefPref("browser.navcenter.dockstyle", 1); // 1 = left, 2 = right, 3 = top, 4 = bottom
+localDefPref("browser.navcenter.docked.tree.visible", false);
+localDefPref("browser.navcenter.docked.selector.visible", true);
+localDefPref("browser.navcenter.docked.tree.width", 250); // Percent of parent window consumed by docked nav center
+localDefPref("browser.navcenter.floating.rect", "20, 20, 400, 600"); // Window dimensions when floating
+
+pref("capability.policy.default.barprop.visible.write", "UniversalBrowserWrite");
+
+pref("capability.policy.default.history.current.read", "UniversalBrowserRead");
+pref("capability.policy.default.history.next.read", "UniversalBrowserRead");
+pref("capability.policy.default.history.previous.read", "UniversalBrowserRead");
+pref("capability.policy.default.history.item.read", "UniversalBrowserRead");
+
+pref("capability.policy.default.navigator.preference.read", "UniversalPreferencesRead");
+pref("capability.policy.default.navigator.preference.write", "UniversalPreferencesWrite");
+pref("capability.policy.default.windowinternal.location.write", "allAccess");
+
+
+localDefPref("ghist.expires.pos", 4);
+localDefPref("ghist.expires.width", 1400);
+localDefPref("ghist.firstvisit.pos", 2);
+localDefPref("ghist.firstvisit.width", 1400);
+localDefPref("ghist.lastvisit.pos", 3);
+localDefPref("ghist.lastvisit.width", 1400);
+localDefPref("ghist.location.pos", 1);
+localDefPref("ghist.location.width", 2400);
+pref("ghist.show_value", 0);
+pref("ghist.sort_descending", false);
+pref("ghist.sortby", 3); // eGH_LastDateSort
+localDefPref("ghist.title.pos", 0);
+localDefPref("ghist.title.width", 2400);
+localDefPref("ghist.visiblecolumns", 6);
+localDefPref("ghist.visitcount.pos", 5);
+localDefPref("ghist.visitcount.width", 1000);
+localDefPref("ghist.window_rect", "0,0,0,0");
+
+pref("javascript.enabled", true);
+pref("javascript.allow.mailnews", false);
+pref("javascript.allow.signing", true);
+pref("javascript.reflect_preferences", false); // for PE
+//pref("javascript.options.strict", true);
+
+// advanced prefs
+pref("advanced.always_load_images", true);
+pref("security.enable_java", true);
+pref("css.allow", true);
+pref("advanced.mailftp", false);
+
+pref("offline.startup_state", 0);
+pref("offline.send.unsent_messages", 0);
+pref("offline.prompt_synch_on_exit", true);
+pref("offline.news.download.use_days", 0);
+
+pref("network.dnsAttempt", 0);
+pref("network.tcptimeout", 0); // use default
+pref("network.tcpbufsize", 0); //
+pref("network.use_async_dns", true);
+pref("network.dnsCacheExpiration", 900); // in seconds
+pref("network.enableUrlMatch", true);
+pref("network.max_connections", 4);
+pref("network.speed_over_ui", true);
+pref("network.file_sort_method", 0); // NAME 0, TYPE 1, SIZE 2, DATE 3
+pref("network.ftp.passive", true);
+pref("network.hosts.smtp_server", "mail");
+pref("network.hosts.pop_server", "mail");
+pref("network.protocols.useSystemDefaults", false); // set to true if user links should use system default handlers
+
+// <ruslan>
+pref("network.http.version", "1.1"); // default
+// pref("network.http.version", "1.0"); // uncomment this out in case of problems
+// pref("network.http.version", "0.9"); // it'll work too if you're crazy
+// keep-alive option is effectively obsolete. Nevertheless it'll work with
+// some older 1.0 servers:
+
+pref("network.http.keep-alive", true); // set it to false in case of problems
+pref("network.http.proxy.keep-alive", true );
+pref("network.http.keep-alive.timeout", 300);
+
+pref("network.http.max-connections", 8);
+pref("network.http.keep-alive.max-connections", 20); // max connections to be kept alive
+pref("network.http.keep-alive.max-connections-per-server", 8);
+
+pref("network.http.connect.timeout", 30); // in seconds
+pref("network.http.request.timeout", 120); // in seconds
+
+// Enable http compression: comment this out in case of problems with 1.1
+pref("network.http.accept-encoding" ,"gzip,deflate,compress,identity");
+
+pref("network.http.pipelining" , false);
+pref("network.http.proxy.pipelining", false);
+
+// Always pipeling the very first request: this will only work when you are
+// absolutely sure the the site or proxy you are browsing to/through support
+// pipelining; the default behavior will be that the browser will first make
+// a normal, non-pipelined request, then examine and remember the responce
+// and only the subsequent requests to that site will be pipeline
+pref("network.http.pipelining.firstrequest", false);
+
+// Max number of requests in the pipeline
+pref("network.http.pipelining.maxrequests" , 4);
+
+pref("network.http.proxy.ssl.connect",true);
+// </ruslan>
+
+// sspitzer: change this back to "news" when we get to beta.
+// for now, set this to news.mozilla.org because you can only
+// post to the server specified by this pref.
+pref("network.hosts.nntp_server", "news.mozilla.org");
+
+pref("network.hosts.socks_server", "");
+pref("network.hosts.socks_serverport", 1080);
+pref("network.hosts.socks_conf", "");
+pref("network.image.imageBehavior", 0); // 0-Accept, 1-dontAcceptForeign, 2-dontUse
+pref("network.image.warnAboutImages", false);
+pref("network.proxy.autoconfig_url", "");
+pref("network.proxy.type", 0);
+pref("network.proxy.ftp", "");
+pref("network.proxy.ftp_port", 0);
+pref("network.proxy.gopher", "");
+pref("network.proxy.gopher_port", 0);
+pref("network.proxy.news", "");
+pref("network.proxy.news_port", 0);
+pref("network.proxy.http", "");
+pref("network.proxy.http_port", 0);
+pref("network.proxy.wais", "");
+pref("network.proxy.wais_port", 0);
+pref("network.proxy.ssl", "");
+pref("network.proxy.ssl_port", 0);
+pref("network.proxy.socks", "");
+pref("network.proxy.socks_port", 0);
+pref("network.proxy.no_proxies_on", "");
+pref("network.online", true); //online/offline
+pref("network.prompt_at_startup", false);//Ask me
+pref("network.accept_cookies", 0); // 0 = Always, 1 = warn, 2 = never
+pref("network.foreign_cookies", 0); // 0 = Accept, 1 = Don't accept
+pref("network.cookie.cookieBehavior", 0); // 0-Accept, 1-dontAcceptForeign, 2-dontUse
+pref("network.cookie.warnAboutCookies", false);
+pref("signon.rememberSignons", true);
+pref("network.sendRefererHeader", 2); // 0=don't send any, 1=send only on clicks, 2=send on image requests as well
+pref("network.enablePad", false); // Allow client to do proxy autodiscovery
+pref("network.padPacURL", ""); // The proxy autodiscovery url
+pref("converter.html2txt.structs", true); // Output structured phrases (strong, em, code, sub, sup, b, i, u)
+pref("converter.html2txt.header_strategy", 1); // 0 = no indention; 1 = indention, increased with header level; 2 = numbering and slight indention
+pref("wallet.captureForms", true);
+pref("wallet.notified", false);
+pref("wallet.fetchPatches", false);
+pref("wallet.TutorialFromMenu", "chrome://navigator/locale/navigator.properties");
+pref("wallet.TutorialFromPrefs", "chrome://navigator/locale/navigator.properties");
+pref("wallet.Server", "chrome://navigator/locale/navigator.properties");
+pref("wallet.Samples", "chrome://navigator/locale/navigator.properties");
+pref("wallet.version", "1");
+pref("wallet.enabled", true);
+pref("wallet.crypto", false);
+pref("imageblocker.enabled", true);
+pref("messages.new_window", true); // ML obsolete; use mailnews.message_in_thread_window
+pref("intl.accept_languages", "chrome://navigator/locale/navigator.properties");
+pref("intl.accept_charsets", "iso-8859-1,*,utf-8");
+pref("intl.collationKeyAsCodePoint", false);
+
+pref("intl.charsetmenu.browser.static", "chrome://navigator/locale/navigator.properties");
+pref("intl.charsetmenu.browser.more1", "chrome://navigator/locale/navigator.properties");
+pref("intl.charsetmenu.browser.more2", "chrome://navigator/locale/navigator.properties");
+pref("intl.charsetmenu.browser.more3", "chrome://navigator/locale/navigator.properties");
+pref("intl.charsetmenu.browser.more4", "chrome://navigator/locale/navigator.properties");
+pref("intl.charsetmenu.browser.more5", "chrome://navigator/locale/navigator.properties");
+pref("intl.charsetmenu.mailedit", "chrome://navigator/locale/navigator.properties");
+pref("intl.charsetmenu.browser.cache", "");
+pref("intl.charsetmenu.mailview.cache", "");
+pref("intl.charsetmenu.composer.cache", "");
+pref("intl.charsetmenu.browser.cache.size", 5);
+pref("intl.charset.detector", "chrome://navigator/locale/navigator.properties");
+pref("intl.charset.default", "chrome://navigator/locale/navigator.properties");
+
+pref("font.default", "sans-serif");
+pref("font.size.variable.ar", 16);
+pref("font.size.fixed.ar", 13);
+
+pref("font.size.variable.el", 16);
+pref("font.size.fixed.el", 13);
+
+pref("font.size.variable.he", 16);
+pref("font.size.fixed.he", 13);
+
+pref("font.size.variable.ja", 14);
+pref("font.size.fixed.ja", 14);
+
+pref("font.size.variable.ko", 16);
+pref("font.size.fixed.ko", 16);
+
+pref("font.size.variable.th", 16);
+pref("font.size.fixed.th", 13);
+
+pref("font.size.variable.tr", 16);
+pref("font.size.fixed.tr", 13);
+
+pref("font.size.variable.x-baltic", 16);
+pref("font.size.fixed.x-baltic", 13);
+
+pref("font.size.variable.x-central-euro", 16);
+pref("font.size.fixed.x-central-euro", 13);
+
+pref("font.size.variable.x-cyrillic", 16);
+pref("font.size.fixed.x-cyrillic", 13);
+
+pref("font.size.variable.x-unicode", 16);
+pref("font.size.fixed.x-unicode", 13);
+
+pref("font.size.variable.x-western", 14);
+pref("font.size.fixed.x-western", 14);
+
+pref("font.size.variable.zh-CN", 16);
+pref("font.size.fixed.zh-CN", 16);
+
+pref("font.size.variable.zh-TW", 16);
+pref("font.size.fixed.zh-TW", 16);
+
+pref("browser.enable_webfonts", true);
+pref("browser.display.use_document_fonts", 1); // 0 = never, 1 = quick, 2 = always
+
+// -- folders (Mac: these are binary aliases.)
+localDefPref("browser.download_directory", "");
+localDefPref("mail.signature_file", "");
+localDefPref("mail.directory", "");
+localDefPref("mail.cc_file", "");
+localDefPref("news.cc_file", "");
+
+pref("news.fancy_listing", true); // obsolete
+pref("browser.wfe.show_value", 1);
+pref("browser.blink_allowed", true);
+pref("images.dither", "auto");
+pref("images.incremental_display", true);
+pref("network.wfe.use_async_dns", true);
+pref("network.wfe.tcp_connect_timeout",0);
+localDefPref("news.directory", "");
+localDefPref("security.directory", "");
+
+pref("autoupdate.enabled", true);
+pref("autoupdate.confirm_install", false);
+pref("autoupdate.unsigned_jar_support", false);
+
+pref("silentdownload.enabled", true);
+pref("silentdownload.directory", "");
+pref("silentdownload.range", 3000);
+pref("silentdownload.interval", 10000);
+
+
+pref("imap.io.mac.logging", false);
+
+pref("browser.editor.disabled", false);
+
+pref("SpellChecker.DefaultLanguage", 0);
+pref("SpellChecker.DefaultDialect", 0);
+
+pref("mime.table.allow_add", true);
+pref("mime.table.allow_edit", true);
+pref("mime.table.allow_remove", true);
+
+pref("signed.applets.codebase_principal_support", false);
+pref("security.checkloaduri", true);
+pref("security.xpconnect.plugin.unrestricted", true);
+
+// Modifier key prefs: default to Windows settings,
+// menu access key = alt, accelerator key = control.
+pref("ui.key.accelKey", 17);
+pref("ui.key.menuAccessKey", 18);
+pref("ui.key.menuAccessKeyFocuses", false);
+
+// Middle-mouse handling
+pref("middlemouse.paste", false);
+pref("middlemouse.openNewWindow", false);
+
+// Clipboard behavior
+pref("clipboard.autocopy", false);
+
+/* 0=lines, 1=pages, 2=history , 3=text size */
+pref("mousewheel.withnokey.action",0);
+pref("mousewheel.withnokey.numlines",1);
+pref("mousewheel.withnokey.sysnumlines",true);
+pref("mousewheel.withcontrolkey.action",0);
+pref("mousewheel.withcontrolkey.numlines",1);
+pref("mousewheel.withcontrolkey.sysnumlines",true);
+pref("mousewheel.withshiftkey.action",0);
+pref("mousewheel.withshiftkey.numlines",1);
+pref("mousewheel.withshiftkey.sysnumlines",false);
+pref("mousewheel.withaltkey.action",2);
+pref("mousewheel.withaltkey.numlines",1);
+pref("mousewheel.withaltkey.sysnumlines",false);
+
+pref("middlemouse.scrollbarPosition", false);
+
+pref("profile.confirm_automigration",true);
+
+// Customizable toolbar stuff
+pref("custtoolbar.personal_toolbar_folder", "");
+pref("custtoolbar.has_toolbar_folder", true);
+pref("custtoolbar.Browser.Navigation_Toolbar.position", 0);
+pref("custtoolbar.Browser.Navigation_Toolbar.showing", true);
+pref("custtoolbar.Browser.Navigation_Toolbar.open", true);
+pref("custtoolbar.Browser.Location_Toolbar.position", 1);
+pref("custtoolbar.Browser.Location_Toolbar.showing", true);
+pref("custtoolbar.Browser.Location_Toolbar.open", true);
+pref("custtoolbar.Browser.Personal_Toolbar.position", 2);
+pref("custtoolbar.Browser.Personal_Toolbar.showing", true);
+pref("custtoolbar.Browser.Personal_Toolbar.open", true);
+pref("custtoolbar.Messenger.Navigation_Toolbar.position", 0);
+pref("custtoolbar.Messenger.Navigation_Toolbar.showing", true);
+pref("custtoolbar.Messenger.Navigation_Toolbar.open", true);
+pref("custtoolbar.Messenger.Location_Toolbar.position", 1);
+pref("custtoolbar.Messenger.Location_Toolbar.showing", true);
+pref("custtoolbar.Messenger.Location_Toolbar.open", true);
+pref("custtoolbar.Messages.Navigation_Toolbar.position", 0);
+pref("custtoolbar.Messages.Navigation_Toolbar.showing", true);
+pref("custtoolbar.Messages.Navigation_Toolbar.open", true);
+pref("custtoolbar.Messages.Location_Toolbar.position", 1);
+pref("custtoolbar.Messages.Location_Toolbar.showing", true);
+pref("custtoolbar.Messages.Location_Toolbar.open", true);
+pref("custtoolbar.Folders.Navigation_Toolbar.position", 0);
+pref("custtoolbar.Folders.Navigation_Toolbar.showing", true);
+pref("custtoolbar.Folders.Navigation_Toolbar.open", true);
+pref("custtoolbar.Folders.Location_Toolbar.position", 1);
+pref("custtoolbar.Folders.Location_Toolbar.showing", true);
+pref("custtoolbar.Folders.Location_Toolbar.open", true);
+pref("custtoolbar.Address_Book.Address_Book_Toolbar.position", 0);
+pref("custtoolbar.Address_Book.Address_Book_Toolbar.showing", true);
+pref("custtoolbar.Address_Book.Address_Book_Toolbar.open", true);
+pref("custtoolbar.Compose_Message.Message_Toolbar.position", 0);
+pref("custtoolbar.Compose_Message.Message_Toolbar.showing", true);
+pref("custtoolbar.Compose_Message.Message_Toolbar.open", true);
+pref("custtoolbar.Composer.Composition_Toolbar.position", 0);
+pref("custtoolbar.Composer.Composition_Toolbar.showing", true);
+pref("custtoolbar.Composer.Composition_Toolbar.open", true);
+pref("custtoolbar.Composer.Formatting_Toolbar.position", 1);
+pref("custtoolbar.Composer.Formatting_Toolbar.showing", true);
+pref("custtoolbar.Composer.Formatting_Toolbar.open", true);
+
+pref("sidebar.customize.all_panels.url", "http://sidebar-rdf.netscape.com/%LOCALE%/sidebar-rdf/%SIDEBAR_VERSION%/all-panels.rdf");
+pref("sidebar.customize.more_panels.url", "http://dmoz.org/Netscape/Sidebar/");
+
+pref("prefs.converted-to-utf8",false);
+
+pref("browser.throbber.url","chrome://navigator/locale/navigator.properties");
diff --git a/japanese/mozilla-jlp-devel/files/installed-chrome.txt b/japanese/mozilla-jlp-devel/files/installed-chrome.txt
new file mode 100644
index 000000000000..cd77fe03e6fe
--- /dev/null
+++ b/japanese/mozilla-jlp-devel/files/installed-chrome.txt
@@ -0,0 +1,6 @@
+locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/global/
+locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/communicator/
+locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/messenger/
+locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/editor/
+locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/navigator/
+locale,install,select,ja-JP
diff --git a/japanese/mozilla-jlp-devel/files/mozilla.noxpg4 b/japanese/mozilla-jlp-devel/files/mozilla.noxpg4
new file mode 100644
index 000000000000..2a2428058e68
--- /dev/null
+++ b/japanese/mozilla-jlp-devel/files/mozilla.noxpg4
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+LANG=ja_JP.EUC; export LANG
+
+cd @PREFIX@/lib/mozilla
+exec ./mozilla "$@"
diff --git a/japanese/mozilla-jlp-devel/files/mozilla.xpg4 b/japanese/mozilla-jlp-devel/files/mozilla.xpg4
new file mode 100644
index 000000000000..9f78b708f077
--- /dev/null
+++ b/japanese/mozilla-jlp-devel/files/mozilla.xpg4
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+LANG=ja_JP.EUC; export LANG
+LD_PRELOAD=/usr/lib/libxpg4.so.2; export LD_PRELOAD
+
+cd @PREFIX@/lib/mozilla
+exec ./mozilla "$@"
diff --git a/japanese/mozilla-jlp-devel/files/unix.js b/japanese/mozilla-jlp-devel/files/unix.js
new file mode 100644
index 000000000000..70b9457c9cd6
--- /dev/null
+++ b/japanese/mozilla-jlp-devel/files/unix.js
@@ -0,0 +1,183 @@
+/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
+ *
+ * The contents of this file are subject to the Netscape Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/NPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Netscape
+ * Communications Corporation. Portions created by Netscape are
+ * Copyright (C) 1998 Netscape Communications Corporation. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ */
+
+// The other platforms roll this all into "toolbar mode".
+pref("browser.chrome.toolbar_tips", true);
+pref("browser.chrome.show_menubar", true);
+
+pref("mail.empty_trash", false);
+
+// Handled differently under Mac/Windows
+pref("network.hosts.smtp_server", "localhost");
+pref("network.hosts.pop_server", "pop");
+pref("mail.check_new_mail", true);
+pref("mail.sort_by", 0);
+pref("news.sort_by", 0);
+pref("browser.startup.license_accepted", "");
+pref("browser.cache.memory_cache_size", 3000);
+pref("browser.cache.disk_cache_size", 5000);
+pref("browser.ncols", 0);
+pref("browser.installcmap", false);
+pref("mail.signature_file", "~/.signature");
+pref("mail.default_fcc", "~/nsmail/Sent");
+pref("news.default_fcc", "~/nsmail/Sent");
+pref("mailnews.reply_with_extra_lines", 0);
+pref("browser.startup.default_window", 0);
+pref("security.warn_accept_cookie", false);
+pref("editor.disable_spell_checker", false);
+pref("editor.dont_lock_spell_files", true);
+pref("editor.singleLine.pasteNewlines", 0);
+
+// Middle-mouse handling
+pref("middlemouse.paste", true);
+pref("middlemouse.openNewWindow", true);
+pref("middlemouse.scrollbarPosition", true);
+
+// Clipboard behavior
+pref("clipboard.autocopy", true);
+
+// Instead of "delay_images"
+pref("browser.autoload_images", true);
+
+// Most Unix people think modal pref windows are stupid:
+pref("browser.prefWindowModal", false);
+
+// Unix only
+pref("mail.use_movemail", true);
+pref("mail.use_builtin_movemail", true);
+pref("mail.movemail_program", "");
+pref("mail.movemail_warn", false);
+pref("mail.sash_geometry", "");
+pref("news.cache_xover", false);
+pref("news.show_first_unread", false);
+pref("news.sash_geometry", "");
+pref("helpers.global_mime_types_file", "/usr/local/lib/netscape/mime.types");
+pref("helpers.global_mailcap_file", "/usr/local/lib/netscape/mailcap");
+pref("helpers.private_mime_types_file", "~/.mime.types");
+pref("helpers.private_mailcap_file", "~/.mailcap");
+pref("applications.telnet", "xterm -e telnet %h %p");
+pref("applications.tn3270", "xterm -e tn3270 %h");
+pref("applications.rlogin", "xterm -e rlogin %h");
+pref("applications.rlogin_with_user", "xterm -e rlogin %h -l %u");
+pref("applications.tmp_dir", "/tmp");
+// On Solaris/IRIX, this should be "lp"
+pref("print.print_command", "lpr");
+pref("print.print_reversed", false);
+pref("print.print_color", true);
+pref("print.print_landscape", false);
+pref("print.print_paper_size", 0);
+
+// Not sure what this one does...
+pref("browser.fancy_ftp", true);
+
+// Fortezza stuff
+pref("fortezza.toggle", 1);
+pref("fortezza.timeout", 30);
+
+
+// font names
+
+// ar
+
+pref("font.name.serif.el", "misc-fixed-iso8859-7");
+pref("font.name.sans-serif.el", "misc-fixed-iso8859-7");
+pref("font.name.monospace.el", "misc-fixed-iso8859-7");
+
+pref("font.name.serif.he", "misc-fixed-iso8859-8");
+pref("font.name.sans-serif.he", "misc-fixed-iso8859-8");
+pref("font.name.monospace.he", "misc-fixed-iso8859-8");
+
+pref("font.name.serif.ja", "ms-pgothic-jisx0208.1983-0");
+pref("font.name.sans-serif.ja", "ms-pgothic-jisx0208.1983-0");
+pref("font.name.monospace.ja", "ms-gothic-jisx0208.1983-0");
+
+pref("font.name.serif.ko", "daewoo-mincho-ksc5601.1987-0");
+pref("font.name.sans-serif.ko", "daewoo-mincho-ksc5601.1987-0");
+pref("font.name.monospace.ko", "daewoo-mincho-ksc5601.1987-0");
+
+// th
+
+pref("font.name.serif.tr", "adobe-times-iso8859-9");
+pref("font.name.sans-serif.tr", "adobe-helvetica-iso8859-9");
+pref("font.name.monospace.tr", "adobe-courier-iso8859-9");
+
+pref("font.name.serif.x-baltic", "b&h-lucidux serif-iso8859-4");
+pref("font.name.sans-serif.x-baltic", "b&h-lucidux sans-iso8859-4");
+pref("font.name.monospace.x-baltic", "b&h-lucidux mono-iso8859-4");
+
+pref("font.name.serif.x-central-euro", "adobe-times-iso8859-2");
+pref("font.name.sans-serif.x-central-euro", "adobe-helvetica-iso8859-2");
+pref("font.name.monospace.x-central-euro", "adobe-courier-iso8859-2");
+
+pref("font.name.serif.x-cyrillic", "cronyx-times-koi8-r");
+pref("font.name.sans-serif.x-cyrillic", "cronyx-helvetica-koi8-r");
+pref("font.name.monospace.x-cyrillic", "cronyx-courier-koi8-r");
+
+pref("font.name.serif.x-unicode", "adobe-times-iso8859-1");
+pref("font.name.sans-serif.x-unicode", "adobe-helvetica-iso8859-1");
+pref("font.name.monospace.x-unicode", "adobe-courier-iso8859-1");
+
+pref("font.name.serif.x-user-def", "adobe-times-iso8859-1");
+pref("font.name.sans-serif.x-user-def", "adobe-helvetica-iso8859-1");
+pref("font.name.monospace.x-user-def", "adobe-courier-iso8859-1");
+
+pref("font.name.serif.x-western", "adobe-times-iso8859-1");
+pref("font.name.sans-serif.x-western", "adobe-helvetica-iso8859-1");
+pref("font.name.monospace.x-western", "ms-gothic-iso8859-1");
+
+pref("font.name.serif.zh-CN", "isas-song ti-gb2312.1980-0");
+pref("font.name.sans-serif.zh-CN", "isas-song ti-gb2312.1980-0");
+pref("font.name.monospace.zh-CN", "isas-song ti-gb2312.1980-0");
+
+// zh-TW
+
+
+// minimum font sizes
+
+pref("font.min-size.variable.ja", 8);
+pref("font.min-size.fixed.ja", 8);
+
+pref("font.min-size.variable.ko", 16);
+pref("font.min-size.fixed.ko", 16);
+
+pref("font.min-size.variable.zh-CN", 16);
+pref("font.min-size.fixed.zh-CN", 16);
+
+pref("font.min-size.variable.zh-TW", 16);
+pref("font.min-size.fixed.zh-TW", 16);
+
+// ps font
+pref("print.psnativecode.ja", "euc-jp");
+pref("print.psnativefont.ja", "Ryumin-Light-EUC-H");
+
+pref("mail.signature_date", 0);
+
+// Outliner column defaults
+pref("mail.threadpane.messagepane_height", 400);
+
+pref("taskbar.x", -1);
+pref("taskbar.y", -1);
+pref("taskbar.floating", false);
+pref("taskbar.horizontal", false);
+pref("taskbar.ontop", false);
+pref("taskbar.button_style", -1);
+
diff --git a/japanese/mozilla-jlp-devel/pkg-comment b/japanese/mozilla-jlp-devel/pkg-comment
new file mode 100644
index 000000000000..9fd7ad35d1e6
--- /dev/null
+++ b/japanese/mozilla-jlp-devel/pkg-comment
@@ -0,0 +1 @@
+Mozilla Japanese Language Pack (JLP)
diff --git a/japanese/mozilla-jlp-devel/pkg-descr b/japanese/mozilla-jlp-devel/pkg-descr
new file mode 100644
index 000000000000..7e11f4950628
--- /dev/null
+++ b/japanese/mozilla-jlp-devel/pkg-descr
@@ -0,0 +1,10 @@
+Mozilla is an open-source web browser, designed for standards compliance,
+performance and portability.
+
+Mozilla Japanese Language Pack (JLP) Japanizes Mozilla GUI, which is
+provided by "Kazu" Yamamoto and Ryoichi Furukawa.
+
+WWW: http://www.mozilla.gr.jp/jlp/
+
+- Yoichi ASAI
+yatt@msc.biglobe.ne.jp
diff --git a/japanese/mozilla-jlp-devel/pkg-plist b/japanese/mozilla-jlp-devel/pkg-plist
new file mode 100644
index 000000000000..c8365009bf93
--- /dev/null
+++ b/japanese/mozilla-jlp-devel/pkg-plist
@@ -0,0 +1,35 @@
+@exec mv %D/bin/mozilla %D/bin/mozilla.orig
+@exec mv %D/lib/mozilla/chrome/all-locales.rdf %D/lib/mozilla/chrome/all-locales.rdf.orig
+@exec mv %D/lib/mozilla/chrome/user-locales.rdf %D/lib/mozilla/chrome/user-locales.rdf.orig
+@exec mv %D/lib/mozilla/chrome/installed-chrome.txt %D/lib/mozilla/chrome/installed-chrome.txt.orig
+@exec mv %D/lib/mozilla/defaults/pref/all.js %D/lib/mozilla/defaults/pref/all.js.orig
+@exec mv %D/lib/mozilla/defaults/pref/unix.js %D/lib/mozilla/defaults/pref/unix.js.orig
+bin/mozilla
+lib/mozilla/chrome/all-locales.rdf
+lib/mozilla/chrome/installed-chrome.txt
+lib/mozilla/chrome/user-locales.rdf
+lib/mozilla/chrome/ja-JP.jar
+lib/mozilla/defaults/profile/ja-JP/bookmarks.html
+lib/mozilla/defaults/profile/ja-JP/localstore.rdf
+lib/mozilla/defaults/profile/ja-JP/mimeTypes.rdf
+lib/mozilla/defaults/profile/ja-JP/panels.rdf
+lib/mozilla/defaults/profile/ja-JP/search.rdf
+lib/mozilla/defaults/pref/all.js
+lib/mozilla/defaults/pref/unix.js
+lib/mozilla/searchplugins/Bugzilla-ja-Summary.png
+lib/mozilla/searchplugins/Bugzilla-ja-Summary.src
+lib/mozilla/searchplugins/Bugzilla-Summary.png
+lib/mozilla/searchplugins/Bugzilla-Summary.src
+lib/mozilla/searchplugins/Fresheye_Japan.gif
+lib/mozilla/searchplugins/Fresheye_Japan.src
+lib/mozilla/searchplugins/MozillaGrJp.png
+lib/mozilla/searchplugins/MozillaGrJp.src
+lib/mozilla/searchplugins/Netscape_Japan.gif
+lib/mozilla/searchplugins/Netscape_Japan.src
+@unexec mv %D/bin/mozilla.orig %D/bin/mozilla
+@unexec mv %D/lib/mozilla/chrome/all-locales.rdf.orig %D/lib/mozilla/chrome/all-locales.rdf
+@unexec mv %D/lib/mozilla/chrome/user-locales.rdf.orig %D/lib/mozilla/chrome/user-locales.rdf
+@unexec mv %D/lib/mozilla/chrome/installed-chrome.txt.orig %D/lib/mozilla/chrome/installed-chrome.txt
+@unexec mv %D/lib/mozilla/defaults/pref/all.js.orig %D/lib/mozilla/defaults/pref/all.js
+@unexec mv %D/lib/mozilla/defaults/pref/unix.js.orig %D/lib/mozilla/defaults/pref/unix.js
+@dirrm lib/mozilla/defaults/profile/ja-JP
diff --git a/japanese/mozilla-jlp/Makefile b/japanese/mozilla-jlp/Makefile
new file mode 100644
index 000000000000..c29bb01c8d91
--- /dev/null
+++ b/japanese/mozilla-jlp/Makefile
@@ -0,0 +1,65 @@
+# New ports collection makefile for: ja-mozilla-jlp
+# Date created: 02 Jul 2000
+# Whom: Yoichi ASAI <yatt@msc.biglobe.ne.jp>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mozilla
+PORTVERSION= M18
+CATEGORIES= japanese www
+MASTER_SITES= http://www.mozilla.gr.jp/jlp/ \
+ http://mozilla.inmel.net/
+PKGNAMESUFFIX= -jlp
+DISTNAME= ${PORTVERSION}-langjajp
+EXTRACT_SUFX= .xpi
+
+MAINTAINER= yatt@msc.biglobe.ne.jp
+
+BUILD_DEPENDS= ${X11BASE}/lib/mozilla/regxpcom:${PORTSDIR}/www/mozilla
+RUN_DEPENDS= mozilla:${PORTSDIR}/www/mozilla \
+ ${PKG_DBDIR}/ja-netscape-fonts-1.0:${PORTSDIR}/japanese/netscape-fonts
+
+WRKSRC= ${WRKDIR}/bin
+
+USE_X_PREFIX= yes
+USE_ZIP= yes
+EXTRACT_BEFORE_ARGS= -qo
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 400020
+MOZILLA_SH= mozilla.noxpg4
+.else
+MOZILLA_SH= mozilla.xpg4
+.endif
+
+post-extract:
+ find ${WRKSRC} -type d -exec ${CHMOD} 755 {} \;
+ ${MKDIR} ${WRKSRC}/defaults/pref
+ ${CP} ${FILESDIR}/all.js ${WRKSRC}/defaults/pref
+ ${CP} ${FILESDIR}/unix.js ${WRKSRC}/defaults/pref
+
+do-build:
+ ${SED} -e "s;@PREFIX@;${PREFIX};g" \
+ ${FILESDIR}/${MOZILLA_SH} > ${WRKDIR}/mozilla
+
+do-install:
+ (cd ${PREFIX}/lib/mozilla/chrome; \
+ ${MV} all-locales.rdf all-locales.rdf.orig; \
+ ${MV} user-locales.rdf user-locales.rdf.orig; \
+ ${MV} installed-chrome.txt installed-chrome.txt.orig)
+ (cd ${PREFIX}/lib/mozilla/defaults/pref; \
+ ${MV} all.js all.js.orig; ${MV} unix.js unix.js.orig)
+ ${MV} ${PREFIX}/bin/mozilla ${PREFIX}/bin/mozilla.orig
+ ${INSTALL_SCRIPT} ${WRKDIR}/mozilla ${PREFIX}/bin
+ (cd ${WRKSRC}; ${TAR} -cf - chrome defaults searchplugins) | \
+ ${TAR} -xf - -C ${PREFIX}/lib/mozilla
+ (cd ${PREFIX}/lib/mozilla/chrome; \
+ ${CP} installed-chrome.txt.orig installed-chrome.txt; \
+ ${CAT} ${FILESDIR}/installed-chrome.txt >> installed-chrome.txt)
+ (cd ${PREFIX}/lib/mozilla; \
+ ${ENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regxpcom; \
+ ${ENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regchrome)
+
+.include <bsd.port.post.mk>
diff --git a/japanese/mozilla-jlp/distinfo b/japanese/mozilla-jlp/distinfo
new file mode 100644
index 000000000000..2190da4774e9
--- /dev/null
+++ b/japanese/mozilla-jlp/distinfo
@@ -0,0 +1 @@
+MD5 (M18-langjajp.xpi) = 20de4c7d800dbd58347798321603fc40
diff --git a/japanese/mozilla-jlp/files/all.js b/japanese/mozilla-jlp/files/all.js
new file mode 100644
index 000000000000..51bce16aaa91
--- /dev/null
+++ b/japanese/mozilla-jlp/files/all.js
@@ -0,0 +1,519 @@
+/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
+ *
+ * The contents of this file are subject to the Netscape Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/NPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Netscape
+ * Communications Corporation. Portions created by Netscape are
+ * Copyright (C) 1998 Netscape Communications Corporation. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ */
+
+// SYNTAX HINTS: dashes are delimiters. Use underscores instead.
+// The first character after a period must be alphabetic.
+
+pref("network.search.url","http://cgi.netscape.com/cgi-bin/url_search.cgi?search=");
+
+pref("keyword.URL", "http://keyword.netscape.com/keyword/");
+pref("keyword.enabled", false);
+pref("general.useragent.locale", "chrome://navigator/locale/navigator.properties");
+pref("general.useragent.misc", "m18");
+
+pref("general.startup.browser", true);
+pref("general.startup.mail", false);
+pref("general.startup.news", false);
+pref("general.startup.editor", false);
+pref("general.startup.compose", false);
+pref("general.startup.addressbook", false);
+
+pref("general.always_load_images", true);
+pref("general.always_load_movies", true);
+pref("general.always_load_sounds", true);
+pref("general.title_tips", true);
+
+pref("general.help_source.site", 1); // 0 = Netscape, 1 = installed, 2 = custom
+pref("general.help_source.url", "");
+
+pref("general.fullcircle_enable", true);
+pref("general.fullcircle_collect_ns_data", false);
+
+pref("browser.enable_style_sheets", true);
+// 0 = blank, 1 = home (browser.startup.homepage), 2 = last
+pref("browser.startup.page", 1);
+pref("browser.startup.homepage", "chrome://navigator/locale/navigator.properties");
+// "browser.startup.homepage_override" was for 4.x
+pref("browser.startup.homepage_override.1", true);
+pref("browser.startup.autoload_homepage", true);
+pref("browser.startup.agreed_to_licence", false);
+pref("browser.startup.license_version", 0);
+pref("browser.startup.default_window", 1); // start up browser
+pref("browser.cache.disk_cache_size", 7680);
+pref("browser.cache.enable", true);
+pref("browser.cache.disk.enable", true);
+pref("browser.cache.memory_cache_size", 1024);
+pref("browser.cache.disk_cache_ssl", false);
+pref("browser.display.foreground_color", "#000000");
+pref("browser.display.background_color", "#C0C0C0");
+pref("browser.anchor_color", "#0000EE");
+pref("browser.visited_color", "#551A8B");
+pref("browser.chrome.show_directory_buttons", true);
+pref("browser.chrome.toolbar_style", 2);
+pref("browser.chrome.advanced_toolbar", false);
+pref("browser.chrome.show_toolbar", true);
+pref("browser.chrome.show_status_bar", true);
+pref("browser.chrome.show_url_bar", true);
+pref("browser.chrome.show_security_bar", true);
+pref("browser.chrome.button_style", 0);
+
+pref("browser.toolbars.showbutton.bookmarks", false);
+pref("browser.toolbars.showbutton.go", false);
+pref("browser.toolbars.showbutton.home", true);
+pref("browser.toolbars.showbutton.mynetscape", true);
+pref("browser.toolbars.showbutton.net2phone", true);
+pref("browser.toolbars.showbutton.print", true);
+pref("browser.toolbars.showbutton.search", true);
+
+pref("browser.background_option", 0); // DEFAULT_BACKGROUND
+pref("browser.link_expiration", 9);
+pref("browser.cache.check_doc_frequency", 0);
+
+pref("browser.delay_images", false);
+pref("browser.underline_anchors", true);
+pref("browser.never_expire", false);
+pref("browser.display_while_loading", true);
+pref("browser.custom_link_color", false);
+pref("browser.custom_visited_color", false);
+pref("browser.custom_text_color", false);
+pref("browser.display.use_document_colors", true);
+pref("browser.ldapfile_location", "");
+pref("browser.print_background", false);
+pref("browser.prefs_window.modeless", false);
+pref("browser.prefs_window_rect", "-1,-1,-1,-1");
+pref("browser.find_window_rect", "-1,-1,-1,-1");
+pref("browser.bookmark_window_rect", "-1,-1,-1,-1");
+pref("browser.download_window_rect", "-1,-1,-1,-1");
+pref("browser.wfe.ignore_def_check",false);
+pref("browser.display.wfe.use_windows_colors",true);
+pref("browser.startup_mode",1);
+
+// Dialog modality issues
+pref("browser.prefWindowModal", true);
+pref("browser.show_about_as_stupid_modal_window", false);
+
+// various default search settings
+pref("browser.search.defaulturl", "chrome://navigator/locale/navigator.properties");
+pref("browser.search.opensidebarsearchpanel", true);
+pref("browser.search.last_search_category", "NC:SearchCategory?category=urn:search:category:1");
+pref("browser.search.mode", 0);
+pref("browser.search.powermode", 0);
+pref("browser.search.use_double_clicks", false);
+pref("browser.urlbar.autocomplete.enabled", true);
+pref("browser.urlbar.clickSelectsAll",false);
+
+localDefPref("browser.bookmark_location", "");
+localDefPref("browser.addressbook_location", "");
+localDefPref("browser.socksfile_location", "");
+localDefPref("browser.ldapfile_location", "");
+
+pref("browser.history.last_page_visited", "");
+
+pref("browser.url_history.URL_1", "");
+pref("browser.url_history.URL_2", "");
+pref("browser.url_history.URL_3", "");
+pref("browser.url_history.URL_4", "");
+pref("browser.url_history.URL_5", "");
+pref("browser.url_history.URL_6", "");
+pref("browser.url_history.URL_7", "");
+pref("browser.url_history.URL_8", "");
+pref("browser.url_history.URL_9", "");
+pref("browser.url_history.URL_10", "");
+pref("browser.url_history.URL_11", "");
+pref("browser.url_history.URL_12", "");
+pref("browser.url_history.URL_13", "");
+pref("browser.url_history.URL_14", "");
+pref("browser.url_history.URL_15", "");
+
+pref("browser.uriloader", true); // turn new uri loading on by default
+
+pref("browser.personal_toolbar_button.min_chars", 15);
+pref("browser.personal_toolbar_button.max_chars", 30);
+
+pref("browser.PICS.ratings_enabled", false);
+pref("browser.PICS.pages_must_be_rated", false);
+pref("browser.PICS.disable_for_this_session", false);
+pref("browser.PICS.reenable_for_this_session", false);
+pref("browser.PICS.service.http___home_netscape_com_default_rating.service_enabled", true);
+pref("browser.PICS.service.http___home_netscape_com_default_rating.s", 0);
+
+// gfx widgets
+pref("nglayout.widget.mode", 2);
+pref("nglayout.widget.gfxscrollbars", true);
+
+// use nsViewManager2
+pref("nglayout.view.useViewManager2", true);
+
+// css2 hover pref
+pref("nglayout.events.showHierarchicalHover", false);
+
+// Smart Browsing prefs
+pref("browser.related.enabled", true);
+pref("browser.related.autoload", 1); // 0 = Always, 1 = After first use, 2 = Never
+pref("browser.related.provider", "http://www-rl.netscape.com/wtgn?");
+pref("browser.related.detailsProvider", "http://cgi.netscape.com/cgi-bin/rlcgi.cgi?URL=");
+pref("browser.related.disabledForDomains", "");
+pref("browser.goBrowsing.enabled", true);
+
+
+// The NavCenter preferences
+localDefPref("browser.navcenter.dockstyle", 1); // 1 = left, 2 = right, 3 = top, 4 = bottom
+localDefPref("browser.navcenter.docked.tree.visible", false);
+localDefPref("browser.navcenter.docked.selector.visible", true);
+localDefPref("browser.navcenter.docked.tree.width", 250); // Percent of parent window consumed by docked nav center
+localDefPref("browser.navcenter.floating.rect", "20, 20, 400, 600"); // Window dimensions when floating
+
+pref("capability.policy.default.barprop.visible.write", "UniversalBrowserWrite");
+
+pref("capability.policy.default.history.current.read", "UniversalBrowserRead");
+pref("capability.policy.default.history.next.read", "UniversalBrowserRead");
+pref("capability.policy.default.history.previous.read", "UniversalBrowserRead");
+pref("capability.policy.default.history.item.read", "UniversalBrowserRead");
+
+pref("capability.policy.default.navigator.preference.read", "UniversalPreferencesRead");
+pref("capability.policy.default.navigator.preference.write", "UniversalPreferencesWrite");
+pref("capability.policy.default.windowinternal.location.write", "allAccess");
+
+
+localDefPref("ghist.expires.pos", 4);
+localDefPref("ghist.expires.width", 1400);
+localDefPref("ghist.firstvisit.pos", 2);
+localDefPref("ghist.firstvisit.width", 1400);
+localDefPref("ghist.lastvisit.pos", 3);
+localDefPref("ghist.lastvisit.width", 1400);
+localDefPref("ghist.location.pos", 1);
+localDefPref("ghist.location.width", 2400);
+pref("ghist.show_value", 0);
+pref("ghist.sort_descending", false);
+pref("ghist.sortby", 3); // eGH_LastDateSort
+localDefPref("ghist.title.pos", 0);
+localDefPref("ghist.title.width", 2400);
+localDefPref("ghist.visiblecolumns", 6);
+localDefPref("ghist.visitcount.pos", 5);
+localDefPref("ghist.visitcount.width", 1000);
+localDefPref("ghist.window_rect", "0,0,0,0");
+
+pref("javascript.enabled", true);
+pref("javascript.allow.mailnews", false);
+pref("javascript.allow.signing", true);
+pref("javascript.reflect_preferences", false); // for PE
+//pref("javascript.options.strict", true);
+
+// advanced prefs
+pref("advanced.always_load_images", true);
+pref("security.enable_java", true);
+pref("css.allow", true);
+pref("advanced.mailftp", false);
+
+pref("offline.startup_state", 0);
+pref("offline.send.unsent_messages", 0);
+pref("offline.prompt_synch_on_exit", true);
+pref("offline.news.download.use_days", 0);
+
+pref("network.dnsAttempt", 0);
+pref("network.tcptimeout", 0); // use default
+pref("network.tcpbufsize", 0); //
+pref("network.use_async_dns", true);
+pref("network.dnsCacheExpiration", 900); // in seconds
+pref("network.enableUrlMatch", true);
+pref("network.max_connections", 4);
+pref("network.speed_over_ui", true);
+pref("network.file_sort_method", 0); // NAME 0, TYPE 1, SIZE 2, DATE 3
+pref("network.ftp.passive", true);
+pref("network.hosts.smtp_server", "mail");
+pref("network.hosts.pop_server", "mail");
+pref("network.protocols.useSystemDefaults", false); // set to true if user links should use system default handlers
+
+// <ruslan>
+pref("network.http.version", "1.1"); // default
+// pref("network.http.version", "1.0"); // uncomment this out in case of problems
+// pref("network.http.version", "0.9"); // it'll work too if you're crazy
+// keep-alive option is effectively obsolete. Nevertheless it'll work with
+// some older 1.0 servers:
+
+pref("network.http.keep-alive", true); // set it to false in case of problems
+pref("network.http.proxy.keep-alive", true );
+pref("network.http.keep-alive.timeout", 300);
+
+pref("network.http.max-connections", 8);
+pref("network.http.keep-alive.max-connections", 20); // max connections to be kept alive
+pref("network.http.keep-alive.max-connections-per-server", 8);
+
+pref("network.http.connect.timeout", 30); // in seconds
+pref("network.http.request.timeout", 120); // in seconds
+
+// Enable http compression: comment this out in case of problems with 1.1
+pref("network.http.accept-encoding" ,"gzip,deflate,compress,identity");
+
+pref("network.http.pipelining" , false);
+pref("network.http.proxy.pipelining", false);
+
+// Always pipeling the very first request: this will only work when you are
+// absolutely sure the the site or proxy you are browsing to/through support
+// pipelining; the default behavior will be that the browser will first make
+// a normal, non-pipelined request, then examine and remember the responce
+// and only the subsequent requests to that site will be pipeline
+pref("network.http.pipelining.firstrequest", false);
+
+// Max number of requests in the pipeline
+pref("network.http.pipelining.maxrequests" , 4);
+
+pref("network.http.proxy.ssl.connect",true);
+// </ruslan>
+
+// sspitzer: change this back to "news" when we get to beta.
+// for now, set this to news.mozilla.org because you can only
+// post to the server specified by this pref.
+pref("network.hosts.nntp_server", "news.mozilla.org");
+
+pref("network.hosts.socks_server", "");
+pref("network.hosts.socks_serverport", 1080);
+pref("network.hosts.socks_conf", "");
+pref("network.image.imageBehavior", 0); // 0-Accept, 1-dontAcceptForeign, 2-dontUse
+pref("network.image.warnAboutImages", false);
+pref("network.proxy.autoconfig_url", "");
+pref("network.proxy.type", 0);
+pref("network.proxy.ftp", "");
+pref("network.proxy.ftp_port", 0);
+pref("network.proxy.gopher", "");
+pref("network.proxy.gopher_port", 0);
+pref("network.proxy.news", "");
+pref("network.proxy.news_port", 0);
+pref("network.proxy.http", "");
+pref("network.proxy.http_port", 0);
+pref("network.proxy.wais", "");
+pref("network.proxy.wais_port", 0);
+pref("network.proxy.ssl", "");
+pref("network.proxy.ssl_port", 0);
+pref("network.proxy.socks", "");
+pref("network.proxy.socks_port", 0);
+pref("network.proxy.no_proxies_on", "");
+pref("network.online", true); //online/offline
+pref("network.prompt_at_startup", false);//Ask me
+pref("network.accept_cookies", 0); // 0 = Always, 1 = warn, 2 = never
+pref("network.foreign_cookies", 0); // 0 = Accept, 1 = Don't accept
+pref("network.cookie.cookieBehavior", 0); // 0-Accept, 1-dontAcceptForeign, 2-dontUse
+pref("network.cookie.warnAboutCookies", false);
+pref("signon.rememberSignons", true);
+pref("network.sendRefererHeader", 2); // 0=don't send any, 1=send only on clicks, 2=send on image requests as well
+pref("network.enablePad", false); // Allow client to do proxy autodiscovery
+pref("network.padPacURL", ""); // The proxy autodiscovery url
+pref("converter.html2txt.structs", true); // Output structured phrases (strong, em, code, sub, sup, b, i, u)
+pref("converter.html2txt.header_strategy", 1); // 0 = no indention; 1 = indention, increased with header level; 2 = numbering and slight indention
+pref("wallet.captureForms", true);
+pref("wallet.notified", false);
+pref("wallet.fetchPatches", false);
+pref("wallet.TutorialFromMenu", "chrome://navigator/locale/navigator.properties");
+pref("wallet.TutorialFromPrefs", "chrome://navigator/locale/navigator.properties");
+pref("wallet.Server", "chrome://navigator/locale/navigator.properties");
+pref("wallet.Samples", "chrome://navigator/locale/navigator.properties");
+pref("wallet.version", "1");
+pref("wallet.enabled", true);
+pref("wallet.crypto", false);
+pref("imageblocker.enabled", true);
+pref("messages.new_window", true); // ML obsolete; use mailnews.message_in_thread_window
+pref("intl.accept_languages", "chrome://navigator/locale/navigator.properties");
+pref("intl.accept_charsets", "iso-8859-1,*,utf-8");
+pref("intl.collationKeyAsCodePoint", false);
+
+pref("intl.charsetmenu.browser.static", "chrome://navigator/locale/navigator.properties");
+pref("intl.charsetmenu.browser.more1", "chrome://navigator/locale/navigator.properties");
+pref("intl.charsetmenu.browser.more2", "chrome://navigator/locale/navigator.properties");
+pref("intl.charsetmenu.browser.more3", "chrome://navigator/locale/navigator.properties");
+pref("intl.charsetmenu.browser.more4", "chrome://navigator/locale/navigator.properties");
+pref("intl.charsetmenu.browser.more5", "chrome://navigator/locale/navigator.properties");
+pref("intl.charsetmenu.mailedit", "chrome://navigator/locale/navigator.properties");
+pref("intl.charsetmenu.browser.cache", "");
+pref("intl.charsetmenu.mailview.cache", "");
+pref("intl.charsetmenu.composer.cache", "");
+pref("intl.charsetmenu.browser.cache.size", 5);
+pref("intl.charset.detector", "chrome://navigator/locale/navigator.properties");
+pref("intl.charset.default", "chrome://navigator/locale/navigator.properties");
+
+pref("font.default", "sans-serif");
+pref("font.size.variable.ar", 16);
+pref("font.size.fixed.ar", 13);
+
+pref("font.size.variable.el", 16);
+pref("font.size.fixed.el", 13);
+
+pref("font.size.variable.he", 16);
+pref("font.size.fixed.he", 13);
+
+pref("font.size.variable.ja", 14);
+pref("font.size.fixed.ja", 14);
+
+pref("font.size.variable.ko", 16);
+pref("font.size.fixed.ko", 16);
+
+pref("font.size.variable.th", 16);
+pref("font.size.fixed.th", 13);
+
+pref("font.size.variable.tr", 16);
+pref("font.size.fixed.tr", 13);
+
+pref("font.size.variable.x-baltic", 16);
+pref("font.size.fixed.x-baltic", 13);
+
+pref("font.size.variable.x-central-euro", 16);
+pref("font.size.fixed.x-central-euro", 13);
+
+pref("font.size.variable.x-cyrillic", 16);
+pref("font.size.fixed.x-cyrillic", 13);
+
+pref("font.size.variable.x-unicode", 16);
+pref("font.size.fixed.x-unicode", 13);
+
+pref("font.size.variable.x-western", 14);
+pref("font.size.fixed.x-western", 14);
+
+pref("font.size.variable.zh-CN", 16);
+pref("font.size.fixed.zh-CN", 16);
+
+pref("font.size.variable.zh-TW", 16);
+pref("font.size.fixed.zh-TW", 16);
+
+pref("browser.enable_webfonts", true);
+pref("browser.display.use_document_fonts", 1); // 0 = never, 1 = quick, 2 = always
+
+// -- folders (Mac: these are binary aliases.)
+localDefPref("browser.download_directory", "");
+localDefPref("mail.signature_file", "");
+localDefPref("mail.directory", "");
+localDefPref("mail.cc_file", "");
+localDefPref("news.cc_file", "");
+
+pref("news.fancy_listing", true); // obsolete
+pref("browser.wfe.show_value", 1);
+pref("browser.blink_allowed", true);
+pref("images.dither", "auto");
+pref("images.incremental_display", true);
+pref("network.wfe.use_async_dns", true);
+pref("network.wfe.tcp_connect_timeout",0);
+localDefPref("news.directory", "");
+localDefPref("security.directory", "");
+
+pref("autoupdate.enabled", true);
+pref("autoupdate.confirm_install", false);
+pref("autoupdate.unsigned_jar_support", false);
+
+pref("silentdownload.enabled", true);
+pref("silentdownload.directory", "");
+pref("silentdownload.range", 3000);
+pref("silentdownload.interval", 10000);
+
+
+pref("imap.io.mac.logging", false);
+
+pref("browser.editor.disabled", false);
+
+pref("SpellChecker.DefaultLanguage", 0);
+pref("SpellChecker.DefaultDialect", 0);
+
+pref("mime.table.allow_add", true);
+pref("mime.table.allow_edit", true);
+pref("mime.table.allow_remove", true);
+
+pref("signed.applets.codebase_principal_support", false);
+pref("security.checkloaduri", true);
+pref("security.xpconnect.plugin.unrestricted", true);
+
+// Modifier key prefs: default to Windows settings,
+// menu access key = alt, accelerator key = control.
+pref("ui.key.accelKey", 17);
+pref("ui.key.menuAccessKey", 18);
+pref("ui.key.menuAccessKeyFocuses", false);
+
+// Middle-mouse handling
+pref("middlemouse.paste", false);
+pref("middlemouse.openNewWindow", false);
+
+// Clipboard behavior
+pref("clipboard.autocopy", false);
+
+/* 0=lines, 1=pages, 2=history , 3=text size */
+pref("mousewheel.withnokey.action",0);
+pref("mousewheel.withnokey.numlines",1);
+pref("mousewheel.withnokey.sysnumlines",true);
+pref("mousewheel.withcontrolkey.action",0);
+pref("mousewheel.withcontrolkey.numlines",1);
+pref("mousewheel.withcontrolkey.sysnumlines",true);
+pref("mousewheel.withshiftkey.action",0);
+pref("mousewheel.withshiftkey.numlines",1);
+pref("mousewheel.withshiftkey.sysnumlines",false);
+pref("mousewheel.withaltkey.action",2);
+pref("mousewheel.withaltkey.numlines",1);
+pref("mousewheel.withaltkey.sysnumlines",false);
+
+pref("middlemouse.scrollbarPosition", false);
+
+pref("profile.confirm_automigration",true);
+
+// Customizable toolbar stuff
+pref("custtoolbar.personal_toolbar_folder", "");
+pref("custtoolbar.has_toolbar_folder", true);
+pref("custtoolbar.Browser.Navigation_Toolbar.position", 0);
+pref("custtoolbar.Browser.Navigation_Toolbar.showing", true);
+pref("custtoolbar.Browser.Navigation_Toolbar.open", true);
+pref("custtoolbar.Browser.Location_Toolbar.position", 1);
+pref("custtoolbar.Browser.Location_Toolbar.showing", true);
+pref("custtoolbar.Browser.Location_Toolbar.open", true);
+pref("custtoolbar.Browser.Personal_Toolbar.position", 2);
+pref("custtoolbar.Browser.Personal_Toolbar.showing", true);
+pref("custtoolbar.Browser.Personal_Toolbar.open", true);
+pref("custtoolbar.Messenger.Navigation_Toolbar.position", 0);
+pref("custtoolbar.Messenger.Navigation_Toolbar.showing", true);
+pref("custtoolbar.Messenger.Navigation_Toolbar.open", true);
+pref("custtoolbar.Messenger.Location_Toolbar.position", 1);
+pref("custtoolbar.Messenger.Location_Toolbar.showing", true);
+pref("custtoolbar.Messenger.Location_Toolbar.open", true);
+pref("custtoolbar.Messages.Navigation_Toolbar.position", 0);
+pref("custtoolbar.Messages.Navigation_Toolbar.showing", true);
+pref("custtoolbar.Messages.Navigation_Toolbar.open", true);
+pref("custtoolbar.Messages.Location_Toolbar.position", 1);
+pref("custtoolbar.Messages.Location_Toolbar.showing", true);
+pref("custtoolbar.Messages.Location_Toolbar.open", true);
+pref("custtoolbar.Folders.Navigation_Toolbar.position", 0);
+pref("custtoolbar.Folders.Navigation_Toolbar.showing", true);
+pref("custtoolbar.Folders.Navigation_Toolbar.open", true);
+pref("custtoolbar.Folders.Location_Toolbar.position", 1);
+pref("custtoolbar.Folders.Location_Toolbar.showing", true);
+pref("custtoolbar.Folders.Location_Toolbar.open", true);
+pref("custtoolbar.Address_Book.Address_Book_Toolbar.position", 0);
+pref("custtoolbar.Address_Book.Address_Book_Toolbar.showing", true);
+pref("custtoolbar.Address_Book.Address_Book_Toolbar.open", true);
+pref("custtoolbar.Compose_Message.Message_Toolbar.position", 0);
+pref("custtoolbar.Compose_Message.Message_Toolbar.showing", true);
+pref("custtoolbar.Compose_Message.Message_Toolbar.open", true);
+pref("custtoolbar.Composer.Composition_Toolbar.position", 0);
+pref("custtoolbar.Composer.Composition_Toolbar.showing", true);
+pref("custtoolbar.Composer.Composition_Toolbar.open", true);
+pref("custtoolbar.Composer.Formatting_Toolbar.position", 1);
+pref("custtoolbar.Composer.Formatting_Toolbar.showing", true);
+pref("custtoolbar.Composer.Formatting_Toolbar.open", true);
+
+pref("sidebar.customize.all_panels.url", "http://sidebar-rdf.netscape.com/%LOCALE%/sidebar-rdf/%SIDEBAR_VERSION%/all-panels.rdf");
+pref("sidebar.customize.more_panels.url", "http://dmoz.org/Netscape/Sidebar/");
+
+pref("prefs.converted-to-utf8",false);
+
+pref("browser.throbber.url","chrome://navigator/locale/navigator.properties");
diff --git a/japanese/mozilla-jlp/files/installed-chrome.txt b/japanese/mozilla-jlp/files/installed-chrome.txt
new file mode 100644
index 000000000000..cd77fe03e6fe
--- /dev/null
+++ b/japanese/mozilla-jlp/files/installed-chrome.txt
@@ -0,0 +1,6 @@
+locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/global/
+locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/communicator/
+locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/messenger/
+locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/editor/
+locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/navigator/
+locale,install,select,ja-JP
diff --git a/japanese/mozilla-jlp/files/mozilla.noxpg4 b/japanese/mozilla-jlp/files/mozilla.noxpg4
new file mode 100644
index 000000000000..2a2428058e68
--- /dev/null
+++ b/japanese/mozilla-jlp/files/mozilla.noxpg4
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+LANG=ja_JP.EUC; export LANG
+
+cd @PREFIX@/lib/mozilla
+exec ./mozilla "$@"
diff --git a/japanese/mozilla-jlp/files/mozilla.xpg4 b/japanese/mozilla-jlp/files/mozilla.xpg4
new file mode 100644
index 000000000000..9f78b708f077
--- /dev/null
+++ b/japanese/mozilla-jlp/files/mozilla.xpg4
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+LANG=ja_JP.EUC; export LANG
+LD_PRELOAD=/usr/lib/libxpg4.so.2; export LD_PRELOAD
+
+cd @PREFIX@/lib/mozilla
+exec ./mozilla "$@"
diff --git a/japanese/mozilla-jlp/files/unix.js b/japanese/mozilla-jlp/files/unix.js
new file mode 100644
index 000000000000..70b9457c9cd6
--- /dev/null
+++ b/japanese/mozilla-jlp/files/unix.js
@@ -0,0 +1,183 @@
+/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
+ *
+ * The contents of this file are subject to the Netscape Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/NPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Netscape
+ * Communications Corporation. Portions created by Netscape are
+ * Copyright (C) 1998 Netscape Communications Corporation. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ */
+
+// The other platforms roll this all into "toolbar mode".
+pref("browser.chrome.toolbar_tips", true);
+pref("browser.chrome.show_menubar", true);
+
+pref("mail.empty_trash", false);
+
+// Handled differently under Mac/Windows
+pref("network.hosts.smtp_server", "localhost");
+pref("network.hosts.pop_server", "pop");
+pref("mail.check_new_mail", true);
+pref("mail.sort_by", 0);
+pref("news.sort_by", 0);
+pref("browser.startup.license_accepted", "");
+pref("browser.cache.memory_cache_size", 3000);
+pref("browser.cache.disk_cache_size", 5000);
+pref("browser.ncols", 0);
+pref("browser.installcmap", false);
+pref("mail.signature_file", "~/.signature");
+pref("mail.default_fcc", "~/nsmail/Sent");
+pref("news.default_fcc", "~/nsmail/Sent");
+pref("mailnews.reply_with_extra_lines", 0);
+pref("browser.startup.default_window", 0);
+pref("security.warn_accept_cookie", false);
+pref("editor.disable_spell_checker", false);
+pref("editor.dont_lock_spell_files", true);
+pref("editor.singleLine.pasteNewlines", 0);
+
+// Middle-mouse handling
+pref("middlemouse.paste", true);
+pref("middlemouse.openNewWindow", true);
+pref("middlemouse.scrollbarPosition", true);
+
+// Clipboard behavior
+pref("clipboard.autocopy", true);
+
+// Instead of "delay_images"
+pref("browser.autoload_images", true);
+
+// Most Unix people think modal pref windows are stupid:
+pref("browser.prefWindowModal", false);
+
+// Unix only
+pref("mail.use_movemail", true);
+pref("mail.use_builtin_movemail", true);
+pref("mail.movemail_program", "");
+pref("mail.movemail_warn", false);
+pref("mail.sash_geometry", "");
+pref("news.cache_xover", false);
+pref("news.show_first_unread", false);
+pref("news.sash_geometry", "");
+pref("helpers.global_mime_types_file", "/usr/local/lib/netscape/mime.types");
+pref("helpers.global_mailcap_file", "/usr/local/lib/netscape/mailcap");
+pref("helpers.private_mime_types_file", "~/.mime.types");
+pref("helpers.private_mailcap_file", "~/.mailcap");
+pref("applications.telnet", "xterm -e telnet %h %p");
+pref("applications.tn3270", "xterm -e tn3270 %h");
+pref("applications.rlogin", "xterm -e rlogin %h");
+pref("applications.rlogin_with_user", "xterm -e rlogin %h -l %u");
+pref("applications.tmp_dir", "/tmp");
+// On Solaris/IRIX, this should be "lp"
+pref("print.print_command", "lpr");
+pref("print.print_reversed", false);
+pref("print.print_color", true);
+pref("print.print_landscape", false);
+pref("print.print_paper_size", 0);
+
+// Not sure what this one does...
+pref("browser.fancy_ftp", true);
+
+// Fortezza stuff
+pref("fortezza.toggle", 1);
+pref("fortezza.timeout", 30);
+
+
+// font names
+
+// ar
+
+pref("font.name.serif.el", "misc-fixed-iso8859-7");
+pref("font.name.sans-serif.el", "misc-fixed-iso8859-7");
+pref("font.name.monospace.el", "misc-fixed-iso8859-7");
+
+pref("font.name.serif.he", "misc-fixed-iso8859-8");
+pref("font.name.sans-serif.he", "misc-fixed-iso8859-8");
+pref("font.name.monospace.he", "misc-fixed-iso8859-8");
+
+pref("font.name.serif.ja", "ms-pgothic-jisx0208.1983-0");
+pref("font.name.sans-serif.ja", "ms-pgothic-jisx0208.1983-0");
+pref("font.name.monospace.ja", "ms-gothic-jisx0208.1983-0");
+
+pref("font.name.serif.ko", "daewoo-mincho-ksc5601.1987-0");
+pref("font.name.sans-serif.ko", "daewoo-mincho-ksc5601.1987-0");
+pref("font.name.monospace.ko", "daewoo-mincho-ksc5601.1987-0");
+
+// th
+
+pref("font.name.serif.tr", "adobe-times-iso8859-9");
+pref("font.name.sans-serif.tr", "adobe-helvetica-iso8859-9");
+pref("font.name.monospace.tr", "adobe-courier-iso8859-9");
+
+pref("font.name.serif.x-baltic", "b&h-lucidux serif-iso8859-4");
+pref("font.name.sans-serif.x-baltic", "b&h-lucidux sans-iso8859-4");
+pref("font.name.monospace.x-baltic", "b&h-lucidux mono-iso8859-4");
+
+pref("font.name.serif.x-central-euro", "adobe-times-iso8859-2");
+pref("font.name.sans-serif.x-central-euro", "adobe-helvetica-iso8859-2");
+pref("font.name.monospace.x-central-euro", "adobe-courier-iso8859-2");
+
+pref("font.name.serif.x-cyrillic", "cronyx-times-koi8-r");
+pref("font.name.sans-serif.x-cyrillic", "cronyx-helvetica-koi8-r");
+pref("font.name.monospace.x-cyrillic", "cronyx-courier-koi8-r");
+
+pref("font.name.serif.x-unicode", "adobe-times-iso8859-1");
+pref("font.name.sans-serif.x-unicode", "adobe-helvetica-iso8859-1");
+pref("font.name.monospace.x-unicode", "adobe-courier-iso8859-1");
+
+pref("font.name.serif.x-user-def", "adobe-times-iso8859-1");
+pref("font.name.sans-serif.x-user-def", "adobe-helvetica-iso8859-1");
+pref("font.name.monospace.x-user-def", "adobe-courier-iso8859-1");
+
+pref("font.name.serif.x-western", "adobe-times-iso8859-1");
+pref("font.name.sans-serif.x-western", "adobe-helvetica-iso8859-1");
+pref("font.name.monospace.x-western", "ms-gothic-iso8859-1");
+
+pref("font.name.serif.zh-CN", "isas-song ti-gb2312.1980-0");
+pref("font.name.sans-serif.zh-CN", "isas-song ti-gb2312.1980-0");
+pref("font.name.monospace.zh-CN", "isas-song ti-gb2312.1980-0");
+
+// zh-TW
+
+
+// minimum font sizes
+
+pref("font.min-size.variable.ja", 8);
+pref("font.min-size.fixed.ja", 8);
+
+pref("font.min-size.variable.ko", 16);
+pref("font.min-size.fixed.ko", 16);
+
+pref("font.min-size.variable.zh-CN", 16);
+pref("font.min-size.fixed.zh-CN", 16);
+
+pref("font.min-size.variable.zh-TW", 16);
+pref("font.min-size.fixed.zh-TW", 16);
+
+// ps font
+pref("print.psnativecode.ja", "euc-jp");
+pref("print.psnativefont.ja", "Ryumin-Light-EUC-H");
+
+pref("mail.signature_date", 0);
+
+// Outliner column defaults
+pref("mail.threadpane.messagepane_height", 400);
+
+pref("taskbar.x", -1);
+pref("taskbar.y", -1);
+pref("taskbar.floating", false);
+pref("taskbar.horizontal", false);
+pref("taskbar.ontop", false);
+pref("taskbar.button_style", -1);
+
diff --git a/japanese/mozilla-jlp/pkg-comment b/japanese/mozilla-jlp/pkg-comment
new file mode 100644
index 000000000000..9fd7ad35d1e6
--- /dev/null
+++ b/japanese/mozilla-jlp/pkg-comment
@@ -0,0 +1 @@
+Mozilla Japanese Language Pack (JLP)
diff --git a/japanese/mozilla-jlp/pkg-descr b/japanese/mozilla-jlp/pkg-descr
new file mode 100644
index 000000000000..7e11f4950628
--- /dev/null
+++ b/japanese/mozilla-jlp/pkg-descr
@@ -0,0 +1,10 @@
+Mozilla is an open-source web browser, designed for standards compliance,
+performance and portability.
+
+Mozilla Japanese Language Pack (JLP) Japanizes Mozilla GUI, which is
+provided by "Kazu" Yamamoto and Ryoichi Furukawa.
+
+WWW: http://www.mozilla.gr.jp/jlp/
+
+- Yoichi ASAI
+yatt@msc.biglobe.ne.jp
diff --git a/japanese/mozilla-jlp/pkg-plist b/japanese/mozilla-jlp/pkg-plist
new file mode 100644
index 000000000000..c8365009bf93
--- /dev/null
+++ b/japanese/mozilla-jlp/pkg-plist
@@ -0,0 +1,35 @@
+@exec mv %D/bin/mozilla %D/bin/mozilla.orig
+@exec mv %D/lib/mozilla/chrome/all-locales.rdf %D/lib/mozilla/chrome/all-locales.rdf.orig
+@exec mv %D/lib/mozilla/chrome/user-locales.rdf %D/lib/mozilla/chrome/user-locales.rdf.orig
+@exec mv %D/lib/mozilla/chrome/installed-chrome.txt %D/lib/mozilla/chrome/installed-chrome.txt.orig
+@exec mv %D/lib/mozilla/defaults/pref/all.js %D/lib/mozilla/defaults/pref/all.js.orig
+@exec mv %D/lib/mozilla/defaults/pref/unix.js %D/lib/mozilla/defaults/pref/unix.js.orig
+bin/mozilla
+lib/mozilla/chrome/all-locales.rdf
+lib/mozilla/chrome/installed-chrome.txt
+lib/mozilla/chrome/user-locales.rdf
+lib/mozilla/chrome/ja-JP.jar
+lib/mozilla/defaults/profile/ja-JP/bookmarks.html
+lib/mozilla/defaults/profile/ja-JP/localstore.rdf
+lib/mozilla/defaults/profile/ja-JP/mimeTypes.rdf
+lib/mozilla/defaults/profile/ja-JP/panels.rdf
+lib/mozilla/defaults/profile/ja-JP/search.rdf
+lib/mozilla/defaults/pref/all.js
+lib/mozilla/defaults/pref/unix.js
+lib/mozilla/searchplugins/Bugzilla-ja-Summary.png
+lib/mozilla/searchplugins/Bugzilla-ja-Summary.src
+lib/mozilla/searchplugins/Bugzilla-Summary.png
+lib/mozilla/searchplugins/Bugzilla-Summary.src
+lib/mozilla/searchplugins/Fresheye_Japan.gif
+lib/mozilla/searchplugins/Fresheye_Japan.src
+lib/mozilla/searchplugins/MozillaGrJp.png
+lib/mozilla/searchplugins/MozillaGrJp.src
+lib/mozilla/searchplugins/Netscape_Japan.gif
+lib/mozilla/searchplugins/Netscape_Japan.src
+@unexec mv %D/bin/mozilla.orig %D/bin/mozilla
+@unexec mv %D/lib/mozilla/chrome/all-locales.rdf.orig %D/lib/mozilla/chrome/all-locales.rdf
+@unexec mv %D/lib/mozilla/chrome/user-locales.rdf.orig %D/lib/mozilla/chrome/user-locales.rdf
+@unexec mv %D/lib/mozilla/chrome/installed-chrome.txt.orig %D/lib/mozilla/chrome/installed-chrome.txt
+@unexec mv %D/lib/mozilla/defaults/pref/all.js.orig %D/lib/mozilla/defaults/pref/all.js
+@unexec mv %D/lib/mozilla/defaults/pref/unix.js.orig %D/lib/mozilla/defaults/pref/unix.js
+@dirrm lib/mozilla/defaults/profile/ja-JP