summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2007-10-07 16:28:26 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2007-10-07 16:28:26 +0000
commit1aaaf8b3a9a9cb8750511681b4339ac5cf6cf5d4 (patch)
tree7ab2ffc34548596928425a7fbadce0a376212c0d /app-i18n
parentppc stable, bug #194236 (diff)
downloadgentoo-2-1aaaf8b3a9a9cb8750511681b4339ac5cf6cf5d4.tar.gz
gentoo-2-1aaaf8b3a9a9cb8750511681b4339ac5cf6cf5d4.tar.bz2
gentoo-2-1aaaf8b3a9a9cb8750511681b4339ac5cf6cf5d4.zip
Fixed emacs support submitted by Ulrich Mueller, bug #194768.
(Portage version: 2.1.3.9)
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/skktools/ChangeLog8
-rw-r--r--app-i18n/skktools/files/50skktools-gentoo.el5
-rw-r--r--app-i18n/skktools/files/digest-skktools-1.3.1-r13
-rw-r--r--app-i18n/skktools/skktools-1.3.1-r1.ebuild52
4 files changed, 67 insertions, 1 deletions
diff --git a/app-i18n/skktools/ChangeLog b/app-i18n/skktools/ChangeLog
index 2f9cd04a5b59..41cb95d893ab 100644
--- a/app-i18n/skktools/ChangeLog
+++ b/app-i18n/skktools/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-i18n/skktools
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/skktools/ChangeLog,v 1.12 2007/09/30 14:40:30 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/skktools/ChangeLog,v 1.13 2007/10/07 16:28:25 matsuu Exp $
+
+*skktools-1.3.1-r1 (07 Oct 2007)
+
+ 07 Oct 2007; <matsuu@gentoo.org> +files/50skktools-gentoo.el,
+ +skktools-1.3.1-r1.ebuild:
+ Fixed emacs support submitted by Ulrich Mueller, bug #194768.
*skktools-1.3.1 (30 Sep 2007)
diff --git a/app-i18n/skktools/files/50skktools-gentoo.el b/app-i18n/skktools/files/50skktools-gentoo.el
new file mode 100644
index 000000000000..308d4d758ec3
--- /dev/null
+++ b/app-i18n/skktools/files/50skktools-gentoo.el
@@ -0,0 +1,5 @@
+
+;; skktools site-lisp configuration
+
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'skk-convert-jisyo-to-xml "skk-xml" nil t)
diff --git a/app-i18n/skktools/files/digest-skktools-1.3.1-r1 b/app-i18n/skktools/files/digest-skktools-1.3.1-r1
new file mode 100644
index 000000000000..34e436c132d0
--- /dev/null
+++ b/app-i18n/skktools/files/digest-skktools-1.3.1-r1
@@ -0,0 +1,3 @@
+MD5 2168b8e6d7753088c0c1b75267eaf4ff skktools-1.3.1.tar.gz 290215
+RMD160 506ee66cab8d302d267436be36e24aeab8cc7d76 skktools-1.3.1.tar.gz 290215
+SHA256 0abfa771914308db0c8014f1e531afc421bc8b76c565fa1a477b737d4349ccef skktools-1.3.1.tar.gz 290215
diff --git a/app-i18n/skktools/skktools-1.3.1-r1.ebuild b/app-i18n/skktools/skktools-1.3.1-r1.ebuild
new file mode 100644
index 000000000000..3efb47f2dda7
--- /dev/null
+++ b/app-i18n/skktools/skktools-1.3.1-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/skktools/skktools-1.3.1-r1.ebuild,v 1.1 2007/10/07 16:28:25 matsuu Exp $
+
+inherit elisp-common eutils
+
+DESCRIPTION="SKK utilities to manage dictionaries"
+HOMEPAGE="http://openlab.jp/skk/"
+SRC_URI="http://openlab.ring.gr.jp/skk/tools/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="emacs gdbm"
+
+DEPEND="emacs? ( virtual/emacs )
+ gdbm? ( sys-libs/gdbm )
+ !gdbm? ( sys-libs/db )
+ >=dev-libs/glib-2"
+
+SITEFILE=50${PN}-gentoo.el
+
+src_compile() {
+ econf $(use_with gdbm) || die
+ emake || die
+ if use emacs; then
+ elisp-compile skk-xml.el || die
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ dobin saihenkan.rb
+ if use emacs; then
+ elisp-install ${PN} skk-xml.{el,elc} || die
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+ fi
+
+ insinto /usr/share/skk
+ doins unannotation.awk
+
+ dodoc ChangeLog README READMEs/*
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrmt() {
+ use emacs && elisp-site-regen
+}