aboutsummaryrefslogtreecommitdiff
path: root/chinese/firefox-zh_CN
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-09-04 12:07:03 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-09-04 12:07:03 +0000
commitd41c89c8cc983ded2ccbef7047db4f8ee29a0f7c (patch)
treeed4c962afb2475f4e0111d71a4a6ad95e4b43ce5 /chinese/firefox-zh_CN
parent0f6da14bfe7e6bfb5e2ee9b2144b3cf779d418ae (diff)
downloadports-d41c89c8cc983ded2ccbef7047db4f8ee29a0f7c.tar.gz
ports-d41c89c8cc983ded2ccbef7047db4f8ee29a0f7c.zip
- Update to 1.0.6b
PR: ports/84794 Submitted by: chinsan <chinsan.tw@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=141888
Diffstat (limited to 'chinese/firefox-zh_CN')
-rw-r--r--chinese/firefox-zh_CN/Makefile16
-rw-r--r--chinese/firefox-zh_CN/distinfo4
-rw-r--r--chinese/firefox-zh_CN/pkg-plist3
3 files changed, 13 insertions, 10 deletions
diff --git a/chinese/firefox-zh_CN/Makefile b/chinese/firefox-zh_CN/Makefile
index 1d630f73c28a..cf877fd168e6 100644
--- a/chinese/firefox-zh_CN/Makefile
+++ b/chinese/firefox-zh_CN/Makefile
@@ -7,10 +7,11 @@
PORTNAME= firefox
PORTVERSION= 1.0.6
+PORTREVISION= 1
CATEGORIES= chinese www
MASTER_SITES= http://bbs.ilc.edu.tw/~chinsan/firefox/
PKGNAMESUFFIX= -zh_CN
-DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}.${PORTVERSION}
+DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}.${PORTVERSION}b
# Maintainership available: drop me a line if interested :p
MAINTAINER= chinsan.tw@gmail.com
@@ -20,9 +21,7 @@ BUILD_DEPENDS= ${X11BASE}/lib/${FIREFOX}/regxpcom:${PORTSDIR}/www/firefox
RUN_DEPENDS= ${FIREFOX}:${PORTSDIR}/www/firefox
USE_X_PREFIX= yes
-USE_ZIP= yes
NO_BUILD= yes
-EXTRACT_BEFORE_ARGS= -qo
FIREFOX= ${PORTNAME}
FIREFOX_HOME= ${PREFIX}/lib/${FIREFOX}
@@ -35,7 +34,7 @@ PLIST_SUB= FIREFOX=${FIREFOX}
.include <bsd.port.pre.mk>
do-install:
- echo "===> Backup setting files..."
+ @${ECHO_MSG} "===> Backup setting files..."
(cd ${FIREFOX_HOME}; \
${MV} -f browserconfig.properties browserconfig.properties.orig)
(cd ${FIREFOX_HOME}/defaults/pref; \
@@ -43,21 +42,22 @@ do-install:
(cd ${FIREFOX_HOME}/defaults/profile; \
${MV} -f bookmarks.html bookmarks.html.orig)
(cd ${FIREFOX_HOME}/chrome; \
+ ${MV} -f browser.jar browser.jar.orig; \
${MV} -f chrome.rdf chrome.rdf.orig; \
${MV} -f installed-chrome.txt installed-chrome.txt.orig)
- echo "===> Copying locale files..."
- (cd ${WRKDIR}; ${TAR} -cf - *) | \
+ @${ECHO_MSG} "===> Copying locale files..."
+ (cd ${WRKSRC}; ${TAR} -cf - *) | \
${TAR} -xf - -C ${FIREFOX_HOME}
- echo "===> Cleaning Chrome's registry..."
+ @${ECHO_MSG} "===> Cleaning Chrome's registry..."
${RM} -rf ${FIREFOX_HOME}/chrome/overlayinfo
${RM} -f ${FIREFOX_HOME}/chrome/*.rdf
${MKDIR} ${FIREFOX_HOME}/chrome/overlayinfo
${RM} -f ${FIREFOX_HOME}/component.reg
${RM} -rf ${FIREFOX_HOME}/extensions
- echo "===> Building Chrome's registry..."
+ @${ECHO_MSG} "===> Building Chrome's registry..."
(cd ${FIREFOX_HOME} || exit 1 ; \
./run-mozilla.sh ${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. \
${REGXPCOM} || true ; \
diff --git a/chinese/firefox-zh_CN/distinfo b/chinese/firefox-zh_CN/distinfo
index d506fed34e11..2b3d397c2aae 100644
--- a/chinese/firefox-zh_CN/distinfo
+++ b/chinese/firefox-zh_CN/distinfo
@@ -1,2 +1,2 @@
-MD5 (firefox-zh_CN.1.0.6.zip) = 145fe7a90a8a0916933f9df146743522
-SIZE (firefox-zh_CN.1.0.6.zip) = 134655
+MD5 (firefox-zh_CN.1.0.6b.tar.gz) = 116d6fd4c0d4ada1161af83707f962e3
+SIZE (firefox-zh_CN.1.0.6b.tar.gz) = 449525
diff --git a/chinese/firefox-zh_CN/pkg-plist b/chinese/firefox-zh_CN/pkg-plist
index f150c5037f71..738a5cf07ab6 100644
--- a/chinese/firefox-zh_CN/pkg-plist
+++ b/chinese/firefox-zh_CN/pkg-plist
@@ -1,9 +1,11 @@
@exec mv %D/lib/%%FIREFOX%%/browserconfig.properties %D/lib/%%FIREFOX%%/browserconfig.properties.orig
+@exec mv %D/lib/%%FIREFOX%%/chrome/browser.jar %D/lib/%%FIREFOX%%/chrome/browser.jar.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/browser.jar
lib/%%FIREFOX%%/chrome/chrome.rdf
lib/%%FIREFOX%%/chrome/installed-chrome.txt
lib/%%FIREFOX%%/chrome/zh-CN.jar
@@ -17,6 +19,7 @@ lib/%%FIREFOX%%/searchplugins/eBaycn.src
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/browser.jar.orig %D/lib/%%FIREFOX%%/chrome/browser.jar
@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