/[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.8 - (hide annotations) (download)
Wed Jul 1 23:04:42 2009 UTC (8 years, 11 months ago) by matsuu
Branch: MAIN
Changes since 1.7: +3 -5 lines
fixed elog messages, bug #272900.
(Portage version: 2.1.6.13/cvs/Linux x86_64)

1 matsuu 1.8 # Copyright 1999-2009 Gentoo Foundation
2 usata 1.1 # Distributed under the terms of the GNU General Public License v2
3 matsuu 1.8 # $Header: /var/cvsroot/gentoo-x86/app-i18n/rskkserv/rskkserv-2.95.3-r1.ebuild,v 1.7 2007/04/28 15:45:13 tove 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 flameeyes 1.5 emake -j1 DESTDIR="${D}" install || die "emake install failed"
36 usata 1.1
37 tove 1.7 newinitd "${FILESDIR}"/rskkserv-2.95.initd rskkserv || die
38 usata 1.1
39     dodoc ChangeLog
40     cd doc
41     dodoc rskkserv.conf.sample
42     newdoc README.old README
43     insinto /usr/share/doc/${PF}
44     doins conf-o2n.rb
45     newman rskkserv.1.in rskkserv.1
46     insinto /usr/share/man/ja/man1
47     newins rskkserv.1.ja_JP.eucJP.in rskkserv.1
48     }
49    
50     pkg_postinst() {
51 flameeyes 1.6 elog
52     elog "If you want to add auxiliary dictionaries (e.g. SKK-JISYO.JIS2,"
53     elog "SKK-JISYO.jinmei, SKK-JISYO.2ch and so on) you need to emerge"
54     elog "app-i18n/skk-jisyo-extra and uncomment dictionary entries in"
55     elog "/etc/rskkserv.conf manually."
56     elog
57 usata 1.1 draw_line
58 flameeyes 1.6 elog
59     elog "If you are upgrading from 2.94.x, you may want to use"
60 matsuu 1.8 elog "conf-o2n.rb in /usr/share/doc/${PF} to convert configuration"
61 flameeyes 1.6 elog "file into new format."
62     elog
63 usata 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20