blob: 6bccc5f4d2ea4dc83778f7c3cf9fa31b5ab8c99a (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/suikyo/suikyo-2.1.0.ebuild,v 1.8 2006/03/05 05:36:13 matsuu Exp $
inherit ruby elisp-common
MY_P=${P/_/-}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Romaji Hiragana conversion library"
HOMEPAGE="http://taiyaki.org/suikyo/"
SRC_URI="http://prime.sourceforge.jp/src/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ppc ppc64 x86"
IUSE="emacs"
DEPEND="emacs? ( virtual/emacs )"
RUBY_ECONF="--with-suikyo-docdir=/usr/share/doc/${PF}/html
--with-rubydir=/usr/lib/ruby/site_ruby"
src_install() {
make DESTDIR="${D}" install || die
erubydoc
use emacs || rm -rf ${D}/usr/share/emacs/
use emacs && elisp-site-file-install ${FILESDIR}/50suikyo-gentoo.el
}
pkg_postinst() {
use emacs && elisp-site-regen
}
pkg_postrm() {
use emacs && elisp-site-regen
}
|