/[gentoo-x86]/app-emacs/ddskk/ddskk-15.1.ebuild
Gentoo

Contents of /app-emacs/ddskk/ddskk-15.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Jul 9 03:42:35 2013 UTC (6 years, 3 months ago) by naota
Branch: MAIN
CVS Tags: HEAD
Version bump wrt #474550

(Portage version: 2.2.0_alpha180/cvs/Linux x86_64, signed Manifest commit with key F8551514)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-emacs/ddskk/ddskk-14.4.ebuild,v 1.2 2013/02/12 07:56:05 naota Exp $
4
5 EAPI=3
6
7 inherit elisp eutils
8
9 DESCRIPTION="One Japanese input methods on Emacs"
10 HOMEPAGE="http://openlab.ring.gr.jp/skk/"
11 SRC_URI="http://openlab.ring.gr.jp/skk/maintrunk/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
16 IUSE=""
17
18 DEPEND="|| ( ( =virtual/emacs-21 >=app-emacs/apel-10.7 )
19 >=virtual/emacs-22 )"
20 RDEPEND="${DEPEND}
21 || ( app-i18n/skk-jisyo virtual/skkserv )"
22
23 SITEFILE="50${PN}-gentoo.el"
24
25 src_prepare() {
26 find . -type f | xargs sed -i -e "s:/usr/local:${EPREFIX}/usr:g" || die
27 epatch "${FILESDIR}"/${P}-skk-mk.patch
28 }
29
30 src_compile() {
31 emake < /dev/null || die "emake failed"
32 emake info < /dev/null || die "emake info failed"
33 #cd nicola
34 #emake < /dev/null || die
35 BYTECOMPFLAGS="${BYTECOMPFLAGS} -L .."
36 cd "${S}/tut-code"
37 elisp-compile *.el || die "elisp-compile tut-code/*.el failed"
38
39 cd "${S}/bayesian"
40 elisp-compile *.el || die "elisp-compile bayesian/*.el failed"
41 }
42
43 src_install () {
44 elisp-install ${PN} *.{el,elc} nicola/*.el tut-code/*.{el,elc} bayesian/*.{el,elc} || die
45 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
46
47 insinto /usr/share/skk
48 doins etc/*SKK.tut* etc/skk.xpm || die
49
50 dodoc READMEs/* ChangeLog*
51 doinfo doc/skk.info* || die
52
53 #docinto nicola
54 #dodoc nicola/ChangeLog* nicola/README* || die
55 docinto tut-code
56 dodoc tut-code/README.tut || die
57
58 #dobin bayesian/bskk || die
59 docinto bayesian
60 dodoc bayesian/README.ja bayesian/bskk || die
61 }

  ViewVC Help
Powered by ViewVC 1.1.20