summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-emacs/ddskk/Manifest1
-rw-r--r--app-emacs/ddskk/ddskk-16.1.ebuild70
-rw-r--r--app-emacs/ddskk/metadata.xml19
3 files changed, 82 insertions, 8 deletions
diff --git a/app-emacs/ddskk/Manifest b/app-emacs/ddskk/Manifest
index ac607561eb1d..eb9da65ac0c9 100644
--- a/app-emacs/ddskk/Manifest
+++ b/app-emacs/ddskk/Manifest
@@ -1,3 +1,4 @@
DIST ddskk-14.3.tar.gz 805289 SHA256 478e2c824cfcd4e956a2e30e0f3967c3e385b3941f13fdd6c8c270d89367d0ef SHA512 6b29c78999a677162de3f86a9a53d363885443022852137665b29fa1a053272f2a50647ec94283cb58cd83d0172cbe85c53a8515d22116bbbd3a0efce408ed62 WHIRLPOOL 1bfa43975976cb487c49d7673f0f0da3c3a9c1c2c4bc95c1a72c3c208ee4070e7321568e5d739fca4d50083037af0c7616fa190cc89425f2117681f923da1ba3
DIST ddskk-14.4.tar.gz 847188 SHA256 a538c641f3302432aca07ae748bc0e4a7fcc91ff01c3d96b3169d1fbaa5a7d4a SHA512 d44d0afd2557c087549f337acf2778988128e06a82d1f15d080efcad4034cedfbe52fee7bad102d8dee4159ba4f5c89008055a51ce5a564d220fed98e61ef4c9 WHIRLPOOL 4f16a3f82f3c863e6f9df38ff9012507d69d8b16072c94ca953c185a588510aa8c35efc01cd5cc20bd38b2b674cee199e689c3a3572d8020815d8b1ce53a0584
DIST ddskk-15.1.tar.gz 837942 SHA256 099e087cc92b5ccf62e6cedc81541c5991afdf5c311f391d02630ce87a5abdcf SHA512 8927cde6d55e5d32b5207f03f8385622996818ac279b054ddf2e461364743cd44b658fef388ce9a271af145ebe784b21b4a7dd4f0b063858fb1ffccdf796f777 WHIRLPOOL 875319515ef4d3acb8bca6a96af18c7231ecdb5f101f923df4245244027d9377ccfa40d4bc669b5e93a00e9ee13868890c4e84310248126597714dc8698e820a
+DIST ddskk-16.1.tar.gz 878564 SHA256 fe7229d8ec76e955527878f8bb8a55767a8901069392b403dcc4a9402298803c SHA512 68875f7ad89ce847103bbe4644db3800c84cc5907a4769c37f7aab5bc64577e1ea5f49de41c5708daf3f5f2bb7176237dcec5ea05e52a61f7c78cfb2670ced7b WHIRLPOOL 85ede848eb5d788238d2aadbb81f06b143f5039b8df6952dfe0fa6df00332aa70889f95db449b80e7920d26ef7987a7af394ed40efce40b12ca7432858dedc8c
diff --git a/app-emacs/ddskk/ddskk-16.1.ebuild b/app-emacs/ddskk/ddskk-16.1.ebuild
new file mode 100644
index 000000000000..810ed5f0a18e
--- /dev/null
+++ b/app-emacs/ddskk/ddskk-16.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+NEED_EMACS="24"
+
+inherit elisp ruby-single
+
+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="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="ruby"
+
+DEPEND=""
+RDEPEND="|| (
+ app-i18n/skk-jisyo
+ virtual/skkserv
+ )
+ ruby? ( ${RUBY_DEPS} )"
+S="${WORKDIR}/${PN}-${P}_Futamata"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ echo "(setq PREFIX \"${ED}/usr\")" >>SKK-CFG
+ echo "(setq SKK_LISPDIR \"${ED}/${SITELISP}/${PN}\")" >>SKK-CFG
+
+ echo "(add-to-list 'load-path (expand-file-name \"..\"))" >> nicola/NICOLA-DDSKK-CFG
+
+ eapply_user
+
+ rm -f skk-lookup.el
+ mv {bayesian,tut-code}/*.el .
+}
+
+src_compile() {
+ emake elc info
+
+ emake -C nicola
+}
+
+src_install () {
+ local lispdir=${SITELISP}/${PN}
+ emake install-elc
+ elisp-compile "${ED}"/${lispdir}/skk-setup.el
+ rm -f "${ED}"/${lispdir}/leim-list.el
+ elisp-site-file-install "${FILESDIR}"/${SITEFILE}
+
+ dodoc ChangeLog* README.md READMEs/{AUTHORS,CODENAME,Contributors,FAQ,NEWS,PROPOSAL,TODO}*
+ doinfo doc/skk.info
+
+ local exts=( nicola tut-code ) d f
+ elisp-install ${PN} nicola/*.{el,elc}
+ if use ruby; then
+ dobin bayesian/bskk
+ exts+=( bayesian )
+ fi
+ for d in ${exts[@]}; do
+ docinto ${d}
+ for f in ${d}/{ChangeLog,README}*; do
+ [[ -s ${f} ]] && dodoc ${f}
+ done
+ done
+}
diff --git a/app-emacs/ddskk/metadata.xml b/app-emacs/ddskk/metadata.xml
index 02fb2539160f..686eb3809d5c 100644
--- a/app-emacs/ddskk/metadata.xml
+++ b/app-emacs/ddskk/metadata.xml
@@ -1,12 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="project">
- <email>gnu-emacs@gentoo.org</email>
- <name>Gentoo GNU Emacs project</name>
-</maintainer>
-<maintainer type="project">
- <email>cjk@gentoo.org</email>
- <name>Cjk</name>
-</maintainer>
+ <maintainer type="project">
+ <email>gnu-emacs@gentoo.org</email>
+ <name>Gentoo GNU Emacs project</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>cjk@gentoo.org</email>
+ <name>Cjk</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">skk-dev/ddskk</remote-id>
+ </upstream>
</pkgmetadata>