summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-i18n/rskkserv/ChangeLog8
-rw-r--r--app-i18n/rskkserv/Manifest6
-rw-r--r--app-i18n/rskkserv/files/digest-rskkserv-2.94.13-r11
-rw-r--r--app-i18n/rskkserv/files/rskkserv-2.94.13-conf-gentoo.diff86
-rw-r--r--app-i18n/rskkserv/rskkserv-2.94.13-r1.ebuild77
5 files changed, 133 insertions, 45 deletions
diff --git a/app-i18n/rskkserv/ChangeLog b/app-i18n/rskkserv/ChangeLog
index 3b5723505d7f..ba2473e079fc 100644
--- a/app-i18n/rskkserv/ChangeLog
+++ b/app-i18n/rskkserv/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-i18n/rskkserv
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/rskkserv/ChangeLog,v 1.4 2004/03/02 19:27:54 usata Exp $
+
+*rskkserv-2.94.13-r1 (03 Mar 2004)
+
+ 03 Mar 2004; Mamoru KOMACHI <usata@gentoo.org> rskkserv-2.94.13-r1.ebuild,
+ files/rskkserv-2.94.13-conf-gentoo.diff:
+ Fixed sample config directory.
*rskkserv-2.94.13 (18 Feb 2004)
diff --git a/app-i18n/rskkserv/Manifest b/app-i18n/rskkserv/Manifest
index eaa5f3018528..cab17589e19a 100644
--- a/app-i18n/rskkserv/Manifest
+++ b/app-i18n/rskkserv/Manifest
@@ -1,11 +1,13 @@
MD5 1823691e8993f56f5fb73da8153deffb rskkserv-2.94.13.ebuild 1802
MD5 70c8a439d2cb23a5cdf9174b3f1e6592 rskkserv-2.94.12a.ebuild 1675
-MD5 80363627e3d98a550e1363ef81bf3b84 ChangeLog 767
+MD5 5d25d36a962df85be4f996d49533c431 ChangeLog 957
+MD5 ab2099a6514654170e263e4438a7f782 rskkserv-2.94.13-r1.ebuild 1860
MD5 c90dd470dc467aece7b8ac23c8771009 metadata.xml 174
MD5 e74c6484d631a673a0be239e33f048c5 files/rskkserv-2.94.12a-gentoo.diff 1203
MD5 66e1b2204668b263930a40639c60dac7 files/digest-rskkserv-2.94.13 68
MD5 65b409a9845739f6090df2187be7475d files/digest-rskkserv-2.94.12a 68
MD5 e805fe9ed94738bc30821d21c284a134 files/rskkserv.initd 684
MD5 1c7ed82f046fc5cc7b8c8682b2f7ccae files/rskkserv-skk-jisyo-extra.diff 1285
-MD5 38bb8303a273c8250d10d83213c3dfff files/rskkserv-2.94.13-conf-gentoo.diff 1394
+MD5 db345ea9205680884d04619ab10d3792 files/rskkserv-2.94.13-conf-gentoo.diff 1595
MD5 cbef41424aca56798bb75696718641b6 files/rskkserv-2.94.13-gentoo.diff 295
+MD5 66e1b2204668b263930a40639c60dac7 files/digest-rskkserv-2.94.13-r1 68
diff --git a/app-i18n/rskkserv/files/digest-rskkserv-2.94.13-r1 b/app-i18n/rskkserv/files/digest-rskkserv-2.94.13-r1
new file mode 100644
index 000000000000..243d0e2d4ea9
--- /dev/null
+++ b/app-i18n/rskkserv/files/digest-rskkserv-2.94.13-r1
@@ -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
index 0c815d3ca68f..66f426d7d448 100644
--- a/app-i18n/rskkserv/files/rskkserv-2.94.13-conf-gentoo.diff
+++ b/app-i18n/rskkserv/files/rskkserv-2.94.13-conf-gentoo.diff
@@ -1,5 +1,5 @@
--- rskkserv.conf.in.orig 2003-04-12 21:35:52.000000000 +0900
-+++ rskkserv.conf.in 2004-02-18 02:58:23.408821560 +0900
++++ rskkserv.conf.in 2004-03-03 02:36:21.351996072 +0900
@@ -1,6 +1,7 @@
# rskkserv.conf --- rskkserv configuration file -*- ruby -*-
@@ -8,62 +8,64 @@
PORT = 1178
MAX_CLIENTS = 32
-@@ -17,6 +18,58 @@
+@@ -16,7 +17,59 @@
+ CACHEDIR = "@cachedir@"
NOCACHE = false
KCODE = :eucjp
- end
+- end
+
-+# module JIS2
-+# DICFILE = "@datadir@/skk/SKK-JISYO.JIS2"
-+# end
++# module JIS2
++# DICFILE = "@datadir@/skk/SKK-JISYO.JIS2"
++# end
+
-+# module JIS3_4
-+# DICFILE = "@datadir@/skk/SKK-JISYO.JIS3_4"
-+# end
++# module JIS3_4
++# DICFILE = "@datadir@/skk/SKK-JISYO.JIS3_4"
++# end
+
-+# module OMAEMONA_2CH
-+# DICFILE = "@datadir@/skk/SKK-JISYO.2ch"
-+# end
++# module PUBDICPlus
++# DICFILE = "@datadir@/skk/SKK-JISYO.pubdic+"
++# end
+
-+# module ASSOC
-+# DICFILE = "@datadir@/skk/SKK-JISYO.assoc"
-+# end
++# module ZIPCODE
++# DICFILE = "@datadir@/skk/SKK-JISYO.zipcode"
++# end
+
-+# module EDICT
-+# DICFILE = "@datadir@/skk/SKK-JISYO.edict"
-+# end
++# module OFFICE_ZIPCODE
++# DICFILE = "@datadir@/skk/SKK-JISYO.office.zipcode"
++# end
+
-+# module FUKUGO
-+# DICFILE = "@datadir@/skk/SKK-JISYO.fukugo"
-+# end
++# module OMAEMONA_2CH
++# DICFILE = "@datadir@/skk/SKK-JISYO.2ch"
++# end
+
-+# module GEO
-+# DICFILE = "@datadir@/skk/SKK-JISYO.geo"
-+# end
++# module ASSOC
++# DICFILE = "@datadir@/skk/SKK-JISYO.assoc"
++# end
+
-+# module JINMEI
-+# DICFILE = "@datadir@/skk/SKK-JISYO.jinmei"
-+# end
++# module EDICT
++# DICFILE = "@datadir@/skk/SKK-JISYO.edict"
++# end
+
-+# module LAW
-+# DICFILE = "@datadir@/skk/SKK-JISYO.law"
-+# end
++# module FUKUGO
++# DICFILE = "@datadir@/skk/SKK-JISYO.fukugo"
++# end
+
-+# module MAZEGAKI
-+# DICFILE = "@datadir@/skk/SKK-JISYO.mazegaki"
-+# end
++# module GEO
++# DICFILE = "@datadir@/skk/SKK-JISYO.geo"
++# end
+
-+# module PUBDICPlus
-+# DICFILE = "@datadir@/skk/SKK-JISYO.pubdic+"
-+# end
++# module JINMEI
++# DICFILE = "@datadir@/skk/SKK-JISYO.jinmei"
++# end
+
-+# module ZIPCODE
-+# DICFILE = "@datadir@/skk/SKK-JISYO.zipcode"
-+# end
++# module LAW
++# DICFILE = "@datadir@/skk/SKK-JISYO.law"
++# end
+
-+# module OFFICE_ZIPCODE
-+# DICFILE = "@datadir@/skk/SKK-JISYO.office.zipcode"
-+# end
++# module MAZEGAKI
++# DICFILE = "@datadir@/skk/SKK-JISYO.mazegaki"
++# end
++ end # SKKDic
end
# rskkserv.conf ends here
diff --git a/app-i18n/rskkserv/rskkserv-2.94.13-r1.ebuild b/app-i18n/rskkserv/rskkserv-2.94.13-r1.ebuild
new file mode 100644
index 000000000000..b80ad06794a7
--- /dev/null
+++ b/app-i18n/rskkserv/rskkserv-2.94.13-r1.ebuild
@@ -0,0 +1,77 @@
+# 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-r1.ebuild,v 1.1 2004/03/02 19:27:54 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%@datadir@%/usr/share%g" rskkserv.conf.in
+ 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
+}