summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYamashita Takao <tjy1965@gmail.com>2010-10-25 10:13:41 +0900
committerYamashita Takao <tjy1965@gmail.com>2010-10-25 10:13:41 +0900
commitc12e7224420b20021ce30a88394d29b16e2023de (patch)
treecb21de161ed9ed52ca43234716ae722d8af8b518
parentadd app-i18n/ibus-skk/ibus-skk-9999.ebuild (diff)
downloadtjy1965-c12e7224420b20021ce30a88394d29b16e2023de.zip
tjy1965-c12e7224420b20021ce30a88394d29b16e2023de.tar.gz
tjy1965-c12e7224420b20021ce30a88394d29b16e2023de.tar.bz2
add:app-emacs/ddskk/ddskk-14.1.ebuild
-rw-r--r--app-emacs/ddskk/Manifest3
-rw-r--r--app-emacs/ddskk/ddskk-14.1.ebuild51
-rw-r--r--app-emacs/ddskk/files/50ddskk-gentoo.el7
3 files changed, 61 insertions, 0 deletions
diff --git a/app-emacs/ddskk/Manifest b/app-emacs/ddskk/Manifest
new file mode 100644
index 0000000..ee2cc54
--- /dev/null
+++ b/app-emacs/ddskk/Manifest
@@ -0,0 +1,3 @@
+AUX 50ddskk-gentoo.el 238 RMD160 2256f8c978b702366af9e101ded9ae168c2d6dbb SHA1 14ab31e4c89ce410c461bbb793048a4a8338ccf6 SHA256 35159602df38c65fe832cab983693b0778bb511d354159f4a532788458bcded3
+DIST ddskk-14.1.tar.gz 775861 RMD160 446a2b133f0489ecd6b3dab34d56da06e9c0c4ad SHA1 ed8456e7e6dc39c8ec8026c3da329701396a3730 SHA256 f33ef2bf39cef1c1876ce20737b19952f67b93de948eba9fc685eff1de6d5b6e
+EBUILD ddskk-14.1.ebuild 1258 RMD160 d6d7a182e741b8f910f433ae6c4f341fd0b32268 SHA1 005670035404ffde3169ab310ad1508be5cc0cfa SHA256 63ba9ff25f6386fcb4c04801a8151a04599fc24d34f33c4efb01b223e0ffe351
diff --git a/app-emacs/ddskk/ddskk-14.1.ebuild b/app-emacs/ddskk/ddskk-14.1.ebuild
new file mode 100644
index 0000000..a99e75e
--- /dev/null
+++ b/app-emacs/ddskk/ddskk-14.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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"
+IUSE=""
+
+DEPEND=">=app-emacs/apel-10.7"
+RDEPEND="${DEPEND}
+ || ( app-i18n/skk-jisyo virtual/skkserv )"
+
+SITEFILE=50ddskk-gentoo.el
+
+src_unpack() {
+ unpack ${A}
+ find . -type f | xargs sed -i -e 's%/usr/local%/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 "elisp-compile failed"
+}
+
+src_install () {
+ elisp-install ${PN} *.el* nicola/*.el* tut-code/*.el* || die "elisp-install failed"
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die "elisp-site-file-install failed"
+
+ insinto /usr/share/skk
+ doins etc/*SKK.tut* etc/skk.xpm
+
+ dodoc READMEs/* ChangeLog*
+ doinfo doc/skk.info*
+
+ #docinto nicola
+ #dodoc nicola/ChangeLog* nicola/README*
+ docinto tut-code
+ dodoc tut-code/README.tut
+}
diff --git a/app-emacs/ddskk/files/50ddskk-gentoo.el b/app-emacs/ddskk/files/50ddskk-gentoo.el
new file mode 100644
index 0000000..548fdb2
--- /dev/null
+++ b/app-emacs/ddskk/files/50ddskk-gentoo.el
@@ -0,0 +1,7 @@
+(add-to-list 'load-path "@SITELISP@")
+(require 'skk-autoloads)
+(global-set-key "\C-x\C-j" 'skk-mode)
+(global-set-key "\C-xj" 'skk-auto-fill-mode)
+(global-set-key "\C-xt" 'skk-tutorial)
+
+(setq skk-large-jisyo "/usr/share/skk/SKK-JISYO.L")