- Unbreak
PR: ports/92701 Submitted by: maintainer
This commit is contained in:
parent
100306026c
commit
08f4896a1c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=155044
@ -8,26 +8,24 @@
|
||||
PORTNAME= firefox
|
||||
PORTVERSION= 1.5
|
||||
CATEGORIES= korean www
|
||||
MASTER_SITES= http://bbs.ilc.edu.tw/~chinsan/firefox/
|
||||
MASTER_SITES= http://chinsan2.twbbs.org/distfiles/firefox/ \
|
||||
ftp://chinsan2.twbbs.org/distfiles/firefox/
|
||||
PKGNAMESUFFIX= -ko
|
||||
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}.${PORTVERSION}
|
||||
DIST_SUBDIR= ${PORTNAME}${PKGNAMESUFFIX}
|
||||
|
||||
MAINTAINER= chinsan.tw@gmail.com
|
||||
COMMENT= Firefox Korean(ko) Language Pack
|
||||
|
||||
BUILD_DEPENDS= ${X11BASE}/lib/${FIREFOX}/regxpcom:${PORTSDIR}/www/firefox
|
||||
BUILD_DEPENDS= ${FIREFOX}:${PORTSDIR}/www/firefox
|
||||
RUN_DEPENDS= ${FIREFOX}:${PORTSDIR}/www/firefox
|
||||
|
||||
BROKEN= Unfetchable
|
||||
|
||||
USE_X_PREFIX= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
FIREFOX= ${PORTNAME}
|
||||
WRKSRC= ${WRKDIR}/${FIREFOX}
|
||||
FIREFOX_HOME= ${PREFIX}/lib/${FIREFOX}
|
||||
REGXPCOM= ${FIREFOX_HOME}/regxpcom
|
||||
FIREFOX_BIN= ${FIREFOX_HOME}/${PORTNAME}-bin
|
||||
|
||||
PLIST_SUB= FIREFOX=${FIREFOX}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
@ -35,19 +33,15 @@ PLIST_SUB= FIREFOX=${FIREFOX}
|
||||
do-install:
|
||||
@${ECHO_MSG} "===> Backup setting files..."
|
||||
(cd ${FIREFOX_HOME}; \
|
||||
${CP} -f browserconfig.properties browserconfig.properties.orig)
|
||||
${CP} -f browserconfig.properties browserconfig.properties.orig; \
|
||||
${CP} -f updater.ini updater.ini.orig)
|
||||
(cd ${FIREFOX_HOME}/defaults/pref; \
|
||||
${CP} -f firefox-l10n.js firefox-l10n.js.orig)
|
||||
(cd ${FIREFOX_HOME}/defaults/profile; \
|
||||
${CP} -f bookmarks.html bookmarks.html.orig)
|
||||
|
||||
@${ECHO_MSG} "===> Copying locale files..."
|
||||
(cd ${WRKSRC}; ${TAR} -cf - *) | \
|
||||
${TAR} -xf - -C ${FIREFOX_HOME}
|
||||
|
||||
@${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 ${FIREFOX_BIN} -register )
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (firefox-ko.1.5.tar.gz) = c6a87d3dcf6f8dbc8a04ad091f067b67
|
||||
SHA256 (firefox-ko.1.5.tar.gz) = b7b1ea2d1738be1c1bf0e3704352a30a5dd5417b76ff71a49397d7414256b114
|
||||
SIZE (firefox-ko.1.5.tar.gz) = 151031
|
||||
MD5 (firefox-ko/firefox-ko.1.5.tar.gz) = 57c3de8e6bd1d766ebb87b3491f2a6e8
|
||||
SHA256 (firefox-ko/firefox-ko.1.5.tar.gz) = 35c43f07e1cacde7880970a2b651d77bf46adabab69f11c76c04f1b718fabde4
|
||||
SIZE (firefox-ko/firefox-ko.1.5.tar.gz) = 157380
|
||||
|
@ -1,10 +0,0 @@
|
||||
********************************
|
||||
If your XIM wouldn't work properly, try to make a file
|
||||
|
||||
"${HOME}/.mozilla/firefox/*.default/user.js"
|
||||
|
||||
with below content;
|
||||
--
|
||||
user_pref("xim.input_style", "over-the-spot")
|
||||
--
|
||||
********************************
|
@ -1,15 +1,26 @@
|
||||
@exec mv %D/lib/%%FIREFOX%%/browserconfig.properties %D/lib/%%FIREFOX%%/browserconfig.properties.orig
|
||||
@exec mv %D/lib/%%FIREFOX%%/updater.ini %D/lib/%%FIREFOX%%/updater.ini.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%%/updater.ini
|
||||
lib/%%FIREFOX%%/chrome/ko.jar
|
||||
lib/%%FIREFOX%%/chrome/ko.manifest
|
||||
lib/%%FIREFOX%%/components/compreg.dat
|
||||
lib/%%FIREFOX%%/components/xpti.dat
|
||||
lib/%%FIREFOX%%/defaults/pref/firefox-l10n.js
|
||||
lib/%%FIREFOX%%/defaults/profile/user.js
|
||||
lib/%%FIREFOX%%/searchplugins/FreeBSD_PR.png
|
||||
lib/%%FIREFOX%%/searchplugins/FreeBSD_PR.src
|
||||
lib/%%FIREFOX%%/searchplugins/freshports.png
|
||||
lib/%%FIREFOX%%/searchplugins/freshports.src
|
||||
lib/%%FIREFOX%%/defaults/profile/bookmarks.html
|
||||
lib/%%FIREFOX%%/searchplugins/yahoo-kr.src
|
||||
lib/%%FIREFOX%%/searchplugins/google-ko.src
|
||||
lib/%%FIREFOX%%/searchplugins/daum-ko.src
|
||||
lib/%%FIREFOX%%/searchplugins/naver-ko.src
|
||||
lib/%%FIREFOX%%/searchplugins/amazondotcom.src
|
||||
lib/%%FIREFOX%%/searchplugins/creativecommons.src
|
||||
lib/%%FIREFOX%%/searchplugins/yahoo-kr.gif
|
||||
lib/%%FIREFOX%%/searchplugins/google-ko.gif
|
||||
lib/%%FIREFOX%%/searchplugins/daum-ko.gif
|
||||
lib/%%FIREFOX%%/searchplugins/naver-ko.gif
|
||||
lib/%%FIREFOX%%/searchplugins/amazondotcom.png
|
||||
lib/%%FIREFOX%%/searchplugins/creativecommons.png
|
||||
@unexec mv %D/lib/%%FIREFOX%%/browserconfig.properties.orig %D/lib/%%FIREFOX%%/browserconfig.properties
|
||||
@unexec mv %D/lib/%%FIREFOX%%/updater.ini.orig %D/lib/%%FIREFOX%%/updater.ini
|
||||
@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
|
||||
|
Loading…
Reference in New Issue
Block a user