diff options
author | Jing-Tang Keith Jang <keith@FreeBSD.org> | 2001-03-07 05:07:23 +0000 |
---|---|---|
committer | Jing-Tang Keith Jang <keith@FreeBSD.org> | 2001-03-07 05:07:23 +0000 |
commit | 99321aa11a279adf4273403a82c1a8496bcb501d (patch) | |
tree | 971b46d4a8060697148e569e56797d1954b58911 /chinese | |
parent | 8e47ea83c4c2ab3eceea7e0d8afef31ad9926a5c (diff) | |
download | ports-99321aa11a279adf4273403a82c1a8496bcb501d.tar.gz ports-99321aa11a279adf4273403a82c1a8496bcb501d.zip |
Initial version.
mozilla-tclp is the Mozilla Traditional Chinese Language Pack for
BIG5 users. It provides an L10N environment for Mozilla 0.8.
Notes
Notes:
svn path=/head/; revision=39163
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/Makefile | 1 | ||||
-rw-r--r-- | chinese/mozilla-tclp/Makefile | 51 | ||||
-rw-r--r-- | chinese/mozilla-tclp/distinfo | 1 | ||||
-rw-r--r-- | chinese/mozilla-tclp/files/installed-chrome.txt | 15 | ||||
-rw-r--r-- | chinese/mozilla-tclp/files/mozilla.in | 8 | ||||
-rw-r--r-- | chinese/mozilla-tclp/files/unix.js | 189 | ||||
-rw-r--r-- | chinese/mozilla-tclp/pkg-comment | 1 | ||||
-rw-r--r-- | chinese/mozilla-tclp/pkg-descr | 7 | ||||
-rw-r--r-- | chinese/mozilla-tclp/pkg-plist | 13 |
9 files changed, 286 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile index 5937a79f9cdb..c0ab60c5f495 100644 --- a/chinese/Makefile +++ b/chinese/Makefile @@ -41,6 +41,7 @@ SUBDIR += mkisofs SUBDIR += moefonts-cid SUBDIR += moettf + SUBDIR += mozilla-tclp SUBDIR += mule-freewnn SUBDIR += muni SUBDIR += mutt diff --git a/chinese/mozilla-tclp/Makefile b/chinese/mozilla-tclp/Makefile new file mode 100644 index 000000000000..69e64f446353 --- /dev/null +++ b/chinese/mozilla-tclp/Makefile @@ -0,0 +1,51 @@ +# New ports collection makefile for: zh-mozilla-tclp +# Date created: 07 March 2001 +# Whom: Jing-Tang Keith Jang <keith@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= mozilla +PORTVERSION= 0.8 +CATEGORIES= chinese www +MASTER_SITES= http://www.csie.ntu.edu.tw/~b7506051/mt4/langpack/ +PKGNAMESUFFIX= -tclp +# Same as ftp://ftp.mozilla.org/pub/mozilla/l10n/lang/moz0.8/langzhtw.xpi. +# Use this to avoid checksum problems. +DISTNAME= 0.8r-0220-RELEASE-langzhtw +EXTRACT_SUFX= .xpi + +MAINTAINER= keith@FreeBSD.org + +RUN_DEPENDS= mozilla:${PORTSDIR}/www/mozilla + +WRKSRC= ${WRKDIR}/bin + +USE_X_PREFIX= yes +USE_ZIP= yes +EXTRACT_BEFORE_ARGS= -qo + +.include <bsd.port.pre.mk> + +do-build: + ${SED} -e "s;@PREFIX@;${PREFIX};g" \ + ${FILESDIR}/mozilla.in > ${WRKDIR}/mozilla + +do-install: + (cd ${PREFIX}/lib/mozilla/chrome; \ + ${MV} user-locales.rdf user-locales.rdf.orig; \ + ${MV} installed-chrome.txt installed-chrome.txt.orig) + (cd ${PREFIX}/lib/mozilla/defaults/pref; \ + ${MV} unix.js unix.js.orig) + ${MV} ${PREFIX}/bin/mozilla ${PREFIX}/bin/mozilla.orig + ${INSTALL_SCRIPT} ${WRKDIR}/mozilla ${PREFIX}/bin + (cd ${PREFIX}/lib/mozilla/chrome; \ + ${CP} installed-chrome.txt.orig installed-chrome.txt; \ + ${CAT} ${FILESDIR}/installed-chrome.txt >> installed-chrome.txt) + ${INSTALL_DATA} ${WRKSRC}/chrome/user-locales.rdf \ + ${PREFIX}/lib/mozilla/chrome; + ${INSTALL_DATA} ${WRKSRC}/chrome/zh-TW.jar \ + ${PREFIX}/lib/mozilla/chrome; + ${INSTALL_DATA} ${FILESDIR}/unix.js ${PREFIX}/lib/mozilla/defaults/pref + +.include <bsd.port.post.mk> diff --git a/chinese/mozilla-tclp/distinfo b/chinese/mozilla-tclp/distinfo new file mode 100644 index 000000000000..9debc2f3c017 --- /dev/null +++ b/chinese/mozilla-tclp/distinfo @@ -0,0 +1 @@ +MD5 (0.8r-0220-RELEASE-langzhtw.xpi) = 00162d6fca87e71b991e70c06915080e diff --git a/chinese/mozilla-tclp/files/installed-chrome.txt b/chinese/mozilla-tclp/files/installed-chrome.txt new file mode 100644 index 000000000000..b81190039a24 --- /dev/null +++ b/chinese/mozilla-tclp/files/installed-chrome.txt @@ -0,0 +1,15 @@ +locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/global/ +locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/communicator/ +locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/messenger/ +locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/editor/ +locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/navigator/ +locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/global/ +locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/communicator/ +locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/messenger/ +locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/editor/ +locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/navigator/ +locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/global/ +locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/communicator/ +locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/messenger/ +locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/editor/ +locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/zh-TW/navigator/ diff --git a/chinese/mozilla-tclp/files/mozilla.in b/chinese/mozilla-tclp/files/mozilla.in new file mode 100644 index 000000000000..37c663b90aab --- /dev/null +++ b/chinese/mozilla-tclp/files/mozilla.in @@ -0,0 +1,8 @@ +#!/bin/sh + +export LANG; LANG=zh_TW.Big5 +export LC_CTYPE; LC_CTYPE=zh_TW.Big5 +export LC_ALL; LC_ALL=zh_TW.Big5 + +cd @PREFIX@/lib/mozilla +exec ./mozilla $@ diff --git a/chinese/mozilla-tclp/files/unix.js b/chinese/mozilla-tclp/files/unix.js new file mode 100644 index 000000000000..da255a1b4d3a --- /dev/null +++ b/chinese/mozilla-tclp/files/unix.js @@ -0,0 +1,189 @@ +/* -*- 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", "jis-fixed-jisx0208.1983-0"); +pref("font.name.sans-serif.ja", "jis-fixed-jisx0208.1983-0"); +pref("font.name.monospace.ja", "jis-fixed-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", "adobe-courier-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", 16); +pref("font.min-size.fixed.ja", 16); + +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("print.psnativecode.zh-TW", "big5"); +pref("print.psnativefont.zh-TW", "ArphicMingB5-Regular-B5pc-H"); + +pref("print.psnativecode.zh-CN", "gb2312"); +pref("print.psnativefont.zh-CN", "ArphicMingGB-Regular-GB-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/chinese/mozilla-tclp/pkg-comment b/chinese/mozilla-tclp/pkg-comment new file mode 100644 index 000000000000..6659c00d6c1f --- /dev/null +++ b/chinese/mozilla-tclp/pkg-comment @@ -0,0 +1 @@ +Mozilla Traditional Chinese Language Pack (TCLP) diff --git a/chinese/mozilla-tclp/pkg-descr b/chinese/mozilla-tclp/pkg-descr new file mode 100644 index 000000000000..f8022d392e49 --- /dev/null +++ b/chinese/mozilla-tclp/pkg-descr @@ -0,0 +1,7 @@ +Mozilla is an open-source web browser, designed for standards compliance, +performance and portability. + +Mozilla Traditional Chinese Language Pack provides an L10N environment +for BIG5 users. It is written by Francis S.Lin <piaip@csie.ntu.edu.tw>. + +WWW: http://www.csie.ntu.edu.tw/~b7506051/mt4/ diff --git a/chinese/mozilla-tclp/pkg-plist b/chinese/mozilla-tclp/pkg-plist new file mode 100644 index 000000000000..98e6e2b4a5e5 --- /dev/null +++ b/chinese/mozilla-tclp/pkg-plist @@ -0,0 +1,13 @@ +@exec mv %D/bin/mozilla %D/bin/mozilla.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/unix.js %D/lib/mozilla/defaults/pref/unix.js.orig +bin/mozilla +lib/mozilla/chrome/installed-chrome.txt +lib/mozilla/chrome/zh-TW.jar +lib/mozilla/chrome/user-locales.rdf +lib/mozilla/defaults/pref/unix.js +@unexec mv %D/bin/mozilla.orig %D/bin/mozilla +@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/unix.js.orig %D/lib/mozilla/defaults/pref/unix.js |