blob: 63954f09e1bd3fc529baf0ec43b2bb2d492da5a5 (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/ddskk/ddskk-20020901.ebuild,v 1.1 2002/11/01 02:52:01 mkennedy Exp $
inherit elisp
IUSE=""
DESCRIPTION="SKK is one of Japanese input methods on Emacs"
SRC_URI="http://openlab.ring.gr.jp/skk/maintrunk/${PN}${PV}.tar.gz"
HOMEPAGE="http://openlab.ring.gr.jp/skk/"
LICENSE="GPL-2"
KEYWORDS="x86"
SLOT="0"
S=${WORKDIR}/${PN}${PV}
DEPEND="app-emacs/apel
virtual/emacs
app-i18n/skk-jisyo"
SITEFILE=50ddskk-gentoo.el
src_compile() {
patch -p1 < ${FILESDIR}/${PN}-gentoo.patch || die
emake
emake info
}
src_install () {
elisp-install ${PN} *.el *.elc
elisp-site-file-install ${FILESDIR}/${SITEFILE}
dodir /usr/share/skk
insinto /usr/share/skk
doins etc/SKK.tut etc/SKK.tut.E etc/NICOLA-SKK.tut etc/skk.xpm
dodoc READMEs/*
doinfo doc/skk.info*
}
pkg_postinst() {
elisp-site-regen
}
pkg_postrm() {
elisp-site-regen
}
|