mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Add firefox-ko 1.5, Firefox Korean(ko) Language Pack.
PR: ports/90639 Submitted by: chinsan <chinsan.tw@gmail.com>
This commit is contained in:
parent
eebabae305
commit
273ea61ffd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=151573
6 changed files with 87 additions and 0 deletions
|
@ -16,6 +16,7 @@
|
|||
SUBDIR += elm
|
||||
SUBDIR += engdic
|
||||
SUBDIR += eterm
|
||||
SUBDIR += firefox-ko
|
||||
SUBDIR += gau
|
||||
SUBDIR += gdick
|
||||
SUBDIR += ghostscript-gnu-korfont
|
||||
|
|
51
korean/firefox-ko/Makefile
Normal file
51
korean/firefox-ko/Makefile
Normal file
|
@ -0,0 +1,51 @@
|
|||
# New ports collection makefile for: ko-firefox-ko
|
||||
# Date created: 2005/12/19
|
||||
# Whom: chinsan <chinsan.tw@gmail.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= firefox
|
||||
PORTVERSION= 1.5
|
||||
CATEGORIES= korean www
|
||||
MASTER_SITES= http://bbs.ilc.edu.tw/~chinsan/firefox/
|
||||
PKGNAMESUFFIX= -ko
|
||||
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}.${PORTVERSION}
|
||||
|
||||
MAINTAINER= chinsan.tw@gmail.com
|
||||
COMMENT= Firefox Korean(ko) Language Pack
|
||||
|
||||
BUILD_DEPENDS= ${X11BASE}/lib/${FIREFOX}/regxpcom:${PORTSDIR}/www/firefox
|
||||
RUN_DEPENDS= ${FIREFOX}:${PORTSDIR}/www/firefox
|
||||
|
||||
USE_X_PREFIX= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
FIREFOX= ${PORTNAME}
|
||||
FIREFOX_HOME= ${PREFIX}/lib/${FIREFOX}
|
||||
REGXPCOM= ${FIREFOX_HOME}/regxpcom
|
||||
FIREFOX_BIN= ${FIREFOX_HOME}/${PORTNAME}-bin
|
||||
|
||||
PLIST_SUB= FIREFOX=${FIREFOX}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
do-install:
|
||||
@${ECHO_MSG} "===> Backup setting files..."
|
||||
(cd ${FIREFOX_HOME}; \
|
||||
${CP} -f browserconfig.properties browserconfig.properties.orig)
|
||||
(cd ${FIREFOX_HOME}/defaults/pref; \
|
||||
${CP} -f firefox-l10n.js firefox-l10n.js.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>
|
3
korean/firefox-ko/distinfo
Normal file
3
korean/firefox-ko/distinfo
Normal file
|
@ -0,0 +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
|
7
korean/firefox-ko/pkg-descr
Normal file
7
korean/firefox-ko/pkg-descr
Normal file
|
@ -0,0 +1,7 @@
|
|||
Mozilla Firefox is an open-source application suite for web browsing,
|
||||
IRC chat, and more.
|
||||
|
||||
Firefox Korean(ko) Language Pack provides Korean
|
||||
localized resource for Firefox.
|
||||
|
||||
WWW: http://www.mozilla.or.kr/
|
10
korean/firefox-ko/pkg-message
Normal file
10
korean/firefox-ko/pkg-message
Normal file
|
@ -0,0 +1,10 @@
|
|||
********************************
|
||||
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")
|
||||
--
|
||||
********************************
|
15
korean/firefox-ko/pkg-plist
Normal file
15
korean/firefox-ko/pkg-plist
Normal file
|
@ -0,0 +1,15 @@
|
|||
@exec mv %D/lib/%%FIREFOX%%/browserconfig.properties %D/lib/%%FIREFOX%%/browserconfig.properties.orig
|
||||
@exec mv %D/lib/%%FIREFOX%%/defaults/pref/firefox-l10n.js %D/lib/%%FIREFOX%%/defaults/pref/firefox-l10n.js.orig
|
||||
lib/%%FIREFOX%%/browserconfig.properties
|
||||
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
|
||||
@unexec mv %D/lib/%%FIREFOX%%/browserconfig.properties.orig %D/lib/%%FIREFOX%%/browserconfig.properties
|
||||
@unexec mv %D/lib/%%FIREFOX%%/defaults/pref/firefox-l10n.js.orig %D/lib/%%FIREFOX%%/defaults/pref/firefox-l10n.js
|
Loading…
Add table
Reference in a new issue