summaryrefslogtreecommitdiff
path: root/korean
diff options
context:
space:
mode:
authorSam Lawrance <lawrance@FreeBSD.org>2005-12-19 15:40:39 +0000
committerSam Lawrance <lawrance@FreeBSD.org>2005-12-19 15:40:39 +0000
commit273ea61ffdb77a1486903c8eb83518faf6e58aa3 (patch)
treeb5fb5a223b70174100f63b0b5dec9814ac127043 /korean
parentUpdate for Firefox 1.5. (diff)
Add firefox-ko 1.5, Firefox Korean(ko) Language Pack.
PR: ports/90639 Submitted by: chinsan <chinsan.tw@gmail.com>
Notes
Notes: svn path=/head/; revision=151573
Diffstat (limited to 'korean')
-rw-r--r--korean/Makefile1
-rw-r--r--korean/firefox-ko/Makefile51
-rw-r--r--korean/firefox-ko/distinfo3
-rw-r--r--korean/firefox-ko/pkg-descr7
-rw-r--r--korean/firefox-ko/pkg-message10
-rw-r--r--korean/firefox-ko/pkg-plist15
6 files changed, 87 insertions, 0 deletions
diff --git a/korean/Makefile b/korean/Makefile
index 0bfd4f9396c0..d13e13dae7a4 100644
--- a/korean/Makefile
+++ b/korean/Makefile
@@ -16,6 +16,7 @@
SUBDIR += elm
SUBDIR += engdic
SUBDIR += eterm
+ SUBDIR += firefox-ko
SUBDIR += gau
SUBDIR += gdick
SUBDIR += ghostscript-gnu-korfont
diff --git a/korean/firefox-ko/Makefile b/korean/firefox-ko/Makefile
new file mode 100644
index 000000000000..20689195c445
--- /dev/null
+++ b/korean/firefox-ko/Makefile
@@ -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>
diff --git a/korean/firefox-ko/distinfo b/korean/firefox-ko/distinfo
new file mode 100644
index 000000000000..34bd7b0c382f
--- /dev/null
+++ b/korean/firefox-ko/distinfo
@@ -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
diff --git a/korean/firefox-ko/pkg-descr b/korean/firefox-ko/pkg-descr
new file mode 100644
index 000000000000..ef84b2c190ec
--- /dev/null
+++ b/korean/firefox-ko/pkg-descr
@@ -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/
diff --git a/korean/firefox-ko/pkg-message b/korean/firefox-ko/pkg-message
new file mode 100644
index 000000000000..19f39da52aa6
--- /dev/null
+++ b/korean/firefox-ko/pkg-message
@@ -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")
+--
+********************************
diff --git a/korean/firefox-ko/pkg-plist b/korean/firefox-ko/pkg-plist
new file mode 100644
index 000000000000..2872ad3c1ab5
--- /dev/null
+++ b/korean/firefox-ko/pkg-plist
@@ -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