blob: 6cb8f3d9f2ad02d53fdb9cdc7dfd86b3a21e6117 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/ddskk/ddskk-12.2.0.ebuild,v 1.2 2003/08/16 20:58:02 usata Exp $
inherit elisp
IUSE=""
MY_P=${PN}-${PV/_/}
DESCRIPTION="SKK is one of Japanese input methods on Emacs"
SRC_URI="http://openlab.ring.gr.jp/skk/maintrunk/${MY_P}.tar.bz2"
HOMEPAGE="http://openlab.ring.gr.jp/skk/"
LICENSE="GPL-2"
KEYWORDS="x86 alpha sparc ppc"
SLOT="0"
DEPEND=">=sys-apps/sed-4
>=app-emacs/apel-10.6
virtual/emacs"
RDEPEND="virtual/emacs
>=app-emacs/apel-10.6
virtual/skkserv"
SITEFILE=50ddskk-gentoo.el
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
find . -type f | xargs sed -i -e 's%/usr/local%/usr%g'
}
src_compile() {
make < /dev/null || die
make info < /dev/null || die
}
src_install () {
elisp-install ${PN} *.el *.elc
elisp-site-file-install ${FILESDIR}/${SITEFILE} || die
insinto /usr/share/skk
doins etc/SKK.tut etc/SKK.tut.E etc/NICOLA-SKK.tut etc/skk.xpm
dodoc READMEs/* ChangeLog*
# prohibit gzipping info files
make SKK_INFODIR=${D}/usr/share/info install-info < /dev/null || die
}
prepall () {
einfo "SKK info files should not be gzipped"
}
|