summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasatomo Nakano <nakano@gentoo.org>2003-07-26 05:22:43 +0000
committerMasatomo Nakano <nakano@gentoo.org>2003-07-26 05:22:43 +0000
commit6894a47febd35907c60205b0f4f8fe28b5eea38a (patch)
treed0759147cdb94bf599ac57706b0efe6a2b8fbfef /app-dicts
parentChanged to new dictionary and fixed bug. (diff)
downloadgentoo-2-6894a47febd35907c60205b0f4f8fe28b5eea38a.tar.gz
gentoo-2-6894a47febd35907c60205b0f4f8fe28b5eea38a.tar.bz2
gentoo-2-6894a47febd35907c60205b0f4f8fe28b5eea38a.zip
Changed to new dictionary and fixed bug.
Diffstat (limited to 'app-dicts')
-rw-r--r--app-dicts/canna-zipcode/ChangeLog8
-rw-r--r--app-dicts/canna-zipcode/Manifest5
-rw-r--r--app-dicts/canna-zipcode/canna-zipcode-20021021-r1.ebuild62
-rw-r--r--app-dicts/canna-zipcode/files/digest-canna-zipcode-20021021-r13
4 files changed, 74 insertions, 4 deletions
diff --git a/app-dicts/canna-zipcode/ChangeLog b/app-dicts/canna-zipcode/ChangeLog
index 488ea69293c2..9b1eafeb29db 100644
--- a/app-dicts/canna-zipcode/ChangeLog
+++ b/app-dicts/canna-zipcode/ChangeLog
@@ -1,6 +1,12 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/canna-zipcode/ChangeLog,v 1.2 2003/07/26 05:22:36 nakano Exp $
+
+*canna-zipcode-20021021-r1 (26 Jul 2003)
+
+ 26 Jul 2003; Masatomo Nakano <nakano@gentoo.org>
+ canna-zipcode-20021021-r1.ebuild:
+ Changed to new dictionary and fixed ebuild bug.
*canna-zipcode-20021021 (18 May 2003)
diff --git a/app-dicts/canna-zipcode/Manifest b/app-dicts/canna-zipcode/Manifest
index 76e41d6b0510..c706a90ab248 100644
--- a/app-dicts/canna-zipcode/Manifest
+++ b/app-dicts/canna-zipcode/Manifest
@@ -1,7 +1,6 @@
-MD5 848e0594e03f7a4033d47443d496a9a4 canna-zipcode-20021021-r1.ebuild 2214
-MD5 2288ae3ba2bc18f6ebfa837ff31ec53a .canna-zipcode-20021021-r1.ebuild.swp 12288
+MD5 4b7f9b8d76386b32a56baf7cac241012 canna-zipcode-20021021-r1.ebuild 2097
MD5 cc37a52e1eab67d7b8f025b0f1f93073 canna-zipcode-20021021.ebuild 2056
-MD5 fbbad0c2b9ecf64e37d67bc6374325f9 ChangeLog 443
+MD5 b6ce45e2a4e2d0a745b715c8e8a6da54 ChangeLog 623
MD5 e92a48548554c80cf90e18df17ff6a82 metadata.xml 156
MD5 d02c230b37c06b9f88d6a05c1664df74 files/02zipcode.dics.dir 155
MD5 4e7d6b209d315a4827d645f861933a45 files/digest-canna-zipcode-20021021-r1 198
diff --git a/app-dicts/canna-zipcode/canna-zipcode-20021021-r1.ebuild b/app-dicts/canna-zipcode/canna-zipcode-20021021-r1.ebuild
new file mode 100644
index 000000000000..ab83628771eb
--- /dev/null
+++ b/app-dicts/canna-zipcode/canna-zipcode-20021021-r1.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-r1.ebuild,v 1.1 2003/07/26 05:22:36 nakano Exp $
+
+MY_P="${P/canna-/}"
+MY_DATE="030726"
+
+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
+ http://gentoojp.sourceforge.jp/distfiles/ken_all_${MY_DATE}.lzh
+ http://gentoojp.sourceforge.jp/distfiles/jigyosyo_${MY_DATE}.lzh"
+LICENSE="GPL-2 public-domain"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+IUSE=""
+DEPEND=">=app-i18n/canna-3.6_p3-r1 app-i18n/nkf app-arch/lha"
+RDEPEND=">=app-i18n/canna-3.6_p3-r1"
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${MY_P}.tar.bz2
+ cd ${S}
+ lha e ${DISTDIR}/ken_all_${MY_DATE}.lzh
+ lha e ${DISTDIR}/jigyosyo_${MY_DATE}.lzh
+ touch *.csv
+}
+
+src_compile() {
+ make all || die
+ mkbindic zipcode.t ; mkbindic jigyosyo.t || die
+}
+
+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/ || die
+ insinto /var/lib/canna/dic/dics.d/ ;\
+ doins ${FILESDIR}/02zipcode.dics.dir || die
+ dodoc COPYING README.jp || die
+}
+
+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/digest-canna-zipcode-20021021-r1 b/app-dicts/canna-zipcode/files/digest-canna-zipcode-20021021-r1
new file mode 100644
index 000000000000..2e4b3a1e2de6
--- /dev/null
+++ b/app-dicts/canna-zipcode/files/digest-canna-zipcode-20021021-r1
@@ -0,0 +1,3 @@
+MD5 113644d63128e4a905b747e0a499cb51 zipcode-20021021.tar.bz2 1171807
+MD5 f4e15f46bcfa9dc440cadc3e729d000f ken_all_030726.lzh 1715259
+MD5 298cdd1095ee8f4e5047d5996416e8d7 jigyosyo_030726.lzh 786097