/[gentoo-x86]/app-i18n/rskkserv/rskkserv-2.95.3-r1.ebuild
Gentoo

Contents of /app-i18n/rskkserv/rskkserv-2.95.3-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Wed Aug 3 19:51:18 2005 UTC (12 years, 6 months ago) by kloeri
Branch: MAIN
Changes since 1.3: +2 -2 lines
Stable on alpha.
(Portage version: 2.0.51.22-r2)

1 eradicator 1.2 # Copyright 1999-2005 Gentoo Foundation
2 usata 1.1 # Distributed under the terms of the GNU General Public License v2
3 kloeri 1.4 # $Header: /var/cvsroot/gentoo-x86/app-i18n/rskkserv/rskkserv-2.95.3-r1.ebuild,v 1.3 2005/07/02 09:40:50 usata Exp $
4 usata 1.1
5     inherit ruby eutils
6    
7     DESCRIPTION="rskkserv is an alternative version of skkserv implemented by Ruby"
8     HOMEPAGE="http://raa.ruby-lang.org/list.rhtml?name=rskkserv"
9     SRC_URI="http://www.unixuser.org/~ysjj/rskkserv/${P}.tar.gz"
10    
11     LICENSE="GPL-2"
12     SLOT="0"
13 kloeri 1.4 KEYWORDS="alpha ~ppc x86"
14 usata 1.1 IUSE=""
15    
16     DEPEND="dev-ruby/ruby-tcpwrap"
17     RDEPEND="${DEPEND}
18     app-i18n/skk-jisyo"
19     PROVIDE="virtual/skkserv"
20     USE_RUBY="ruby16 ruby18 ruby19"
21    
22     src_compile() {
23     ruby -i -pe "gsub(/with_RUBY/,'with_ruby')" configure || die
24     econf \
25     --with-dicfile=/usr/share/skk/SKK-JISYO.L \
26     --with-cachedir=/var/lib/rskkserv \
27     --with-piddir=/var/run \
28     --with-logdir=/var/log \
29     || die "econf failed"
30     emake || die "emake failed"
31     }
32    
33     src_install() {
34     keepdir /var/lib/rskkserv
35     einstall || die
36    
37     exeinto /etc/init.d
38     newexe ${FILESDIR}/rskkserv-2.95.initd rskkserv || die
39    
40     dodoc ChangeLog
41     cd doc
42     dodoc rskkserv.conf.sample
43     newdoc README.old README
44     insinto /usr/share/doc/${PF}
45     doins conf-o2n.rb
46     newman rskkserv.1.in rskkserv.1
47     insinto /usr/share/man/ja/man1
48     newins rskkserv.1.ja_JP.eucJP.in rskkserv.1
49     }
50    
51     pkg_postinst() {
52     einfo
53     einfo "If you want to add auxiliary dictionaries (e.g. SKK-JISYO.JIS2,"
54     einfo "SKK-JISYO.jinmei, SKK-JISYO.2ch and so on) you need to emerge"
55     einfo "app-i18n/skk-jisyo-extra and uncomment dictionary entries in"
56     einfo "/etc/rskkserv.conf manually."
57     #einfo "See /usr/share/doc/${PF}/rskkserv.conf.sample.gz"
58     #einfo "for an example of multiple dictionaries."
59     einfo
60     draw_line
61     einfo
62     einfo "If you are upgrading from 2.94.x, you may want to use"
63     einfo "/usr/share/doc/${PF}/conf-o2n.rb to convert configuration"
64     einfo "file into new format."
65     einfo
66     }

  ViewVC Help
Powered by ViewVC 1.1.20