diff options
Diffstat (limited to 'japanese/firefox-ja/Makefile')
-rw-r--r-- | japanese/firefox-ja/Makefile | 28 |
1 files changed, 6 insertions, 22 deletions
diff --git a/japanese/firefox-ja/Makefile b/japanese/firefox-ja/Makefile index 403a1ed3790e..e4831e91ce57 100644 --- a/japanese/firefox-ja/Makefile +++ b/japanese/firefox-ja/Makefile @@ -6,14 +6,13 @@ # PORTNAME= firefox -PORTVERSION= 1.0.6 -PORTREVISION= 1 +PORTVERSION= 1.5 CATEGORIES= japanese www MASTER_SITES= http://bbs.ilc.edu.tw/~chinsan/firefox/ PKGNAMESUFFIX= -ja_JP -DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}.${PORTVERSION}b +DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}.${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= chinsan.tw@gmail.com COMMENT= Firefox Japanese(ja-JP) Language Pack BUILD_DEPENDS= ${X11BASE}/lib/${FIREFOX}/regxpcom:${PORTSDIR}/www/firefox @@ -22,11 +21,9 @@ RUN_DEPENDS= ${FIREFOX}:${PORTSDIR}/www/firefox USE_X_PREFIX= yes NO_BUILD= yes -BROKEN="Does not work with Firefox 1.5" FIREFOX= ${PORTNAME} FIREFOX_HOME= ${PREFIX}/lib/${FIREFOX} REGXPCOM= ${FIREFOX_HOME}/regxpcom -REGCHROME= ${FIREFOX_HOME}/regchrome FIREFOX_BIN= ${FIREFOX_HOME}/${PORTNAME}-bin PLIST_SUB= FIREFOX=${FIREFOX} @@ -36,33 +33,20 @@ PLIST_SUB= FIREFOX=${FIREFOX} do-install: @${ECHO_MSG} "===> Backup setting files..." (cd ${FIREFOX_HOME}; \ - ${MV} -f browserconfig.properties browserconfig.properties.orig) + ${CP} -f browserconfig.properties browserconfig.properties.orig) (cd ${FIREFOX_HOME}/defaults/pref; \ - ${MV} -f firefox-l10n.js firefox-l10n.js.orig) + ${CP} -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 browser.jar browser.jar.orig; \ - ${MV} -f chrome.rdf chrome.rdf.orig; \ - ${MV} -f installed-chrome.txt installed-chrome.txt.orig) + ${CP} -f bookmarks.html bookmarks.html.orig) @${ECHO_MSG} "===> Copying locale files..." (cd ${WRKSRC}; ${TAR} -cf - *) | \ ${TAR} -xf - -C ${FIREFOX_HOME} - @${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_MSG} "===> Building Chrome's registry..." (cd ${FIREFOX_HOME} || exit 1 ; \ ./run-mozilla.sh ${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. \ ${REGXPCOM} || true ; \ - ./run-mozilla.sh ${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. \ - ${REGCHROME} || true ; \ ./run-mozilla.sh ${FIREFOX_BIN} -register ) @${CAT} ${PKGMESSAGE} |