/[gentoo-x86]/dev-libs/suikyo/suikyo-2.1.0.ebuild
Gentoo

Contents of /dev-libs/suikyo/suikyo-2.1.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (hide annotations) (download)
Sun Mar 5 05:36:13 2006 UTC (8 years, 6 months ago) by matsuu
Branch: MAIN
Changes since 1.7: +2 -2 lines
Fixed make_install issue.
(Portage version: 2.0.54)

1 usata 1.1 # Copyright 1999-2005 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 matsuu 1.8 # $Header: /var/cvsroot/gentoo-x86/dev-libs/suikyo/suikyo-2.1.0.ebuild,v 1.7 2005/11/25 19:22:57 tgall Exp $
4 usata 1.1
5     inherit ruby elisp-common
6    
7     MY_P=${P/_/-}
8     S=${WORKDIR}/${MY_P}
9    
10     DESCRIPTION="Romaji Hiragana conversion library"
11     HOMEPAGE="http://taiyaki.org/suikyo/"
12     SRC_URI="http://prime.sourceforge.jp/src/${MY_P}.tar.gz"
13    
14     LICENSE="GPL-2"
15     SLOT="0"
16 tgall 1.7 KEYWORDS="alpha amd64 ppc ppc64 x86"
17 usata 1.1 IUSE="emacs"
18    
19     DEPEND="emacs? ( virtual/emacs )"
20    
21     RUBY_ECONF="--with-suikyo-docdir=/usr/share/doc/${PF}/html
22     --with-rubydir=/usr/lib/ruby/site_ruby"
23    
24     src_install() {
25 matsuu 1.8 make DESTDIR="${D}" install || die
26 usata 1.1 erubydoc
27    
28     use emacs || rm -rf ${D}/usr/share/emacs/
29     use emacs && elisp-site-file-install ${FILESDIR}/50suikyo-gentoo.el
30     }
31    
32     pkg_postinst() {
33     use emacs && elisp-site-regen
34     }
35    
36     pkg_postrm() {
37     use emacs && elisp-site-regen
38     }

  ViewVC Help
Powered by ViewVC 1.1.20