Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 27175 | Differences between
and this patch

Collapse All | Expand All

(-)anthy-4300b.ebuild (-5 / +17 lines)
Lines 2-16 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /home/cvsroot/gentoo-x86/app-i18n/anthy/anthy-4300b.ebuild,v 1.1 2003/08/20 14:02:45 usata Exp $
3
# $Header: /home/cvsroot/gentoo-x86/app-i18n/anthy/anthy-4300b.ebuild,v 1.1 2003/08/20 14:02:45 usata Exp $
4
4
5
inherit elisp
5
IUSE="emacs"
6
6
7
DESCRIPTION="Anthy -- free and secure Japanese input system"
7
DESCRIPTION="Anthy -- free and secure Japanese input system"
8
HOMEPAGE="http://anthy.sourceforge.jp/"
8
HOMEPAGE="http://anthy.sourceforge.jp/"
9
SRC_URI="mirror://sourceforge.jp/anthy/5332/${P}.tar.gz"
9
SRC_URI="mirror://sourceforge.jp/anthy/5332/${P}.tar.gz"
10
10
LICENSE="GPL-2"
11
LICENSE="GPL-2"
11
KEYWORDS="~x86 ~sparc"
12
KEYWORDS="~x86 ~sparc"
12
SLOT="0"
13
SLOT="0"
13
IUSE="emacs"
14
14
15
S="${WORKDIR}/${P}"
15
S="${WORKDIR}/${P}"
16
16
Lines 18-23 Link Here
18
	emacs? ( virtual/emacs )"
18
	emacs? ( virtual/emacs )"
19
19
20
SITEFILE="50anthy-gentoo.el"
20
SITEFILE="50anthy-gentoo.el"
21
SITELISP=/usr/share/emacs/site-lisp
21
22
22
src_compile() {
23
src_compile() {
23
	local myconf=""
24
	local myconf=""
Lines 32-38 Link Here
32
src_install() {
33
src_install() {
33
	einstall || die
34
	einstall || die
34
35
35
	use emacs && elisp-site-file-install ${FILESDIR}/${SITEFILE}
36
	if [ -n "` use emacs`" ] ; then
37
		insinto ${SITELISP}
38
		doins ${FILESDIR}/${SITEFILE}
39
	fi
36
40
37
	dodoc AUTHORS ChangeLog DIARY INSTALL NEWS README \
41
	dodoc AUTHORS ChangeLog DIARY INSTALL NEWS README \
38
		doc/{DICUTIL,ELISP,GLOSSARY,GUIDE.english,ILIB,LERNING,LIB} \
42
		doc/{DICUTIL,ELISP,GLOSSARY,GUIDE.english,ILIB,LERNING,LIB} \
Lines 40-48 Link Here
40
}
44
}
41
45
42
pkg_postinst() {
46
pkg_postinst() {
43
	use emacs && elisp-site-regen
47
48
	if [ -n "` use emacs`" ] ; then
49
		inherit elisp
50
		elisp-site-regen
51
	fi
44
}
52
}
45
53
46
pkg_postrm() {
54
pkg_postrm() {
47
	use emacs && elisp-site-regen
55
56
	if [ -n "` use emacs`" ] ; then
57
		inherit elisp
58
		elisp-site-regen
59
	fi
48
}
60
}

Return to bug 27175