summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2007-12-20 08:01:48 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2007-12-20 08:01:48 +0000
commit23b8c599e00921643c246c01f42d68bba832b788 (patch)
treea2a8182f4643aab503d43a044238d284a19ac92c /app-text
parentrevert stable x86 (diff)
downloadgentoo-2-23b8c599e00921643c246c01f42d68bba832b788.tar.gz
gentoo-2-23b8c599e00921643c246c01f42d68bba832b788.tar.bz2
gentoo-2-23b8c599e00921643c246c01f42d68bba832b788.zip
Added emacs USE flag, bug #202796.
(Portage version: 2.1.3.19)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/migemo/ChangeLog7
-rw-r--r--app-text/migemo/files/digest-migemo-0.40-r23
-rw-r--r--app-text/migemo/migemo-0.40-r2.ebuild52
3 files changed, 61 insertions, 1 deletions
diff --git a/app-text/migemo/ChangeLog b/app-text/migemo/ChangeLog
index a991e0d3a0d0..9ff9940d3169 100644
--- a/app-text/migemo/ChangeLog
+++ b/app-text/migemo/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/migemo
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/migemo/ChangeLog,v 1.16 2007/10/06 17:50:09 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/migemo/ChangeLog,v 1.17 2007/12/20 08:01:48 matsuu Exp $
+
+*migemo-0.40-r2 (20 Dec 2007)
+
+ 20 Dec 2007; MATSUU Takuto <matsuu@gentoo.org> +migemo-0.40-r2.ebuild:
+ Added emacs USE flag, bug #202796.
06 Oct 2007; Ulrich Mueller <ulm@gentoo.org> migemo-0.40-r1.ebuild:
Minor QA: quote some variables. Add a die command. Drop ppc-macos keyword.
diff --git a/app-text/migemo/files/digest-migemo-0.40-r2 b/app-text/migemo/files/digest-migemo-0.40-r2
new file mode 100644
index 000000000000..d11751137bea
--- /dev/null
+++ b/app-text/migemo/files/digest-migemo-0.40-r2
@@ -0,0 +1,3 @@
+MD5 7021c45096b6816fccf16f8389324a91 migemo-0.40.tar.gz 1674941
+RMD160 6663ac89abc89e4c568c44a71e8ae1f016920df0 migemo-0.40.tar.gz 1674941
+SHA256 89c2125e903edf6f6fe035137eceef79382fce43783e5da240fc4a34b0878934 migemo-0.40.tar.gz 1674941
diff --git a/app-text/migemo/migemo-0.40-r2.ebuild b/app-text/migemo/migemo-0.40-r2.ebuild
new file mode 100644
index 000000000000..c633281e7b5c
--- /dev/null
+++ b/app-text/migemo/migemo-0.40-r2.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-text/migemo/migemo-0.40-r2.ebuild,v 1.1 2007/12/20 08:01:48 matsuu Exp $
+
+inherit elisp
+
+DESCRIPTION="Migemo is Japanese Incremental Search Tool"
+HOMEPAGE="http://0xcc.net/migemo/"
+SRC_URI="http://0xcc.net/migemo/stable/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="emacs"
+
+DEPEND="app-emacs/apel
+ virtual/ruby
+ dev-ruby/ruby-romkan
+ dev-ruby/ruby-bsearch
+ app-dicts/migemo-dict"
+
+SITEFILE=50${PN}-gentoo.el
+
+src_unpack() {
+ unpack ${A}
+ cp /usr/share/migemo/migemo-dict "${S}"
+}
+
+src_compile() {
+ econf || die
+ # emake b0rks
+ emake -j1 || die
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install || die
+
+ rm "${D}"/usr/share/migemo/migemo-dict
+
+ if use emacs ; then
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+ fi
+ dodoc AUTHORS ChangeLog INSTALL README
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}