/[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.5 - (hide annotations) (download)
Mon Jun 14 07:22:17 2004 UTC (14 years, 2 months ago) by kloeri
Branch: MAIN
Changes since 1.4: +2 -1 lines
QA - Add IUSE.

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

  ViewVC Help
Powered by ViewVC 1.1.20