summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasatomo Nakano <nakano@gentoo.org>2003-05-17 19:31:14 +0000
committerMasatomo Nakano <nakano@gentoo.org>2003-05-17 19:31:14 +0000
commit50bd96bf4689bf9b1cd3a9252c3052bee239b843 (patch)
treef3ea4db78ab5b65dc66393cd7e2b2780e0ddfce2 /app-dicts
parentmarked 1.1 stable (diff)
downloadgentoo-2-50bd96bf4689bf9b1cd3a9252c3052bee239b843.tar.gz
gentoo-2-50bd96bf4689bf9b1cd3a9252c3052bee239b843.tar.bz2
gentoo-2-50bd96bf4689bf9b1cd3a9252c3052bee239b843.zip
Initial import.
Diffstat (limited to 'app-dicts')
-rw-r--r--app-dicts/canna-cannadic/ChangeLog10
-rw-r--r--app-dicts/canna-cannadic/canna-cannadic-0.94h.ebuild49
-rw-r--r--app-dicts/canna-cannadic/files/01cannadic.dics.dir3
-rw-r--r--app-dicts/canna-cannadic/files/digest-canna-cannadic-0.94h1
-rw-r--r--app-dicts/canna-zipcode/ChangeLog10
-rw-r--r--app-dicts/canna-zipcode/canna-zipcode-20021021.ebuild62
-rw-r--r--app-dicts/canna-zipcode/files/02zipcode.dics.dir5
-rw-r--r--app-dicts/canna-zipcode/files/digest-canna-zipcode-200210211
8 files changed, 141 insertions, 0 deletions
diff --git a/app-dicts/canna-cannadic/ChangeLog b/app-dicts/canna-cannadic/ChangeLog
new file mode 100644
index 000000000000..4aba1c33153c
--- /dev/null
+++ b/app-dicts/canna-cannadic/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-dicts/canna-cannadic
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/canna-cannadic/ChangeLog,v 1.1 2003/05/17 19:27:13 nakano Exp $
+
+*canna-cannadic-0.94h (18 May 2003)
+
+ 18 May 2003; <masatomo@gentoo.org> canna-cannadic-0.94h.ebuild,
+ files/01cannadic.dics.dir:
+ Initial import. #21060 Thanks to Sadayuki Kobayashi <desperado@s17.xrea.com>
+
diff --git a/app-dicts/canna-cannadic/canna-cannadic-0.94h.ebuild b/app-dicts/canna-cannadic/canna-cannadic-0.94h.ebuild
new file mode 100644
index 000000000000..35c099d77ed0
--- /dev/null
+++ b/app-dicts/canna-cannadic/canna-cannadic-0.94h.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/canna-cannadic/canna-cannadic-0.94h.ebuild,v 1.1 2003/05/17 19:27:13 nakano Exp $
+
+MY_P="${P/canna-/}"
+
+DESCRIPTION="Japanese kana-kanji conversion dictionary for Canna"
+HOMEPAGE="http://cannadic.oucrc.org/"
+SRC_URI="http://cannadic.oucrc.org/${MY_P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+IUSE=""
+DEPEND=">=canna-3.6_p3-r1"
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+ make maindic || die
+}
+
+src_install() {
+ dodir /var/lib/canna/dic/canna/
+ install -o bin -g bin -m 0664 gcanna.c[bl]d gcannaf.t \
+ ${D}/var/lib/canna/dic/canna/
+ insinto /var/lib/canna/dic/dics.d/ ;\
+ doins ${FILESDIR}/01cannadic.dics.dir
+ dodoc COPYING README
+}
+
+pkg_postinst() {
+ if [ -x /usr/sbin/update-canna-dics_dir ]; then
+ einfo "Regenerating dics.dir file..."
+ /usr/sbin/update-canna-dics_dir || die "Regenerating failed."
+ fi
+ einfo "Please restart cannaserver to fit changes."
+ einfo "and modify your config file (~/.canna ) to enable dictionay."
+ einfo " e.g) add \"gcanna\" \"gcannaf\" to section use-dictionary()"
+ einfo "For details, see /usr/share/doc/${P}/README.gz"
+}
+
+pkg_postrm() {
+ if [ -x /usr/sbin/update-canna-dics_dir ]; then
+ einfo "Regenerating dics.dir file..."
+ /usr/sbin/update-canna-dics_dir || die "Regenerating failed."
+ fi
+ einfo "Please restart cannaserver to fit changes."
+ einfo "and modify your config file (~/.canna ) to disable dictionay."
+ einfo " e.g) delete \"gcanna\" \"gcannaf\" from section use-dictionary()"
+}
diff --git a/app-dicts/canna-cannadic/files/01cannadic.dics.dir b/app-dicts/canna-cannadic/files/01cannadic.dics.dir
new file mode 100644
index 000000000000..0249ff8bf8d7
--- /dev/null
+++ b/app-dicts/canna-cannadic/files/01cannadic.dics.dir
@@ -0,0 +1,3 @@
+gcanna.cbd(gcanna.mwd) -gcanna---
+gcanna.cld(gcanna.mwd) -gcanna---
+gcannaf.t(.swd) -gcannaf---
diff --git a/app-dicts/canna-cannadic/files/digest-canna-cannadic-0.94h b/app-dicts/canna-cannadic/files/digest-canna-cannadic-0.94h
new file mode 100644
index 000000000000..ed7f508665aa
--- /dev/null
+++ b/app-dicts/canna-cannadic/files/digest-canna-cannadic-0.94h
@@ -0,0 +1 @@
+MD5 b2a33f3b823d3f4ec501833adee87b7a cannadic-0.94h.tar.gz 1000807
diff --git a/app-dicts/canna-zipcode/ChangeLog b/app-dicts/canna-zipcode/ChangeLog
new file mode 100644
index 000000000000..488ea69293c2
--- /dev/null
+++ b/app-dicts/canna-zipcode/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-dicts/canna-zipcode
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/canna-zipcode/ChangeLog,v 1.1 2003/05/17 19:31:14 nakano Exp $
+
+*canna-zipcode-20021021 (18 May 2003)
+
+ 18 May 2003; <masatomo@gentoo.org> canna-zipcode-20021021.ebuild,
+ files/02zipcode.dics.dir:
+ Initial import. #21060 Thanks to Sadayuki Kobayashi <desperado@s17.xrea.com>
+
diff --git a/app-dicts/canna-zipcode/canna-zipcode-20021021.ebuild b/app-dicts/canna-zipcode/canna-zipcode-20021021.ebuild
new file mode 100644
index 000000000000..5269012dd596
--- /dev/null
+++ b/app-dicts/canna-zipcode/canna-zipcode-20021021.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/canna-zipcode/canna-zipcode-20021021.ebuild,v 1.1 2003/05/17 19:31:14 nakano Exp $
+
+MY_P="${P/canna-/}"
+
+DESCRIPTION="Japanese Zipcode dictionary for Canna"
+HOMEPAGE="http://bonobo.gnome.gr.jp/~nakai/canna/"
+SRC_URI="http://bonobo.gnome.gr.jp/~nakai/canna/${MY_P}.tar.bz2"
+LICENSE="GPL-2 public-domain"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+IUSE=""
+DEPEND=">=canna-3.6_p3-r1 app-i18n/nkf app-arch/lha"
+RDEPEND=">=canna-3.6_p3-r1"
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ rm -f zipcode.t jigyosyo.t ken_all.{lzh,csv} jigyosyo.{lzh.csv} || die
+ wget http://www.post.japanpost.jp/zipcode/dl/kogaki/lzh/ken_all.lzh \
+ http://www.post.japanpost.jp/zipcode/dl/jigyosyo/lzh/jigyosyo.lzh
+ lha e ken_all.lzh
+ lha e jigyosyo.lzh
+ touch *.csv
+}
+
+src_compile() {
+ make all || die
+ mkbindic zipcode.t ; mkbindic jigyosyo.t
+}
+
+src_install() {
+ dodir /var/lib/canna/dic/canna/
+ install -o bin -g bin -m 0664 zipcode.c[bl]d jigyosyo.c[bl]d \
+ ${D}/var/lib/canna/dic/canna/
+ insinto /var/lib/canna/dic/dics.d/ ;\
+ doins ${FILESDIR}/02zipcode.dics.dir
+ dodoc COPYING README.jp
+}
+
+pkg_postinst() {
+ if [ -x /usr/sbin/update-canna-dics_dir ]; then
+ einfo "Regenerating dics.dir file..."
+ /usr/sbin/update-canna-dics_dir || die "Regenerating failed."
+ fi
+ einfo "Please restart cannaserver to fit changes."
+ einfo "and modify your config file (~/.canna ) to enable dictionay."
+ einfo " e.g) add \"zipcode\" \"jigyosyo\" to section use-dictionary()"
+ einfo "For details, see /usr/share/doc/${P}/README.jp.gz"
+}
+
+pkg_postrm() {
+ if [ -x /usr/sbin/update-canna-dics_dir ]; then
+ einfo "Regenerating dics.dir file..."
+ /usr/sbin/update-canna-dics_dir || die "Regenerating failed."
+ fi
+ einfo "Please restart cannaserver to fit changes."
+ einfo "and modify your config file (~/.canna) to disable dictionay."
+ einfo " e.g) delete \"zipcode\" \"jigyosyo\" from section use-dictionary()"
+}
diff --git a/app-dicts/canna-zipcode/files/02zipcode.dics.dir b/app-dicts/canna-zipcode/files/02zipcode.dics.dir
new file mode 100644
index 000000000000..cd65a5df7138
--- /dev/null
+++ b/app-dicts/canna-zipcode/files/02zipcode.dics.dir
@@ -0,0 +1,5 @@
+zipcode.cbd(zipcode.mwd) -zipcode---
+zipcode.cld(zipcode.mwd) -zipcode---
+
+jigyosyo.cbd(jigyosyo.mwd) -jigyosyo---
+jigyosyo.cld(jigyosyo.mwd) -jigyosyo---
diff --git a/app-dicts/canna-zipcode/files/digest-canna-zipcode-20021021 b/app-dicts/canna-zipcode/files/digest-canna-zipcode-20021021
new file mode 100644
index 000000000000..6d28156b84d5
--- /dev/null
+++ b/app-dicts/canna-zipcode/files/digest-canna-zipcode-20021021
@@ -0,0 +1 @@
+MD5 113644d63128e4a905b747e0a499cb51 zipcode-20021021.tar.bz2 1171807