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

Contents of /app-i18n/rskkserv/rskkserv-2.94.13.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Mar 27 16:27:06 2004 UTC (10 years, 8 months ago) by usata
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Marked as stable. Removed old ebuild.

1 # Copyright 1999-2004 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/app-i18n/rskkserv/rskkserv-2.94.13.ebuild,v 1.1 2004/02/17 19:59:18 usata Exp $
4
5 IUSE=""
6
7 inherit ruby
8
9 DESCRIPTION="rskkserv is an alternative version of skkserv implemented by Ruby"
10 HOMEPAGE="http://raa.ruby-lang.org/list.rhtml?name=rskkserv"
11 SRC_URI="http://www.unixuser.org/~ysjj/rskkserv/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~x86"
16
17 DEPEND="dev-lang/ruby
18 dev-ruby/ruby-tcpwrap"
19 RDEPEND="${DEPEND}
20 app-i18n/skk-jisyo"
21 PROVIDE="virtual/skkserv"
22 USE_RUBY="ruby16 ruby18 ruby19"
23
24 S=${WORKDIR}/${PN}-cvs
25
26 src_unpack() {
27
28 unpack ${P}.tar.gz
29
30 cd ${S}
31 epatch ${FILESDIR}/${P}-gentoo.diff
32 epatch ${FILESDIR}/${P}-conf-gentoo.diff
33
34 sed -i -e "s%with_RUBY%with_ruby%g" configure
35 sed -i -e "s%@VERSION@%${PV}%g" doc/*.in
36 }
37
38 src_compile() {
39
40 EXTRA_ECONF="--with-dicfile=/usr/share/skk/SKK-JISYO.L
41 --with-cachedir=/var/lib/rskkserv
42 --with-piddir=/var/run
43 --with-logdir=/var/log"
44
45 econf || die
46 emake || die
47 }
48
49 src_install() {
50
51 keepdir /var/lib/rskkserv
52 einstall || die
53
54 exeinto /etc/init.d
55 newexe ${FILESDIR}/rskkserv.initd rskkserv || die
56
57 dodoc ChangeLog
58 cd doc
59 dodoc rskkserv.conf.sample
60 newdoc README.old README
61 newman rskkserv.1.in rskkserv.1
62 insinto /usr/share/man/ja/man1
63 newins rskkserv.1.ja_JP.eucJP.in rskkserv.1
64 }
65
66 pkg_postinst() {
67
68 einfo
69 einfo "If you want to add auxiliary dictionaries (e.g. SKK-JISYO.JIS2,"
70 einfo "SKK-JISYO.jinmei, SKK-JISYO.2ch and so on) you need to emerge"
71 einfo "app-i18n/skk-jisyo-extra and uncomment dictionary entries in"
72 einfo "/etc/rskkserv.conf manually."
73 #einfo "See /usr/share/doc/${PF}/rskkserv.conf.sample.gz"
74 #einfo "for an example of multiple dictionaries."
75 einfo
76 }

  ViewVC Help
Powered by ViewVC 1.1.20