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
commitb946f8c2169d8e8c05ac0eb018aceb7539b0fe8a (patch)
treed7ae39a582f39b9b612d4e08b28b31efd6c502d7 /app-dicts/canna-zipcode
parentChanged to new dictionary and fixed bug. (diff)
downloadhistorical-b946f8c2169d8e8c05ac0eb018aceb7539b0fe8a.tar.gz
historical-b946f8c2169d8e8c05ac0eb018aceb7539b0fe8a.tar.bz2
historical-b946f8c2169d8e8c05ac0eb018aceb7539b0fe8a.zip
Changed to new dictionary and fixed bug.
Diffstat (limited to 'app-dicts/canna-zipcode')
-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
3 files changed, 67 insertions, 3 deletions
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