summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-19 13:25:46 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-19 13:25:46 +0800
commit5420ea46d99e625462ebc635a72ec3624a3aef0d (patch)
tree65b2fed65c6d17e45eed5851718ccd2fbb5e7111
parent3d073e8a769999f202b336e717feb61055978dab (diff)
downloadmarcuscom-ports-5420ea46d99e625462ebc635a72ec3624a3aef0d.tar
marcuscom-ports-5420ea46d99e625462ebc635a72ec3624a3aef0d.tar.gz
marcuscom-ports-5420ea46d99e625462ebc635a72ec3624a3aef0d.tar.bz2
marcuscom-ports-5420ea46d99e625462ebc635a72ec3624a3aef0d.tar.lz
marcuscom-ports-5420ea46d99e625462ebc635a72ec3624a3aef0d.tar.xz
marcuscom-ports-5420ea46d99e625462ebc635a72ec3624a3aef0d.tar.zst
marcuscom-ports-5420ea46d99e625462ebc635a72ec3624a3aef0d.zip
- Chase firefox move to LOCALBASE
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6659 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--japanese/firefox-ja/Makefile51
-rw-r--r--japanese/firefox-ja/distinfo3
-rw-r--r--japanese/firefox-ja/pkg-descr7
-rw-r--r--japanese/firefox-ja/pkg-plist25
4 files changed, 86 insertions, 0 deletions
diff --git a/japanese/firefox-ja/Makefile b/japanese/firefox-ja/Makefile
new file mode 100644
index 000000000..7cd0988a6
--- /dev/null
+++ b/japanese/firefox-ja/Makefile
@@ -0,0 +1,51 @@
+# New ports collection makefile for: ja-firefox-ja_JP
+# Date created: 2005/07/16
+# Whom: chinsan <chinsan.tw@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= firefox
+PORTVERSION= 1.5.0.3
+PORTREVISION= 1
+CATEGORIES= japanese www
+MASTER_SITES= ${MASTER_SITE_MOZILLA}
+MASTER_SITE_SUBDIR= ${PORTNAME}/releases/${PORTVERSION}/linux-i686/ja
+PKGNAMESUFFIX= -ja
+DIST_SUBDIR= ${PORTNAME}${PKGNAMESUFFIX}
+
+MAINTAINER= hiroto.kagotani@gmail.com
+COMMENT= Firefox Japanese(ja) Language Pack
+
+BUILD_DEPENDS= ${FIREFOX}:${PORTSDIR}/www/firefox
+RUN_DEPENDS= ${FIREFOX}:${PORTSDIR}/www/firefox
+
+NO_BUILD= yes
+
+FIREFOX= ${PORTNAME}
+WRKSRC= ${WRKDIR}/${FIREFOX}
+FIREFOX_HOME= ${PREFIX}/lib/${FIREFOX}
+LOCALE_FILES= browserconfig.properties \
+ chrome/ja.jar \
+ chrome/ja.manifest \
+ defaults/pref/firefox-l10n.js \
+ defaults/profile/bookmarks.html \
+ searchplugins/*
+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)
+ (cd ${FIREFOX_HOME}/defaults/profile; \
+ ${CP} -f bookmarks.html bookmarks.html.orig)
+
+ @${ECHO_MSG} "===> Copying locale files..."
+ (cd ${WRKSRC}; ${TAR} -cf - ${LOCALE_FILES}) | \
+ ${TAR} -xf - -C ${FIREFOX_HOME}
+
+.include <bsd.port.post.mk>
diff --git a/japanese/firefox-ja/distinfo b/japanese/firefox-ja/distinfo
new file mode 100644
index 000000000..fdee788af
--- /dev/null
+++ b/japanese/firefox-ja/distinfo
@@ -0,0 +1,3 @@
+MD5 (firefox-ja/firefox-1.5.0.3.tar.gz) = 3fc551876e54eeca96164bb0dee611f8
+SHA256 (firefox-ja/firefox-1.5.0.3.tar.gz) = 37aba7967bf1ffd9ff95181f058c1eae1e9532a1a5b06038b87ff62643013a61
+SIZE (firefox-ja/firefox-1.5.0.3.tar.gz) = 8487080
diff --git a/japanese/firefox-ja/pkg-descr b/japanese/firefox-ja/pkg-descr
new file mode 100644
index 000000000..96c34fb4c
--- /dev/null
+++ b/japanese/firefox-ja/pkg-descr
@@ -0,0 +1,7 @@
+Mozilla Firefox is an open-source application suite for web browsing,
+IRC chat, and more.
+
+Firefox Japanese (ja) Language Pack provides Japanese
+localized resource for Firefox.
+
+WWW: http://www.mozilla-japan.org/products/firefox/
diff --git a/japanese/firefox-ja/pkg-plist b/japanese/firefox-ja/pkg-plist
new file mode 100644
index 000000000..00209b549
--- /dev/null
+++ b/japanese/firefox-ja/pkg-plist
@@ -0,0 +1,25 @@
+@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
+@exec mv %D/lib/%%FIREFOX%%/defaults/profile/bookmarks.html %D/lib/%%FIREFOX%%/defaults/profile/bookmarks.html.orig
+lib/%%FIREFOX%%/browserconfig.properties
+lib/%%FIREFOX%%/chrome/ja.jar
+lib/%%FIREFOX%%/chrome/ja.manifest
+lib/%%FIREFOX%%/defaults/pref/firefox-l10n.js
+lib/%%FIREFOX%%/defaults/profile/bookmarks.html
+lib/%%FIREFOX%%/searchplugins/amazon-jp.png
+lib/%%FIREFOX%%/searchplugins/amazon-jp.src
+lib/%%FIREFOX%%/searchplugins/goo.gif
+lib/%%FIREFOX%%/searchplugins/goo.src
+lib/%%FIREFOX%%/searchplugins/google-jp.gif
+lib/%%FIREFOX%%/searchplugins/google-jp.src
+lib/%%FIREFOX%%/searchplugins/rakuten.gif
+lib/%%FIREFOX%%/searchplugins/rakuten.src
+lib/%%FIREFOX%%/searchplugins/yahoo-jp-auctions.gif
+lib/%%FIREFOX%%/searchplugins/yahoo-jp-auctions.src
+lib/%%FIREFOX%%/searchplugins/yahoo-jp-shopping.gif
+lib/%%FIREFOX%%/searchplugins/yahoo-jp-shopping.src
+lib/%%FIREFOX%%/searchplugins/yahoo-jp.gif
+lib/%%FIREFOX%%/searchplugins/yahoo-jp.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
+@unexec mv %D/lib/%%FIREFOX%%/defaults/profile/bookmarks.html.orig %D/lib/%%FIREFOX%%/defaults/profile/bookmarks.html