/[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.12 - (hide annotations) (download)
Mon Jan 13 02:35:05 2014 UTC (4 years, 3 months ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
FILE REMOVED
app-i18n/rskkserv removal (pending since 30th November 2013).

1 armin76 1.10 # Copyright 1999-2011 Gentoo Foundation
2 usata 1.1 # Distributed under the terms of the GNU General Public License v2
3 mrueg 1.12 # $Header: /var/cvsroot/gentoo-x86/app-i18n/rskkserv/rskkserv-2.95.3-r1.ebuild,v 1.11 2011/04/13 15:19:12 ulm 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 armin76 1.10 KEYWORDS="~ppc x86"
14 usata 1.1 IUSE=""
15    
16     DEPEND="dev-ruby/ruby-tcpwrap"
17     RDEPEND="${DEPEND}
18     app-i18n/skk-jisyo"
19 a3li 1.9 USE_RUBY="ruby18"
20 usata 1.1
21     src_compile() {
22     ruby -i -pe "gsub(/with_RUBY/,'with_ruby')" configure || die
23     econf \
24     --with-dicfile=/usr/share/skk/SKK-JISYO.L \
25     --with-cachedir=/var/lib/rskkserv \
26     --with-piddir=/var/run \
27     --with-logdir=/var/log \
28     || die "econf failed"
29     emake || die "emake failed"
30     }
31    
32     src_install() {
33     keepdir /var/lib/rskkserv
34 flameeyes 1.5 emake -j1 DESTDIR="${D}" install || die "emake install failed"
35 usata 1.1
36 tove 1.7 newinitd "${FILESDIR}"/rskkserv-2.95.initd rskkserv || die
37 usata 1.1
38     dodoc ChangeLog
39     cd doc
40     dodoc rskkserv.conf.sample
41     newdoc README.old README
42     insinto /usr/share/doc/${PF}
43     doins conf-o2n.rb
44     newman rskkserv.1.in rskkserv.1
45     insinto /usr/share/man/ja/man1
46     newins rskkserv.1.ja_JP.eucJP.in rskkserv.1
47     }
48    
49     pkg_postinst() {
50 flameeyes 1.6 elog
51     elog "If you want to add auxiliary dictionaries (e.g. SKK-JISYO.JIS2,"
52     elog "SKK-JISYO.jinmei, SKK-JISYO.2ch and so on) you need to emerge"
53     elog "app-i18n/skk-jisyo-extra and uncomment dictionary entries in"
54     elog "/etc/rskkserv.conf manually."
55     elog
56 usata 1.1 draw_line
57 flameeyes 1.6 elog
58     elog "If you are upgrading from 2.94.x, you may want to use"
59 matsuu 1.8 elog "conf-o2n.rb in /usr/share/doc/${PF} to convert configuration"
60 flameeyes 1.6 elog "file into new format."
61     elog
62 usata 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20