summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2003-07-16 17:09:04 +0000
committerMamoru Komachi <usata@gentoo.org>2003-07-16 17:09:04 +0000
commit8a6a596e2f435ce0dddcecd2ae92fd6c2796a52b (patch)
treee98cfb0a0428525eacc119d3c5d12d1280ada132 /app-i18n/skk-jisyo-extra
parentInitial import, closing #23819 (diff)
downloadhistorical-8a6a596e2f435ce0dddcecd2ae92fd6c2796a52b.tar.gz
historical-8a6a596e2f435ce0dddcecd2ae92fd6c2796a52b.tar.bz2
historical-8a6a596e2f435ce0dddcecd2ae92fd6c2796a52b.zip
Initial import, closing #23819
Diffstat (limited to 'app-i18n/skk-jisyo-extra')
-rw-r--r--app-i18n/skk-jisyo-extra/Manifest3
-rw-r--r--app-i18n/skk-jisyo-extra/files/digest-skk-jisyo-extra-20030712
-rw-r--r--app-i18n/skk-jisyo-extra/metadata.xml5
-rw-r--r--app-i18n/skk-jisyo-extra/skk-jisyo-extra-200307.ebuild73
4 files changed, 92 insertions, 1 deletions
diff --git a/app-i18n/skk-jisyo-extra/Manifest b/app-i18n/skk-jisyo-extra/Manifest
index 3cce3846d942..ac925f8e3add 100644
--- a/app-i18n/skk-jisyo-extra/Manifest
+++ b/app-i18n/skk-jisyo-extra/Manifest
@@ -1,3 +1,4 @@
MD5 e92a48548554c80cf90e18df17ff6a82 metadata.xml 156
-MD5 2cc98aaea4c31e1fa774843a5b425ede skk-jisyo-extra-200307.ebuild 1668
+MD5 40d056a6b44890237eaa902fe9d633c4 skk-jisyo-extra-200307.ebuild 1671
+MD5 36edd197f2d9ebc2f90a832ac25bb7eb ChangeLog 385
MD5 744c5633896a528fbdedc0c956e6a176 files/digest-skk-jisyo-extra-200307 833
diff --git a/app-i18n/skk-jisyo-extra/files/digest-skk-jisyo-extra-200307 b/app-i18n/skk-jisyo-extra/files/digest-skk-jisyo-extra-200307
new file mode 100644
index 000000000000..a88735cd1fb3
--- /dev/null
+++ b/app-i18n/skk-jisyo-extra/files/digest-skk-jisyo-extra-200307
@@ -0,0 +1,12 @@
+MD5 196dac9f2c33f6a15ca53983b9e5f5e8 SKK-JISYO.ML.200307.gz 400942
+MD5 b0d74098e3cdd45e9ced8d6b7d8cbe58 SKK-JISYO.JIS2.200307.gz 9090
+MD5 578765bdd73073bf697bf23589fb7f18 SKK-JISYO.JIS3_4.200307.gz 35500
+MD5 245352c2f444342d28d03db448dc0dfa SKK-JISYO.edict.200307.tar.gz 267505
+MD5 451efe286ae10448dcfae3093c1aada1 SKK-JISYO.geo.200307.gz 572486
+MD5 416a530e050861116941298806a80679 SKK-JISYO.pubdic+.200307.gz 3938
+MD5 0d76b5056e40827646d3a60e1de63129 zipcode.200307.tar.gz 1714492
+MD5 5de48b6a01b4238b09307cdce26b032f SKK-JISYO.assoc.200307.gz 1338
+MD5 f79b20785577129aa1722c79551ac5aa SKK-JISYO.okinawa.200307.gz 18153
+MD5 83b8128da430e8edb89ac3ac4b621cc7 SKK-JISYO.law.200307.gz 131059
+MD5 3b581ca04b83c38742cec60bc02a993c SKK-JISYO.jinmei.200307.gz 142948
+MD5 f1c7af5c6017d89c2076840834100b9b SKK-JISYO.mazegaki.200307.gz 23154
diff --git a/app-i18n/skk-jisyo-extra/metadata.xml b/app-i18n/skk-jisyo-extra/metadata.xml
new file mode 100644
index 000000000000..2d5852c16c60
--- /dev/null
+++ b/app-i18n/skk-jisyo-extra/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>cjk</herd>
+</pkgmetadata>
diff --git a/app-i18n/skk-jisyo-extra/skk-jisyo-extra-200307.ebuild b/app-i18n/skk-jisyo-extra/skk-jisyo-extra-200307.ebuild
new file mode 100644
index 000000000000..5930879be35e
--- /dev/null
+++ b/app-i18n/skk-jisyo-extra/skk-jisyo-extra-200307.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/skk-jisyo-extra/skk-jisyo-extra-200307.ebuild,v 1.1 2003/07/16 17:08:56 usata Exp $
+
+IUSE=""
+
+DESCRIPTION="Extra SKK dictionaries in plain text and cdb format"
+HOMEPAGE="http://openlab.ring.gr.jp/skk/dic.html"
+SRC_PATH="http://dev.gentoo.org/~usata/distfiles"
+SRC_URI="${SRC_PATH}/SKK-JISYO.ML.${PV}.gz
+ ${SRC_PATH}/SKK-JISYO.JIS2.${PV}.gz
+ ${SRC_PATH}/SKK-JISYO.JIS3_4.${PV}.gz
+ ${SRC_PATH}/SKK-JISYO.edict.${PV}.tar.gz
+ ${SRC_PATH}/SKK-JISYO.geo.${PV}.gz
+ ${SRC_PATH}/SKK-JISYO.pubdic+.${PV}.gz
+ ${SRC_PATH}/zipcode.${PV}.tar.gz
+ ${SRC_PATH}/SKK-JISYO.assoc.${PV}.gz
+ ${SRC_PATH}/SKK-JISYO.okinawa.${PV}.gz
+ ${SRC_PATH}/SKK-JISYO.law.${PV}.gz
+ ${SRC_PATH}/SKK-JISYO.jinmei.${PV}.gz
+ ${SRC_PATH}/SKK-JISYO.mazegaki.${PV}.gz"
+
+# see each SKK-JISYO's header for detail
+LICENSE="GPL-2 public-domain freedist"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+
+DEPEND="sys-apps/gawk
+ || ( dev-db/freecdb dev-db/cdb )"
+RDEPEND=""
+
+S=${WORKDIR}
+
+skkdic2cdb () {
+
+ awk '/^[^;]/ {
+ printf "+%d,%d:%s->%s\n", length($1), length($2), $1, $2
+ } END {
+ print ""
+ } ' $1
+}
+
+src_unpack () {
+
+ unpack ${A}
+
+ for i in *.${PV} ; do
+ mv ${i} ${i/%.${PV}/}
+ done
+}
+
+src_compile () {
+
+ for i in SKK-JISYO* ; do
+ echo "Converting $i into $i.cdb ..."
+ skkdic2cdb $i | cdbmake $i.cdb tmp.$i
+ done || die
+
+ cd zipcode
+ for j in SKK-JISYO* ; do
+ skkdic2cdb $j | cdbmake $j.cdb tmp.$j
+ done || die
+}
+
+src_install () {
+
+ insinto /usr/share/skk
+ for i in SKK-JISYO* zipcode/SKK-JISYO* ; do
+ doins $i
+ done || die
+
+ dodoc edict_doc.txt
+}