summaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-22 03:32:48 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-22 03:32:48 +0800
commitc8c23dd96c84b099fac089ac2660d450ce4998c1 (patch)
tree9adc63e7989a94dc020cfc58758b9a922da0a5b9 /japanese
parent88ec592817125ac2a292074dac924121d8f7477b (diff)
downloadmarcuscom-ports-c8c23dd96c84b099fac089ac2660d450ce4998c1.tar
marcuscom-ports-c8c23dd96c84b099fac089ac2660d450ce4998c1.tar.gz
marcuscom-ports-c8c23dd96c84b099fac089ac2660d450ce4998c1.tar.bz2
marcuscom-ports-c8c23dd96c84b099fac089ac2660d450ce4998c1.tar.lz
marcuscom-ports-c8c23dd96c84b099fac089ac2660d450ce4998c1.tar.xz
marcuscom-ports-c8c23dd96c84b099fac089ac2660d450ce4998c1.tar.zst
marcuscom-ports-c8c23dd96c84b099fac089ac2660d450ce4998c1.zip
- Chase mozilla move to LOCALBASE
- Move to LOCALBASE git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6677 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'japanese')
-rw-r--r--japanese/mozilla-jlp/Makefile73
-rw-r--r--japanese/mozilla-jlp/distinfo3
-rw-r--r--japanese/mozilla-jlp/files/installed-chrome.txt29
-rw-r--r--japanese/mozilla-jlp/files/mozilla.sh31
-rw-r--r--japanese/mozilla-jlp/pkg-descr7
-rw-r--r--japanese/mozilla-jlp/pkg-message10
-rw-r--r--japanese/mozilla-jlp/pkg-plist49
7 files changed, 202 insertions, 0 deletions
diff --git a/japanese/mozilla-jlp/Makefile b/japanese/mozilla-jlp/Makefile
new file mode 100644
index 000000000..8cc8299b7
--- /dev/null
+++ b/japanese/mozilla-jlp/Makefile
@@ -0,0 +1,73 @@
+# New ports collection makefile for: ja-mozilla-jlp
+# Date created: 02 Jul 2000
+# Whom: Yoichi ASAI <yatt@luna2.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mozilla
+PORTVERSION= 1.7.13
+PORTREVISION= 1
+PORTEPOCH= 1
+CATEGORIES= japanese www
+MASTER_SITES= ftp://ftp.mozilla-japan.org/pub/mozilla/mozilla-japan/mozilla/releases/${PORTVERSION}/ \
+ ${MASTER_SITE_LOCAL:S,%SUBDIR%,maho/mozilla/&,}
+PKGNAMESUFFIX= -jlp
+DISTNAME= mozilla-${PORTVERSION}.ja-JP.langpack
+EXTRACT_SUFX= .xpi
+
+MAINTAINER= fortune@n.jpn.ph
+COMMENT= Mozilla Japanese Language Pack (JLP)
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/${MOZILLA}/regxpcom:${PORTSDIR}/www/${MOZILLA}
+RUN_DEPENDS= ${MOZILLA}:${PORTSDIR}/www/${MOZILLA} \
+ ${PKG_DBDIR}/ja-alias-fonts-1.0:${PORTSDIR}/japanese/alias-fonts
+
+WRKSRC= ${WRKDIR}/bin
+
+USE_ZIP= yes
+EXTRACT_BEFORE_ARGS= -qo
+
+MOZILLA= mozilla
+PLIST_SUB= MOZILLA=${MOZILLA}
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 450002
+LOCALENAME= ja_JP.eucJP
+.elif ${OSVERSION} >= 400020
+LOCALENAME= ja_JP.EUC
+.else
+LOCALENAME= ja_JP.EUC
+.endif
+
+do-build:
+ ${SED} -e "s^%%PREFIX%%^${PREFIX}^g" \
+ -e "s^%%LOCALBASE%%^${LOCALBASE}^g" \
+ -e "s^%%LOCALENAME%%^${LOCALENAME}^g" \
+ -e "s^%%MOZILLA%%^${MOZILLA}^g" \
+ ${FILESDIR}/mozilla.sh > ${WRKDIR}/${MOZILLA}
+
+do-install:
+ (cd ${PREFIX}/lib/${MOZILLA}/chrome; \
+ ${MV} -f chrome.rdf chrome.rdf.orig; \
+ ${MV} -f installed-chrome.txt installed-chrome.txt.orig)
+ (cd ${PREFIX}/lib/${MOZILLA}/components; \
+ ${MV} -f xpti.dat ../xpti.dat.orig)
+ ${MV} -f ${PREFIX}/bin/${MOZILLA} ${PREFIX}/bin/${MOZILLA}.orig
+ ${INSTALL_SCRIPT} ${WRKDIR}/${MOZILLA} ${PREFIX}/bin
+ (cd ${WRKDIR}/sp; ${TAR} -cf - *) | \
+ ${TAR} -xf - -C ${PREFIX}/lib/${MOZILLA}/searchplugins
+# (cd ${WRKDIR}/sp_nomac; ${TAR} -cf - *) | \
+# ${TAR} -xf - -C ${PREFIX}/lib/${MOZILLA}/searchplugins
+ (cd ${WRKSRC}; ${TAR} -cf - chrome defaults) | \
+ ${TAR} -xf - -C ${PREFIX}/lib/${MOZILLA}
+ (cd ${PREFIX}/lib/${MOZILLA}/chrome; \
+ ${CP} installed-chrome.txt.orig installed-chrome.txt; \
+ ${CAT} ${FILESDIR}/installed-chrome.txt >> installed-chrome.txt)
+ (cd ${PREFIX}/lib/${MOZILLA}; \
+ ${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regxpcom; \
+ ${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regchrome)
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.post.mk>
diff --git a/japanese/mozilla-jlp/distinfo b/japanese/mozilla-jlp/distinfo
new file mode 100644
index 000000000..84aa8cece
--- /dev/null
+++ b/japanese/mozilla-jlp/distinfo
@@ -0,0 +1,3 @@
+MD5 (mozilla-1.7.13.ja-JP.langpack.xpi) = 7059bee01142ff417b8e03131ddb94f9
+SHA256 (mozilla-1.7.13.ja-JP.langpack.xpi) = 9b34dcd427987e3274841a31d955defed6e55c4ed174aee7c70e93669bbd0ff6
+SIZE (mozilla-1.7.13.ja-JP.langpack.xpi) = 646951
diff --git a/japanese/mozilla-jlp/files/installed-chrome.txt b/japanese/mozilla-jlp/files/installed-chrome.txt
new file mode 100644
index 000000000..e34c5ff8d
--- /dev/null
+++ b/japanese/mozilla-jlp/files/installed-chrome.txt
@@ -0,0 +1,29 @@
+locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/global/
+locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/communicator/
+locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/messenger/
+locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/editor/
+locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/navigator/
+locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/necko/
+locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/cookie/
+locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/wallet/
+locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/pipnss/
+locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/pippki/
+locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/content-packs/
+locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/help/
+locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/mozldap/
+locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/autoconfig/
+locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/messenger-smime/
+locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/messenger-mdn/
+locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/chatzilla/
+locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/venkman/
+locale,install,url,jar:resource:/chrome/ja-JP.jar!/locale/ja-JP/inspector/
+locale,install,url,jar:resource:/chrome/ja-unix.jar!/locale/ja-JP/global-platform/
+locale,install,url,jar:resource:/chrome/ja-unix.jar!/locale/ja-JP/communicator-platform/
+locale,install,url,jar:resource:/chrome/ja-unix.jar!/locale/ja-JP/navigator-platform/
+locale,install,url,jar:resource:/chrome/JP.jar!/locale/JP/global-region/
+locale,install,url,jar:resource:/chrome/JP.jar!/locale/JP/communicator-region/
+locale,install,url,jar:resource:/chrome/JP.jar!/locale/JP/editor-region/
+locale,install,url,jar:resource:/chrome/JP.jar!/locale/JP/messenger-region/
+locale,install,url,jar:resource:/chrome/JP.jar!/locale/JP/navigator-region/
+locale,install,select,ja-JP
+locale,install,select,JP
diff --git a/japanese/mozilla-jlp/files/mozilla.sh b/japanese/mozilla-jlp/files/mozilla.sh
new file mode 100644
index 000000000..b5a015c99
--- /dev/null
+++ b/japanese/mozilla-jlp/files/mozilla.sh
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+LANG=%%LOCALENAME%%; export LANG
+#XMODIFIERS=@im=kinput2; export XMODIFIERS
+#LD_PRELOAD=%%LOCALBASE%%/lib/libflashplayer.so.1; export LD_PRELOAD
+
+MOZILLA_DIR="%%PREFIX%%/lib/%%MOZILLA%%"
+MOZILLA_EXEC="mozilla"
+LOCATION='new-tab'
+
+cd $MOZILLA_DIR || exit 1
+
+case $1 in
+ -mail)
+ REMOTE_COMMAND="xfeDoCommand (openInbox)"
+ ;;
+ -*)
+ exec ./$MOZILLA_EXEC "$@"
+ ;;
+ *)
+ REMOTE_COMMAND="openURL($@, $LOCATION)"
+ ;;
+esac
+
+# process found
+./$MOZILLA_EXEC -remote "ping()" &&
+./$MOZILLA_EXEC -remote "$REMOTE_COMMAND" && exit 0
+
+# no existing process
+exec ./$MOZILLA_EXEC "$@"
+
diff --git a/japanese/mozilla-jlp/pkg-descr b/japanese/mozilla-jlp/pkg-descr
new file mode 100644
index 000000000..65c1e3c87
--- /dev/null
+++ b/japanese/mozilla-jlp/pkg-descr
@@ -0,0 +1,7 @@
+Mozilla is an open-source application suite for web browsing, email,
+HTML editing, IRC chat, and more.
+
+Mozilla Japanese Language Pack (JLP) provides Japanese localized
+resource for Mozilla.
+
+WWW: http://www33.ocn.ne.jp/~snip/mozilla/
diff --git a/japanese/mozilla-jlp/pkg-message b/japanese/mozilla-jlp/pkg-message
new file mode 100644
index 000000000..304e334ad
--- /dev/null
+++ b/japanese/mozilla-jlp/pkg-message
@@ -0,0 +1,10 @@
+********************************
+If your XIM wouldn't work properly, try to make a file
+
+"${HOME}/.mozilla/${USER}/*.slt/user.js"
+
+with below content;
+--
+user_pref("xim.input_style", "over-the-spot")
+--
+********************************
diff --git a/japanese/mozilla-jlp/pkg-plist b/japanese/mozilla-jlp/pkg-plist
new file mode 100644
index 000000000..cb3945ead
--- /dev/null
+++ b/japanese/mozilla-jlp/pkg-plist
@@ -0,0 +1,49 @@
+@exec mv %D/bin/%%MOZILLA%% %D/bin/%%MOZILLA%%.orig
+@exec mv %D/lib/%%MOZILLA%%/chrome/chrome.rdf %D/lib/%%MOZILLA%%/chrome/chrome.rdf.orig
+@exec mv %D/lib/%%MOZILLA%%/chrome/installed-chrome.txt %D/lib/%%MOZILLA%%/chrome/installed-chrome.txt.orig
+@exec mv %D/lib/%%MOZILLA%%/components/xpti.dat %D/lib/%%MOZILLA%%/xpti.dat.orig
+bin/%%MOZILLA%%
+lib/%%MOZILLA%%/chrome/JP.jar
+lib/%%MOZILLA%%/chrome/chrome.rdf
+lib/%%MOZILLA%%/chrome/installed-chrome.txt
+lib/%%MOZILLA%%/chrome/ja-JP.jar
+lib/%%MOZILLA%%/chrome/ja-mac.jar
+lib/%%MOZILLA%%/chrome/ja-unix.jar
+lib/%%MOZILLA%%/chrome/ja-win.jar
+lib/%%MOZILLA%%/components/xpti.dat
+lib/%%MOZILLA%%/defaults/messenger/JP/mailViews.dat
+lib/%%MOZILLA%%/defaults/profile/JP/chrome/userChrome-example.css
+lib/%%MOZILLA%%/defaults/profile/JP/chrome/userChrome-example-euc.css
+lib/%%MOZILLA%%/defaults/profile/JP/chrome/userChrome-example-sjis.css
+lib/%%MOZILLA%%/defaults/profile/JP/chrome/userContent-example.css
+lib/%%MOZILLA%%/defaults/profile/JP/chrome/userContent-example-euc.css
+lib/%%MOZILLA%%/defaults/profile/JP/chrome/userContent-example-sjis.css
+lib/%%MOZILLA%%/defaults/profile/JP/bookmarks.html
+lib/%%MOZILLA%%/defaults/profile/JP/localstore.rdf
+lib/%%MOZILLA%%/defaults/profile/JP/mimeTypes.rdf
+lib/%%MOZILLA%%/defaults/profile/JP/panels.rdf
+lib/%%MOZILLA%%/defaults/profile/JP/prefs.js
+lib/%%MOZILLA%%/defaults/profile/JP/search.rdf
+lib/%%MOZILLA%%/searchplugins/amazon-ja.src
+lib/%%MOZILLA%%/searchplugins/amazon-ja.png
+lib/%%MOZILLA%%/searchplugins/google-ja.src
+lib/%%MOZILLA%%/searchplugins/google-ja.gif
+lib/%%MOZILLA%%/searchplugins/google_news.src
+lib/%%MOZILLA%%/searchplugins/google_news.gif
+lib/%%MOZILLA%%/searchplugins/kakaku.src
+lib/%%MOZILLA%%/searchplugins/kakaku.png
+lib/%%MOZILLA%%/searchplugins/mozillazine-ja.src
+lib/%%MOZILLA%%/searchplugins/mozillazine-ja.png
+lib/%%MOZILLA%%/searchplugins/wikipedia-ja.src
+lib/%%MOZILLA%%/searchplugins/wikipedia-ja.png
+lib/%%MOZILLA%%/searchplugins/yahoo-ja.src
+lib/%%MOZILLA%%/searchplugins/yahoo-ja.png
+lib/%%MOZILLA%%/searchplugins/wni.src
+lib/%%MOZILLA%%/searchplugins/wni.png
+@unexec mv %D/bin/%%MOZILLA%%.orig %D/bin/%%MOZILLA%%
+@unexec mv %D/lib/%%MOZILLA%%/chrome/chrome.rdf.orig %D/lib/%%MOZILLA%%/chrome/chrome.rdf
+@unexec mv %D/lib/%%MOZILLA%%/chrome/installed-chrome.txt.orig %D/lib/%%MOZILLA%%/chrome/installed-chrome.txt
+@unexec mv %D/lib/%%MOZILLA%%/xpti.dat.orig %D/lib/%%MOZILLA%%/components/xpti.dat
+@dirrm lib/%%MOZILLA%%/defaults/profile/JP/chrome
+@dirrm lib/%%MOZILLA%%/defaults/profile/JP
+@dirrm lib/%%MOZILLA%%/defaults/messenger/JP