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

Contents of /app-i18n/rskkserv/rskkserv-2.94.12a.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Wed Nov 3 09:07:07 2004 UTC (12 years, 11 months ago) by usata
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Added to ~alpha and ~ppc.

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-i18n/rskkserv/rskkserv-2.94.12a.ebuild,v 1.7 2004/07/14 01:11:21 agriffis Exp $
4
5 inherit 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 KEYWORDS="x86"
14 IUSE=""
15
16 DEPEND="virtual/ruby
17 dev-ruby/ruby-tcpwrap"
18 RDEPEND="${DEPEND}
19 app-i18n/skk-jisyo"
20 PROVIDE="virtual/skkserv"
21
22
23 src_unpack() {
24
25 unpack ${A}
26 cd ${S}
27 epatch ${FILESDIR}/${P}-gentoo.diff
28 epatch ${FILESDIR}/${PN}-skk-jisyo-extra.diff
29 }
30
31 src_compile() {
32
33 mv rskkserv.conf.in rskkserv.conf.in.tmp
34 sed -e "s%@skkdicdir@%/usr/share/skk%g" \
35 rskkserv.conf.in.tmp > rskkserv.conf.in
36 econf --with-dicfile=/usr/share/skk/SKK-JISYO.L \
37 --with-cachedir=/var/lib/rskkserv \
38 --with-piddir=/var/run \
39 --with-logdir=/var/log \
40 || die
41 emake || die
42 }
43
44 src_install() {
45
46 keepdir /var/lib/rskkserv
47 make DESTDIR=${D} install || die
48
49 exeinto /etc/init.d
50 newexe ${FILESDIR}/rskkserv.initd rskkserv || die
51
52 dodoc ChangeLog rskkserv.conf.sample
53 newdoc doc/README.old README
54 }
55
56 pkg_postinst() {
57
58 einfo
59 einfo "If you want to add auxiliary dictionaries (e.g. SKK-JISYO.JIS2,"
60 einfo "SKK-JISYO.jinmei, SKK-JISYO.2ch and so on) you need to emerge"
61 einfo "app-i18n/skk-jisyo-extra and uncomment dictionary entries in"
62 einfo "/etc/rskkserv.conf manually."
63 #einfo "See /usr/share/doc/${PF}/rskkserv.conf.sample.gz"
64 #einfo "for an example of multiple dictionaries."
65 einfo
66 }

  ViewVC Help
Powered by ViewVC 1.1.20