summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-02-17 19:59:18 +0000
committerMamoru Komachi <usata@gentoo.org>2004-02-17 19:59:18 +0000
commitf1001f82c99436f7ce97f0d372a59e577d31fc29 (patch)
tree76d1c302fbc6473c40968675c6e72dca91c4353b /app-i18n
parentadd ~alpha for the sake of dev-python/Imaging-py21 (Manifest recommit) (diff)
downloadgentoo-2-f1001f82c99436f7ce97f0d372a59e577d31fc29.tar.gz
gentoo-2-f1001f82c99436f7ce97f0d372a59e577d31fc29.tar.bz2
gentoo-2-f1001f82c99436f7ce97f0d372a59e577d31fc29.zip
Version bumped. Adopted ruby.eclass.
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/rskkserv/ChangeLog10
-rw-r--r--app-i18n/rskkserv/Manifest2
-rw-r--r--app-i18n/rskkserv/files/digest-rskkserv-2.94.131
-rw-r--r--app-i18n/rskkserv/files/rskkserv-2.94.13-conf-gentoo.diff69
-rw-r--r--app-i18n/rskkserv/files/rskkserv-2.94.13-gentoo.diff11
-rw-r--r--app-i18n/rskkserv/rskkserv-2.94.13.ebuild76
6 files changed, 167 insertions, 2 deletions
diff --git a/app-i18n/rskkserv/ChangeLog b/app-i18n/rskkserv/ChangeLog
index f89e138142df..3b5723505d7f 100644
--- a/app-i18n/rskkserv/ChangeLog
+++ b/app-i18n/rskkserv/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-i18n/rskkserv
-# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/rskkserv/ChangeLog,v 1.2 2003/10/16 17:05:34 usata Exp $
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/rskkserv/ChangeLog,v 1.3 2004/02/17 19:59:18 usata Exp $
+
+*rskkserv-2.94.13 (18 Feb 2004)
+
+ 18 Feb 2004; Mamoru KOMACHI <usata@gentoo.org> rskkserv-2.94.13.ebuild,
+ files/rskkserv-2.94.13-conf-gentoo.diff, files/rskkserv-2.94.13-gentoo.diff:
+ Version bumped. Adopted ruby.eclass.
*rskkserv-2.94.12a (20 Sep 2003)
diff --git a/app-i18n/rskkserv/Manifest b/app-i18n/rskkserv/Manifest
index b7431701b75c..f9b49ffdd2ae 100644
--- a/app-i18n/rskkserv/Manifest
+++ b/app-i18n/rskkserv/Manifest
@@ -1,7 +1,9 @@
MD5 70c8a439d2cb23a5cdf9174b3f1e6592 rskkserv-2.94.12a.ebuild 1675
MD5 c90dd470dc467aece7b8ac23c8771009 metadata.xml 174
MD5 bda09bad108b07b49922768af4e888d8 ChangeLog 541
+MD5 53c9f6b7e95371cb4e9a55472ddea9c3 rskkserv-2.94.13.ebuild 1676
MD5 e805fe9ed94738bc30821d21c284a134 files/rskkserv.initd 684
MD5 e74c6484d631a673a0be239e33f048c5 files/rskkserv-2.94.12a-gentoo.diff 1203
MD5 1c7ed82f046fc5cc7b8c8682b2f7ccae files/rskkserv-skk-jisyo-extra.diff 1285
MD5 65b409a9845739f6090df2187be7475d files/digest-rskkserv-2.94.12a 68
+MD5 66e1b2204668b263930a40639c60dac7 files/digest-rskkserv-2.94.13 68
diff --git a/app-i18n/rskkserv/files/digest-rskkserv-2.94.13 b/app-i18n/rskkserv/files/digest-rskkserv-2.94.13
new file mode 100644
index 000000000000..243d0e2d4ea9
--- /dev/null
+++ b/app-i18n/rskkserv/files/digest-rskkserv-2.94.13
@@ -0,0 +1 @@
+MD5 1a78835f66c85d27e88596d6ed03bd93 rskkserv-2.94.13.tar.gz 467983
diff --git a/app-i18n/rskkserv/files/rskkserv-2.94.13-conf-gentoo.diff b/app-i18n/rskkserv/files/rskkserv-2.94.13-conf-gentoo.diff
new file mode 100644
index 000000000000..0c815d3ca68f
--- /dev/null
+++ b/app-i18n/rskkserv/files/rskkserv-2.94.13-conf-gentoo.diff
@@ -0,0 +1,69 @@
+--- rskkserv.conf.in.orig 2003-04-12 21:35:52.000000000 +0900
++++ rskkserv.conf.in 2004-02-18 02:58:23.408821560 +0900
+@@ -1,6 +1,7 @@
+ # rskkserv.conf --- rskkserv configuration file -*- ruby -*-
+
+ module SKKServerConfig
++ HOST = "localhost"
+ PORT = 1178
+ MAX_CLIENTS = 32
+
+@@ -17,6 +18,58 @@
+ NOCACHE = false
+ KCODE = :eucjp
+ end
++
++# module JIS2
++# DICFILE = "@datadir@/skk/SKK-JISYO.JIS2"
++# end
++
++# module JIS3_4
++# DICFILE = "@datadir@/skk/SKK-JISYO.JIS3_4"
++# end
++
++# module OMAEMONA_2CH
++# DICFILE = "@datadir@/skk/SKK-JISYO.2ch"
++# end
++
++# module ASSOC
++# DICFILE = "@datadir@/skk/SKK-JISYO.assoc"
++# end
++
++# module EDICT
++# DICFILE = "@datadir@/skk/SKK-JISYO.edict"
++# end
++
++# module FUKUGO
++# DICFILE = "@datadir@/skk/SKK-JISYO.fukugo"
++# end
++
++# module GEO
++# DICFILE = "@datadir@/skk/SKK-JISYO.geo"
++# end
++
++# module JINMEI
++# DICFILE = "@datadir@/skk/SKK-JISYO.jinmei"
++# end
++
++# module LAW
++# DICFILE = "@datadir@/skk/SKK-JISYO.law"
++# end
++
++# module MAZEGAKI
++# DICFILE = "@datadir@/skk/SKK-JISYO.mazegaki"
++# end
++
++# module PUBDICPlus
++# DICFILE = "@datadir@/skk/SKK-JISYO.pubdic+"
++# end
++
++# module ZIPCODE
++# DICFILE = "@datadir@/skk/SKK-JISYO.zipcode"
++# end
++
++# module OFFICE_ZIPCODE
++# DICFILE = "@datadir@/skk/SKK-JISYO.office.zipcode"
++# end
+ end
+
+ # rskkserv.conf ends here
diff --git a/app-i18n/rskkserv/files/rskkserv-2.94.13-gentoo.diff b/app-i18n/rskkserv/files/rskkserv-2.94.13-gentoo.diff
new file mode 100644
index 000000000000..bc704052535a
--- /dev/null
+++ b/app-i18n/rskkserv/files/rskkserv-2.94.13-gentoo.diff
@@ -0,0 +1,11 @@
+--- skkserv.rb.in.orig 2003-09-24 23:05:05.000000000 +0900
++++ skkserv.rb.in 2004-02-18 03:04:48.048347464 +0900
+@@ -392,7 +392,7 @@
+ def each_module
+ constants.reverse_each do |s|
+ m = const_get(s)
+- next if m.type != Module
++ next if m.class != Module
+ yield m
+ end
+ end
diff --git a/app-i18n/rskkserv/rskkserv-2.94.13.ebuild b/app-i18n/rskkserv/rskkserv-2.94.13.ebuild
new file mode 100644
index 000000000000..d4da46d4eb6c
--- /dev/null
+++ b/app-i18n/rskkserv/rskkserv-2.94.13.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/rskkserv/rskkserv-2.94.13.ebuild,v 1.1 2004/02/17 19:59:18 usata Exp $
+
+IUSE=""
+
+inherit ruby
+
+DESCRIPTION="rskkserv is an alternative version of skkserv implemented by Ruby"
+HOMEPAGE="http://raa.ruby-lang.org/list.rhtml?name=rskkserv"
+SRC_URI="http://www.unixuser.org/~ysjj/rskkserv/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND="dev-lang/ruby
+ dev-ruby/ruby-tcpwrap"
+RDEPEND="${DEPEND}
+ app-i18n/skk-jisyo"
+PROVIDE="virtual/skkserv"
+USE_RUBY="ruby16 ruby18 ruby19"
+
+S=${WORKDIR}/${PN}-cvs
+
+src_unpack() {
+
+ unpack ${P}.tar.gz
+
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo.diff
+ epatch ${FILESDIR}/${P}-conf-gentoo.diff
+
+ sed -i -e "s%with_RUBY%with_ruby%g" configure
+ sed -i -e "s%@VERSION@%${PV}%g" doc/*.in
+}
+
+src_compile() {
+
+ EXTRA_ECONF="--with-dicfile=/usr/share/skk/SKK-JISYO.L
+ --with-cachedir=/var/lib/rskkserv
+ --with-piddir=/var/run
+ --with-logdir=/var/log"
+
+ econf || die
+ emake || die
+}
+
+src_install() {
+
+ keepdir /var/lib/rskkserv
+ einstall || die
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/rskkserv.initd rskkserv || die
+
+ dodoc ChangeLog
+ cd doc
+ dodoc rskkserv.conf.sample
+ newdoc README.old README
+ newman rskkserv.1.in rskkserv.1
+ insinto /usr/share/man/ja/man1
+ newins rskkserv.1.ja_JP.eucJP.in rskkserv.1
+}
+
+pkg_postinst() {
+
+ einfo
+ einfo "If you want to add auxiliary dictionaries (e.g. SKK-JISYO.JIS2,"
+ einfo "SKK-JISYO.jinmei, SKK-JISYO.2ch and so on) you need to emerge"
+ einfo "app-i18n/skk-jisyo-extra and uncomment dictionary entries in"
+ einfo "/etc/rskkserv.conf manually."
+ #einfo "See /usr/share/doc/${PF}/rskkserv.conf.sample.gz"
+ #einfo "for an example of multiple dictionaries."
+ einfo
+}