summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2010-02-03 18:23:55 +0000
committerUlrich Müller <ulm@gentoo.org>2010-02-03 18:23:55 +0000
commitb6c5f5d96a0475aa60f78e4501fc0a5f339af50d (patch)
treef36fbb328dd8ea5868b6f5cba7a2eb04ffe3ab1a /app-emacs/ddskk
parentStable on amd64 wrt bug #302512 (diff)
downloadgentoo-2-b6c5f5d96a0475aa60f78e4501fc0a5f339af50d.tar.gz
gentoo-2-b6c5f5d96a0475aa60f78e4501fc0a5f339af50d.tar.bz2
gentoo-2-b6c5f5d96a0475aa60f78e4501fc0a5f339af50d.zip
Add prefix keywords, change EAPI to 3.
(Portage version: 2.2_rc62/cvs/Linux i686)
Diffstat (limited to 'app-emacs/ddskk')
-rw-r--r--app-emacs/ddskk/ChangeLog9
-rw-r--r--app-emacs/ddskk/ddskk-13.1-r1.ebuild52
-rw-r--r--app-emacs/ddskk/files/50ddskk-gentoo.el3
3 files changed, 59 insertions, 5 deletions
diff --git a/app-emacs/ddskk/ChangeLog b/app-emacs/ddskk/ChangeLog
index 3da4d65dbb25..cd8663cc7db1 100644
--- a/app-emacs/ddskk/ChangeLog
+++ b/app-emacs/ddskk/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-emacs/ddskk
-# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/ddskk/ChangeLog,v 1.25 2009/05/31 23:38:59 ranger Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/ddskk/ChangeLog,v 1.26 2010/02/03 18:23:55 ulm Exp $
+
+*ddskk-13.1-r1 (03 Feb 2010)
+
+ 03 Feb 2010; Ulrich Mueller <ulm@gentoo.org> +ddskk-13.1-r1.ebuild:
+ Add prefix keywords, change EAPI to 3.
31 May 2009; Brent Baude <ranger@gentoo.org> ddskk-13.1.ebuild:
Marking ddskk-13.1 ~ppc64 for bug 269147
diff --git a/app-emacs/ddskk/ddskk-13.1-r1.ebuild b/app-emacs/ddskk/ddskk-13.1-r1.ebuild
new file mode 100644
index 000000000000..37927bad4ea5
--- /dev/null
+++ b/app-emacs/ddskk/ddskk-13.1-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/ddskk/ddskk-13.1-r1.ebuild,v 1.1 2010/02/03 18:23:55 ulm Exp $
+
+EAPI=3
+
+inherit elisp
+
+DESCRIPTION="One Japanese input methods on Emacs"
+HOMEPAGE="http://openlab.ring.gr.jp/skk/"
+SRC_URI="http://openlab.ring.gr.jp/skk/maintrunk/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE=""
+
+DEPEND=">=app-emacs/apel-10.7"
+RDEPEND="${DEPEND}
+ || ( app-i18n/skk-jisyo virtual/skkserv )"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ find . -type f | xargs sed -i -e "s:/usr/local:${EPREFIX}/usr:g" || die
+}
+
+src_compile() {
+ emake < /dev/null || die "emake failed"
+ emake info < /dev/null || die "emake info failed"
+ #cd nicola
+ #make < /dev/null || die
+ cd "${S}/tut-code"
+ BYTECOMPFLAGS="${BYTECOMPFLAGS} -L .."
+ elisp-compile *.el || die
+}
+
+src_install () {
+ elisp-install ${PN} *.{el,elc} nicola/*.el tut-code/*.{el,elc} || die
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+
+ insinto /usr/share/skk
+ doins etc/*SKK.tut* etc/skk.xpm || die
+
+ dodoc READMEs/* ChangeLog*
+ doinfo doc/skk.info* || die
+
+ #docinto nicola
+ #dodoc nicola/ChangeLog* nicola/README*
+ docinto tut-code
+ dodoc tut-code/README.tut || die
+}
diff --git a/app-emacs/ddskk/files/50ddskk-gentoo.el b/app-emacs/ddskk/files/50ddskk-gentoo.el
index 5fcb35d32476..548fdb26a168 100644
--- a/app-emacs/ddskk/files/50ddskk-gentoo.el
+++ b/app-emacs/ddskk/files/50ddskk-gentoo.el
@@ -1,6 +1,3 @@
-
-;;; ddskk site-lisp configuration
-
(add-to-list 'load-path "@SITELISP@")
(require 'skk-autoloads)
(global-set-key "\C-x\C-j" 'skk-mode)