/[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.1 - (show annotations) (download)
Sat Sep 20 08:48:15 2003 UTC (15 years ago) by usata
Branch: MAIN
new ebuild

1 # Copyright 1999-2003 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.12a.ebuild,v 1.2 2003/09/20 07:40:57 usata Exp $
4
5 IUSE=""
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
15 DEPEND="dev-lang/ruby
16 dev-ruby/ruby-tcpwrap"
17 RDEPEND="${DEPEND}
18 app-i18n/skk-jisyo"
19 PROVIDE="virtual/skkserv"
20
21 S=${WORKDIR}/${P}
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