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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.20