aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-07-15 23:32:42 +0800
committerpav <pav@FreeBSD.org>2005-07-15 23:32:42 +0800
commit65f1d9f1ea3aecddd20efa5dc0b1ff7e6ad05014 (patch)
tree006f7d99785f3a60c62c4d859ff8b7c230cb706f
parent50e5ae27e1eeaeee5035e5bb904ccaf148ad91a7 (diff)
downloadfreebsd-ports-gnome-65f1d9f1ea3aecddd20efa5dc0b1ff7e6ad05014.tar.gz
freebsd-ports-gnome-65f1d9f1ea3aecddd20efa5dc0b1ff7e6ad05014.tar.zst
freebsd-ports-gnome-65f1d9f1ea3aecddd20efa5dc0b1ff7e6ad05014.zip
- Update to 1.0.5
PR: ports/83488 Submitted by: chinsan <chinsan.tw@gmail.com> (maintainer)
-rw-r--r--chinese/firefox-zh_TW/Makefile24
-rw-r--r--chinese/firefox-zh_TW/distinfo4
-rw-r--r--chinese/firefox-zh_TW/files/installed-chrome.txt45
-rw-r--r--chinese/firefox-zh_TW/pkg-plist13
4 files changed, 25 insertions, 61 deletions
diff --git a/chinese/firefox-zh_TW/Makefile b/chinese/firefox-zh_TW/Makefile
index d88715277b98..40b4a0c3fa6c 100644
--- a/chinese/firefox-zh_TW/Makefile
+++ b/chinese/firefox-zh_TW/Makefile
@@ -6,20 +6,19 @@
#
PORTNAME= firefox
-PORTVERSION= 1.0.4
+PORTVERSION= 1.0.5
CATEGORIES= chinese www
-MASTER_SITES= ${MASTER_SITE_MOZILLA}
-MASTER_SITE_SUBDIR= ${PORTNAME}/releases/${PORTVERSION}/win32/xpi/
+MASTER_SITES= http://bbs.ilc.edu.tw/~chinsan/firefox/
PKGNAMESUFFIX= -zh_TW
-DISTNAME= zh-TW
+DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}.${PORTVERSION}
EXTRACT_SUFX= .xpi
# Maintainership available: drop me a line if interested :p
MAINTAINER= chinsan.tw@gmail.com
COMMENT= Firefox Traditional Chinese(zh-TW) Language Pack
-BUILD_DEPENDS= ${X11BASE}/lib/${FIREFOX}/regxpcom:${PORTSDIR}/www/${FIREFOX}
-RUN_DEPENDS= ${FIREFOX}:${PORTSDIR}/www/${FIREFOX}
+BUILD_DEPENDS= ${X11BASE}/lib/${FIREFOX}/regxpcom:${PORTSDIR}/www/firefox
+RUN_DEPENDS= ${FIREFOX}:${PORTSDIR}/www/firefox
USE_X_PREFIX= yes
USE_ZIP= yes
@@ -38,19 +37,20 @@ PLIST_SUB= FIREFOX=${FIREFOX}
do-install:
echo "===> Backup setting files..."
+ (cd ${FIREFOX_HOME}; \
+ ${MV} -f browserconfig.properties browserconfig.properties.orig)
+ (cd ${FIREFOX_HOME}/defaults/pref; \
+ ${MV} -f firefox-l10n.js firefox-l10n.js.orig)
+ (cd ${FIREFOX_HOME}/defaults/profile; \
+ ${MV} -f bookmarks.html bookmarks.html.orig)
(cd ${FIREFOX_HOME}/chrome; \
${MV} -f chrome.rdf chrome.rdf.orig; \
${MV} -f installed-chrome.txt installed-chrome.txt.orig)
echo "===> Copying locale files..."
- (cd ${WRKDIR}; ${TAR} -cf - chrome) | \
+ (cd ${WRKDIR}; ${TAR} -cf - *) | \
${TAR} -xf - -C ${FIREFOX_HOME}
- echo "===> Copying locale setting file..."
- (cd ${FIREFOX_HOME}/chrome; \
- ${CP} installed-chrome.txt.orig installed-chrome.txt; \
- ${CAT} ${FILESDIR}/installed-chrome.txt >> installed-chrome.txt)
-
echo "===> Cleaning Chrome's registry..."
${RM} -rf ${FIREFOX_HOME}/chrome/overlayinfo
${RM} -f ${FIREFOX_HOME}/chrome/*.rdf
diff --git a/chinese/firefox-zh_TW/distinfo b/chinese/firefox-zh_TW/distinfo
index bfdf7369a861..baf5214c6daf 100644
--- a/chinese/firefox-zh_TW/distinfo
+++ b/chinese/firefox-zh_TW/distinfo
@@ -1,2 +1,2 @@
-MD5 (zh-TW.xpi) = 54a9ce2af80202d9c49392300125932b
-SIZE (zh-TW.xpi) = 74015
+MD5 (firefox-zh_TW.1.0.5.xpi) = 2ac65cb6c140e8f442329bd455257931
+SIZE (firefox-zh_TW.1.0.5.xpi) = 81470
diff --git a/chinese/firefox-zh_TW/files/installed-chrome.txt b/chinese/firefox-zh_TW/files/installed-chrome.txt
deleted file mode 100644
index c52bd8afb34a..000000000000
--- a/chinese/firefox-zh_TW/files/installed-chrome.txt
+++ /dev/null
@@ -1,45 +0,0 @@
-content,install,url,jar:resource:/chrome/comm.jar!/content/necko/
-content,install,url,jar:resource:/chrome/comm.jar!/content/xbl-marquee/
-content,install,url,jar:resource:/chrome/embed-sample.jar!/content/embed/
-locale,install,url,jar:resource:/chrome/embed-sample.jar!/locale/en-US/embed/
-skin,install,url,jar:resource:/chrome/embed-sample.jar!/skin/classic/embed/
-content,install,url,jar:resource:/chrome/pipnss.jar!/content/pipnss/
-content,install,url,jar:resource:/chrome/pippki.jar!/content/pippki/
-skin,install,select,classic/1.0
-content,install,url,jar:resource:/chrome/toolkit.jar!/content/global/
-content,install,url,jar:resource:/chrome/toolkit.jar!/content/global-platform/
-content,install,url,jar:resource:/chrome/toolkit.jar!/content/global-region/
-locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/global/
-locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/global-region/
-locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/global-platform/
-locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/necko/
-locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/mozapps/
-locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/passwordmgr/
-locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/pippki/
-locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/pipnss/
-content,install,url,jar:resource:/chrome/help.jar!/content/help/
-locale,install,url,jar:resource:/chrome/help.jar!/locale/en-US/help/
-content,install,url,jar:resource:/chrome/toolkit.jar!/content/passwordmgr/
-content,install,url,jar:resource:/chrome/toolkit.jar!/content/mozapps/
-skin,install,url,jar:resource:/chrome/classic.jar!/skin/classic/communicator/
-skin,install,url,jar:resource:/chrome/classic.jar!/skin/classic/global/
-skin,install,url,jar:resource:/chrome/classic.jar!/skin/classic/mozapps/
-skin,install,url,jar:resource:/chrome/help.jar!/skin/classic/help/
-content,install,url,jar:resource:/chrome/comm.jar!/content/cookie/
-content,install,url,jar:resource:/chrome/comm.jar!/content/autoconfig/
-locale,install,url,jar:resource:/chrome/en-US.jar!/locale/en-US/autoconfig/
-content,install,url,jar:resource:/chrome/inspector.jar!/content/inspector/
-locale,install,url,jar:resource:/chrome/inspector.jar!/locale/en-US/inspector/
-skin,install,url,jar:resource:/chrome/inspector.jar!/skin/classic/inspector/
-skin,install,url,jar:resource:/chrome/inspector.jar!/skin/modern/inspector/
-content,install,url,jar:resource:/chrome/comm.jar!/content/p3p/
-locale,install,url,jar:resource:/chrome/en-US.jar!/locale/en-US/p3p/
-content,install,url,jar:resource:/chrome/browser.jar!/content/browser/
-content,install,url,jar:resource:/chrome/browser.jar!/content/browser-region/
-locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/browser/
-locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/browser-region/
-locale,install,url,jar:resource:/chrome/zh-TW.jar!/locale/cookie/
-content,install,url,jar:resource:/chrome/comm.jar!/content/communicator/
-skin,install,url,jar:resource:/chrome/classic.jar!/skin/classic/browser/
-locale,install,select,zh-TW
-locale,install,select,TW
diff --git a/chinese/firefox-zh_TW/pkg-plist b/chinese/firefox-zh_TW/pkg-plist
index 0ebdbce5bff7..c0878bc44592 100644
--- a/chinese/firefox-zh_TW/pkg-plist
+++ b/chinese/firefox-zh_TW/pkg-plist
@@ -1,9 +1,18 @@
-@exec mv %D/bin/%%FIREFOX%% %D/bin/%%FIREFOX%%.orig
+@exec mv %D/lib/%%FIREFOX%%/browserconfig.properties %D/lib/%%FIREFOX%%/browserconfig.properties.orig
@exec mv %D/lib/%%FIREFOX%%/chrome/chrome.rdf %D/lib/%%FIREFOX%%/chrome/chrome.rdf.orig
@exec mv %D/lib/%%FIREFOX%%/chrome/installed-chrome.txt %D/lib/%%FIREFOX%%/chrome/installed-chrome.txt.orig
+@exec mv %D/lib/%%FIREFOX%%/defaults/pref/firefox-l10n.js %D/lib/%%FIREFOX%%/defaults/pref/firefox-l10n.js.orig
+@exec mv %D/lib/%%FIREFOX%%/defaults/profile/bookmarks.html %D/lib/%%FIREFOX%%/defaults/profile/bookmarks.html.orig
+lib/%%FIREFOX%%/browserconfig.properties
lib/%%FIREFOX%%/chrome/chrome.rdf
lib/%%FIREFOX%%/chrome/installed-chrome.txt
lib/%%FIREFOX%%/chrome/zh-TW.jar
-@unexec mv %D/bin/%%FIREFOX%%.orig %D/bin/%%FIREFOX%%
+lib/%%FIREFOX%%/defaults/pref/firefox-l10n.js
+lib/%%FIREFOX%%/defaults/profile/bookmarks.html
+lib/%%FIREFOX%%/searchplugins/FreeBSD_PR.png
+lib/%%FIREFOX%%/searchplugins/FreeBSD_PR.src
+@unexec mv %D/lib/%%FIREFOX%%/browserconfig.properties.orig %D/lib/%%FIREFOX%%/browserconfig.properties
@unexec mv %D/lib/%%FIREFOX%%/chrome/chrome.rdf.orig %D/lib/%%FIREFOX%%/chrome/chrome.rdf
@unexec mv %D/lib/%%FIREFOX%%/chrome/installed-chrome.txt.orig %D/lib/%%FIREFOX%%/chrome/installed-chrome.txt
+@unexec mv %D/lib/%%FIREFOX%%/defaults/pref/firefox-l10n.js.orig %D/lib/%%FIREFOX%%/defaults/pref/firefox-l10n.js
+@unexec mv %D/lib/%%FIREFOX%%/defaults/profile/bookmarks.html.orig %D/lib/%%FIREFOX%%/defaults/profile/bookmarks.html