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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Wed Jul 1 23:04:43 2009 UTC (5 years, 4 months ago) by matsuu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
fixed elog messages, bug #272900.
(Portage version: 2.1.6.13/cvs/Linux x86_64)

1 # Copyright 1999-2007 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.95.3.ebuild,v 1.6 2007/04/28 17:58:45 swegener 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 src_unpack() {
23 unpack ${P}.tar.gz
24
25 cd ${S}
26
27 #sed -i -e "s%with_RUBY%with_ruby%g" configure
28 #sed -i -e "s%@datadir@%/usr/share%g" rskkserv.conf.in
29 #sed -i -e "s%@VERSION@%${PV}%g" doc/*.in
30 }
31
32 src_compile() {
33 econf \
34 --with-dicfile=/usr/share/skk/SKK-JISYO.L \
35 --with-cachedir=/var/lib/rskkserv \
36 --with-piddir=/var/run \
37 --with-logdir=/var/log \
38 || die
39 emake || die
40 }
41
42 src_install() {
43 keepdir /var/lib/rskkserv
44 emake -j1 DESTDIR="${D}" install || die "emake install failed"
45
46 newinitd ${FILESDIR}/rskkserv.initd rskkserv || die
47
48 dodoc ChangeLog
49 cd doc
50 dodoc rskkserv.conf.sample
51 newdoc README.old README
52 newman rskkserv.1.in rskkserv.1
53 insinto /usr/share/man/ja/man1
54 newins rskkserv.1.ja_JP.eucJP.in rskkserv.1
55 }
56
57 pkg_postinst() {
58 elog
59 elog "If you want to add auxiliary dictionaries (e.g. SKK-JISYO.JIS2,"
60 elog "SKK-JISYO.jinmei, SKK-JISYO.2ch and so on) you need to emerge"
61 elog "app-i18n/skk-jisyo-extra and uncomment dictionary entries in"
62 elog "/etc/rskkserv.conf manually."
63 #elog "See /usr/share/doc/${PF}/rskkserv.conf.sample.gz"
64 #elog "for an example of multiple dictionaries."
65 elog
66 }

  ViewVC Help
Powered by ViewVC 1.1.20