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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sat Jul 2 09:40:50 2005 UTC (9 years, 4 months ago) by usata
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
Version bumped.
(Portage version: 2.0.51.22-r1)

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

  ViewVC Help
Powered by ViewVC 1.1.20