Date: Sat, 16 Jul 2005 06:21:28 +0800 (CST) From: chinsan <chinsan.tw@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/83527: [NEW PORT] japanese/firefox-ja_JP: Firefox Japanese(ja-JP) Language Pack Message-ID: <20050715222128.A541D73021@chinsan.twbbs.org> Resent-Message-ID: <200507152230.j6FMU45A096144@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 83527 >Category: ports >Synopsis: [NEW PORT] japanese/firefox-ja_JP: Firefox Japanese(ja-JP) Language Pack >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jul 15 22:30:04 GMT 2005 >Closed-Date: >Last-Modified: >Originator: chinsan >Release: FreeBSD 5.4-STABLE i386 >Organization: FreeBSD Taiwan >Environment: System: FreeBSD chinsan.twbbs.org 5.4-STABLE FreeBSD 5.4-STABLE #0: Thu Jul 7 10:03:49 CST 2005 root@chinsan.twbbs.org:/usr/obj/usr/src/sys/GENERIC i386 >Description: This port is Firefox Japanese(ja-JP) Language Pack Also as a gift to nobutaka@ for libXft's CJK patch. Thanks. :) >How-To-Repeat: >Fix: --- firefox-ja_JP.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # firefox-ja_JP # firefox-ja_JP/Makefile # firefox-ja_JP/distinfo # firefox-ja_JP/pkg-descr # firefox-ja_JP/pkg-message # firefox-ja_JP/pkg-plist # echo c - firefox-ja_JP mkdir -p firefox-ja_JP > /dev/null 2>&1 echo x - firefox-ja_JP/Makefile sed 's/^X//' >firefox-ja_JP/Makefile << 'END-of-firefox-ja_JP/Makefile' X# New ports collection makefile for: ja-firefox-ja_JP X# Date created: 2005/07/16 X# Whom: chinsan <chinsan.tw@gmail.com> X# X# $FreeBSD$ X# X XPORTNAME= firefox XPORTVERSION= 1.0.5 XCATEGORIES= japanese www XMASTER_SITES= http://bbs.ilc.edu.tw/~chinsan/firefox/ XPKGNAMESUFFIX= -ja_JP XDISTNAME= ${PORTNAME}${PKGNAMESUFFIX}.${PORTVERSION} XEXTRACT_SUFX= .xpi X X# Maintainership available: drop me a line if interested :p XMAINTAINER= chinsan.tw@gmail.com XCOMMENT= Firefox Japanese(ja-JP) Language Pack X XBUILD_DEPENDS= ${X11BASE}/lib/${FIREFOX}/regxpcom:${PORTSDIR}/www/firefox XRUN_DEPENDS= ${FIREFOX}:${PORTSDIR}/www/firefox X XUSE_X_PREFIX= yes XUSE_ZIP= yes XNO_BUILD= yes XEXTRACT_BEFORE_ARGS= -qo X XFIREFOX= ${PORTNAME} XFIREFOX_HOME= ${PREFIX}/lib/${FIREFOX} XREGXPCOM= ${FIREFOX_HOME}/regxpcom XREGCHROME= ${FIREFOX_HOME}/regchrome XFIREFOX_BIN= ${FIREFOX_HOME}/${PORTNAME}-bin X XPLIST_SUB= FIREFOX=${FIREFOX} X X.include <bsd.port.pre.mk> X Xdo-install: X echo "===> Backup setting files..." X (cd ${FIREFOX_HOME}; \ X ${MV} -f browserconfig.properties browserconfig.properties.orig) X (cd ${FIREFOX_HOME}/defaults/pref; \ X ${MV} -f firefox-l10n.js firefox-l10n.js.orig) X (cd ${FIREFOX_HOME}/defaults/profile; \ X ${MV} -f bookmarks.html bookmarks.html.orig; \ X ${MV} -f prefs.js prefs.js.orig) X (cd ${FIREFOX_HOME}/chrome; \ X ${MV} -f chrome.rdf chrome.rdf.orig; \ X ${MV} -f installed-chrome.txt installed-chrome.txt.orig) X X echo "===> Copying locale files..." X (cd ${WRKDIR}; ${TAR} -cf - *) | \ X ${TAR} -xf - -C ${FIREFOX_HOME} X X echo "===> Cleaning Chrome's registry..." X ${RM} -rf ${FIREFOX_HOME}/chrome/overlayinfo X ${RM} -f ${FIREFOX_HOME}/chrome/*.rdf X ${MKDIR} ${FIREFOX_HOME}/chrome/overlayinfo X ${RM} -f ${FIREFOX_HOME}/component.reg X ${RM} -rf ${FIREFOX_HOME}/extensions X X echo "===> Building Chrome's registry..." X (cd ${FIREFOX_HOME} || exit 1 ; \ X ./run-mozilla.sh ${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. \ X ${REGXPCOM} || true ; \ X ./run-mozilla.sh ${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. \ X ${REGCHROME} || true ; \ X ./run-mozilla.sh ${FIREFOX_BIN} -register ) X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.post.mk> END-of-firefox-ja_JP/Makefile echo x - firefox-ja_JP/distinfo sed 's/^X//' >firefox-ja_JP/distinfo << 'END-of-firefox-ja_JP/distinfo' XMD5 (firefox-ja_JP.1.0.5.xpi) = 5bd8c6208c75455c8983104150fde16c XSIZE (firefox-ja_JP.1.0.5.xpi) = 178671 END-of-firefox-ja_JP/distinfo echo x - firefox-ja_JP/pkg-descr sed 's/^X//' >firefox-ja_JP/pkg-descr << 'END-of-firefox-ja_JP/pkg-descr' XMozilla Firefox is an open-source application suite for web browsing, XIRC chat, and more. X XFirefox Japanese (ja-JP) Language Pack provides Japanese Xlocalized resource for Firefox. X XWWW: http://www.mozilla-japan.org/products/firefox/ END-of-firefox-ja_JP/pkg-descr echo x - firefox-ja_JP/pkg-message sed 's/^X//' >firefox-ja_JP/pkg-message << 'END-of-firefox-ja_JP/pkg-message' X******************************** XIf your XIM wouldn't work properly, try to make a file X X"${HOME}/.mozilla/firefox/*.default/prefs.js" X Xwith below content; X-- Xuser_pref("xim.input_style", "over-the-spot") X-- X******************************** END-of-firefox-ja_JP/pkg-message echo x - firefox-ja_JP/pkg-plist sed 's/^X//' >firefox-ja_JP/pkg-plist << 'END-of-firefox-ja_JP/pkg-plist' X@exec mv %D/lib/%%FIREFOX%%/browserconfig.properties %D/lib/%%FIREFOX%%/browserconfig.properties.orig X@exec mv %D/lib/%%FIREFOX%%/chrome/chrome.rdf %D/lib/%%FIREFOX%%/chrome/chrome.rdf.orig X@exec mv %D/lib/%%FIREFOX%%/chrome/installed-chrome.txt %D/lib/%%FIREFOX%%/chrome/installed-chrome.txt.orig X@exec mv %D/lib/%%FIREFOX%%/defaults/pref/firefox-l10n.js %D/lib/%%FIREFOX%%/defaults/pref/firefox-l10n.js.orig X@exec mv %D/lib/%%FIREFOX%%/defaults/profile/bookmarks.html %D/lib/%%FIREFOX%%/defaults/profile/bookmarks.html.orig X@exec mv %D/lib/%%FIREFOX%%/defaults/profile/prefs.js %D/lib/%%FIREFOX%%/defaults/profile/prefs.js.orig Xlib/%%FIREFOX%%/browserconfig.properties Xlib/%%FIREFOX%%/chrome/chrome.rdf Xlib/%%FIREFOX%%/chrome/installed-chrome.txt Xlib/%%FIREFOX%%/chrome/ja-JP.jar Xlib/%%FIREFOX%%/defaults/pref/firefox-l10n.js Xlib/%%FIREFOX%%/defaults/profile/bookmarks.html Xlib/%%FIREFOX%%/searchplugins/FreeBSD_PR.png Xlib/%%FIREFOX%%/searchplugins/FreeBSD_PR.src Xlib/%%FIREFOX%%/searchplugins/amazon-ja.png Xlib/%%FIREFOX%%/searchplugins/amazon-ja.src Xlib/%%FIREFOX%%/searchplugins/google-ja.gif Xlib/%%FIREFOX%%/searchplugins/google-ja.src Xlib/%%FIREFOX%%/searchplugins/google_news.gif Xlib/%%FIREFOX%%/searchplugins/google_news.src Xlib/%%FIREFOX%%/searchplugins/kakaku.png Xlib/%%FIREFOX%%/searchplugins/kakaku.src Xlib/%%FIREFOX%%/searchplugins/mozillazine-ja.png Xlib/%%FIREFOX%%/searchplugins/mozillazine-ja.src Xlib/%%FIREFOX%%/searchplugins/wikipedia-ja.png Xlib/%%FIREFOX%%/searchplugins/wikipedia-ja.src Xlib/%%FIREFOX%%/searchplugins/wni.png Xlib/%%FIREFOX%%/searchplugins/wni.src Xlib/%%FIREFOX%%/searchplugins/yahoo-ja.png Xlib/%%FIREFOX%%/searchplugins/yahoo-ja.src X@unexec mv %D/lib/%%FIREFOX%%/browserconfig.properties.orig %D/lib/%%FIREFOX%%/browserconfig.properties X@unexec mv %D/lib/%%FIREFOX%%/chrome/chrome.rdf.orig %D/lib/%%FIREFOX%%/chrome/chrome.rdf X@unexec mv %D/lib/%%FIREFOX%%/chrome/installed-chrome.txt.orig %D/lib/%%FIREFOX%%/chrome/installed-chrome.txt X@unexec mv %D/lib/%%FIREFOX%%/defaults/pref/firefox-l10n.js.orig %D/lib/%%FIREFOX%%/defaults/pref/firefox-l10n.js X@unexec mv %D/lib/%%FIREFOX%%/defaults/profile/bookmarks.html.orig %D/lib/%%FIREFOX%%/defaults/profile/bookmarks.html X@unexec mv %D/lib/%%FIREFOX%%/defaults/profile/prefs.js.orig %D/lib/%%FIREFOX%%/defaults/profile/prefs.js END-of-firefox-ja_JP/pkg-plist exit --- firefox-ja_JP.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050715222128.A541D73021>