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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Apr 11 16:34:45 2004 UTC (10 years, 5 months ago) by usata
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
virtual/ruby fix

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-r1.ebuild,v 1.3 2004/04/06 03:59:58 vapier Exp $
4
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 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 USE_RUBY="ruby16 ruby18 ruby19"
22
23 S=${WORKDIR}/${PN}-cvs
24
25 src_unpack() {
26 unpack ${P}.tar.gz
27
28 cd ${S}
29 epatch ${FILESDIR}/${P}-gentoo.diff
30 epatch ${FILESDIR}/${P}-conf-gentoo.diff
31
32 sed -i -e "s%with_RUBY%with_ruby%g" configure
33 sed -i -e "s%@datadir@%/usr/share%g" rskkserv.conf.in
34 sed -i -e "s%@VERSION@%${PV}%g" doc/*.in
35 }
36
37 src_compile() {
38 econf \
39 --with-dicfile=/usr/share/skk/SKK-JISYO.L \
40 --with-cachedir=/var/lib/rskkserv \
41 --with-piddir=/var/run \
42 --with-logdir=/var/log \
43 || die
44 emake || die
45 }
46
47 src_install() {
48 keepdir /var/lib/rskkserv
49 einstall || die
50
51 exeinto /etc/init.d
52 newexe ${FILESDIR}/rskkserv.initd rskkserv || die
53
54 dodoc ChangeLog
55 cd doc
56 dodoc rskkserv.conf.sample
57 newdoc README.old README
58 newman rskkserv.1.in rskkserv.1
59 insinto /usr/share/man/ja/man1
60 newins rskkserv.1.ja_JP.eucJP.in rskkserv.1
61 }
62
63 pkg_postinst() {
64 einfo
65 einfo "If you want to add auxiliary dictionaries (e.g. SKK-JISYO.JIS2,"
66 einfo "SKK-JISYO.jinmei, SKK-JISYO.2ch and so on) you need to emerge"
67 einfo "app-i18n/skk-jisyo-extra and uncomment dictionary entries in"
68 einfo "/etc/rskkserv.conf manually."
69 #einfo "See /usr/share/doc/${PF}/rskkserv.conf.sample.gz"
70 #einfo "for an example of multiple dictionaries."
71 einfo
72 }

  ViewVC Help
Powered by ViewVC 1.1.20