diff options
author | Akinori Hattori <hattya@gentoo.org> | 2017-06-18 18:44:10 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2017-06-18 18:44:10 +0900 |
commit | 5ba8c2107c5777e562a4e2eb1ab3faefd0916d91 (patch) | |
tree | 835490b15887696b277ac2b5d3f37a59216e09d4 /app-emacs | |
parent | app-emacs/ddskk: drop ruby20 (diff) | |
download | gentoo-5ba8c2107c5777e562a4e2eb1ab3faefd0916d91.tar.gz gentoo-5ba8c2107c5777e562a4e2eb1ab3faefd0916d91.tar.bz2 gentoo-5ba8c2107c5777e562a4e2eb1ab3faefd0916d91.zip |
app-emacs/ddskk: new upstream release
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/ddskk/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/ddskk/ddskk-16.2.ebuild | 69 |
2 files changed, 70 insertions, 0 deletions
diff --git a/app-emacs/ddskk/Manifest b/app-emacs/ddskk/Manifest index fc96d1c9ba8c..c227a7c6d284 100644 --- a/app-emacs/ddskk/Manifest +++ b/app-emacs/ddskk/Manifest @@ -1 +1,2 @@ DIST ddskk-16.1.tar.gz 878564 SHA256 fe7229d8ec76e955527878f8bb8a55767a8901069392b403dcc4a9402298803c SHA512 68875f7ad89ce847103bbe4644db3800c84cc5907a4769c37f7aab5bc64577e1ea5f49de41c5708daf3f5f2bb7176237dcec5ea05e52a61f7c78cfb2670ced7b WHIRLPOOL 85ede848eb5d788238d2aadbb81f06b143f5039b8df6952dfe0fa6df00332aa70889f95db449b80e7920d26ef7987a7af394ed40efce40b12ca7432858dedc8c +DIST ddskk-16.2.tar.gz 886618 SHA256 76d13486d7615a75d71107782684e7100cae32f21cec6a44731c192010a7a108 SHA512 591d66e2d217a289ce8273ed7da10c0ed72029e961efde0537044f7ad3f5f46943cf5c71ec1d97a27743fcea91a9fab81c86e2772047892f53e2852bf58ef45c WHIRLPOOL 9041bb4669bd61adc3207286aa16c48d0edd3223350a97f428a9badd4cbcbdfc97b0fb69a3a343798c64a48579bb90ed9594351acf3e0b1747a0bd01fd95b51c diff --git a/app-emacs/ddskk/ddskk-16.2.ebuild b/app-emacs/ddskk/ddskk-16.2.ebuild new file mode 100644 index 000000000000..d4a09765962e --- /dev/null +++ b/app-emacs/ddskk/ddskk-16.2.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +USE_RUBY="ruby21 ruby22 ruby23 ruby24" +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}_Warabitai" + +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 + + default + + 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 +} |