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
commit7e6b651f62281f867cf7d446de6d4e5c05a545ac (patch)
tree7f11ee091c843480e64930d58bd6a18ca91768cf /app-dicts/canna-cannadic
parentmarked 1.1 stable (diff)
downloadhistorical-7e6b651f62281f867cf7d446de6d4e5c05a545ac.tar.gz
historical-7e6b651f62281f867cf7d446de6d4e5c05a545ac.tar.bz2
historical-7e6b651f62281f867cf7d446de6d4e5c05a545ac.zip
Initial import.
Diffstat (limited to 'app-dicts/canna-cannadic')
-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
4 files changed, 63 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