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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Feb 12 07:56:05 2013 UTC (6 years, 8 months ago) by naota
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -2 lines
Drop apel dependency if >=emacs-22. #455958

(Portage version: 2.2.0_alpha161/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.1 2013/01/15 07:54:21 naota Exp $
4
5 EAPI=3
6
7 inherit elisp
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 }
28
29 src_compile() {
30 emake < /dev/null || die "emake failed"
31 emake info < /dev/null || die "emake info failed"
32 #cd nicola
33 #emake < /dev/null || die
34 BYTECOMPFLAGS="${BYTECOMPFLAGS} -L .."
35 cd "${S}/tut-code"
36 elisp-compile *.el || die "elisp-compile tut-code/*.el failed"
37
38 cd "${S}/bayesian"
39 elisp-compile *.el || die "elisp-compile bayesian/*.el failed"
40 }
41
42 src_install () {
43 elisp-install ${PN} *.{el,elc} nicola/*.el tut-code/*.{el,elc} bayesian/*.{el,elc} || die
44 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
45
46 insinto /usr/share/skk
47 doins etc/*SKK.tut* etc/skk.xpm || die
48
49 dodoc READMEs/* ChangeLog*
50 doinfo doc/skk.info* || die
51
52 #docinto nicola
53 #dodoc nicola/ChangeLog* nicola/README* || die
54 docinto tut-code
55 dodoc tut-code/README.tut || die
56
57 #dobin bayesian/bskk || die
58 docinto bayesian
59 dodoc bayesian/README.ja bayesian/bskk || die
60 }

  ViewVC Help
Powered by ViewVC 1.1.20