summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2003-09-10 20:33:24 +0000
committerMamoru Komachi <usata@gentoo.org>2003-09-10 20:33:24 +0000
commite1f9646351f6d0e80825aaa8bef77c5312d84988 (patch)
tree1bac183581fad966bb8b4089a98bd9c2d943abd1 /net-www/gorua
parentChanged app-games/bub-n-bros to games-arcade/bub-n-bros (diff)
downloadhistorical-e1f9646351f6d0e80825aaa8bef77c5312d84988.tar.gz
historical-e1f9646351f6d0e80825aaa8bef77c5312d84988.tar.bz2
historical-e1f9646351f6d0e80825aaa8bef77c5312d84988.zip
new ebuild
Diffstat (limited to 'net-www/gorua')
-rw-r--r--net-www/gorua/Manifest5
-rw-r--r--net-www/gorua/files/bookmarks_sample16
-rw-r--r--net-www/gorua/files/digest-gorua-0.161
-rw-r--r--net-www/gorua/files/goRua.sh8
-rw-r--r--net-www/gorua/files/gorua-bbsmenu-update-gentoo.diff11
-rw-r--r--net-www/gorua/gorua-0.16.ebuild63
-rw-r--r--net-www/gorua/metadata.xml10
7 files changed, 113 insertions, 1 deletions
diff --git a/net-www/gorua/Manifest b/net-www/gorua/Manifest
index 17dbf3fa63c4..820b370e3680 100644
--- a/net-www/gorua/Manifest
+++ b/net-www/gorua/Manifest
@@ -1,4 +1,7 @@
-MD5 df836ecacbcd444f1322d9767cb3a2d5 gorua-0.16.ebuild 1560
+MD5 51d331921a5cbcb9f2e3c1ad1330884e gorua-0.16.ebuild 1613
+MD5 8afe4eded45a484580ce855f24ffea2e metadata.xml 265
+MD5 7239e5bbaee7737edef8cc9f3e7a09cb ChangeLog 404
MD5 27cb10e27c5dd9b9e8d1a15ecb172745 files/goRua.sh 115
MD5 53b8638851a014644ff509a1059b27a2 files/gorua-bbsmenu-update-gentoo.diff 372
MD5 73ea25f0872db7674096178985e51955 files/digest-gorua-0.16 62
+MD5 bfe1d9fe7c9716c6a097d8680b57138b files/bookmarks_sample 906
diff --git a/net-www/gorua/files/bookmarks_sample b/net-www/gorua/files/bookmarks_sample
new file mode 100644
index 000000000000..28c21eea31af
--- /dev/null
+++ b/net-www/gorua/files/bookmarks_sample
@@ -0,0 +1,16 @@
+# boardのbookmark例
+C お気に入り
+A http://pc.2ch.net/unix/ UNIX
+A http://pc.2ch.net/linux/ Linux
+# Threadのbookmark例
+D お気に入りのThread
+S http://pc.2ch.net/linux/dat/1047823838.dat Gentoo Linux 4
+S http://pc.2ch.net/unix/dat/1008120213.dat goRua(Ruby/Gtkによる2chブラウザ)ってどうよ
+S http://pc.2ch.net/unix/dat/1044900143.dat C.i. for 2ch
+S http://pc.2ch.net/linux/dat/1022744633.dat おいお前ら!GTK+使ってLinux版かちゅーしゃ作れや
+S http://pc.2ch.net/linux/dat/1044149677.dat お勧め2ちゃんねるブラウザforLinux
+S http://pc.2ch.net/unix/dat/1043510520.dat モナーフォント 2
+S http://pc.2ch.net/linux/dat/1033193724.dat Anthyスレッド
+S http://pc.2ch.net/unix/dat/1059709039.dat ★だよもんスレだよもんだよもんだよもんだよもん★
+#S http://pc.2ch.net/linux/dat/1011982036.dat ▼2chでディストリビューションを作ろう!Part2
+#S http://pc.2ch.net/unix/dat/1019623590.dat 2ちゃんねるAAアニメーションソフト"Gikot"
diff --git a/net-www/gorua/files/digest-gorua-0.16 b/net-www/gorua/files/digest-gorua-0.16
new file mode 100644
index 000000000000..f836f7dfff82
--- /dev/null
+++ b/net-www/gorua/files/digest-gorua-0.16
@@ -0,0 +1 @@
+MD5 ebb33a785bb32771c65e7b29384e8ad6 goRua-0.16.tar.bz2 53718
diff --git a/net-www/gorua/files/goRua.sh b/net-www/gorua/files/goRua.sh
new file mode 100644
index 000000000000..65fa3f55672e
--- /dev/null
+++ b/net-www/gorua/files/goRua.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+GORUA_DATADIR=%%GORUA_DATADIR%%
+
+cd ${GORUA_DATADIR} ; make update > /dev/null 2>&1
+cd -
+
+exec goRua.rb
diff --git a/net-www/gorua/files/gorua-bbsmenu-update-gentoo.diff b/net-www/gorua/files/gorua-bbsmenu-update-gentoo.diff
new file mode 100644
index 000000000000..38e9ddd81ff0
--- /dev/null
+++ b/net-www/gorua/files/gorua-bbsmenu-update-gentoo.diff
@@ -0,0 +1,11 @@
+diff -urN goRua-0.16.ORIG/new_2ch_bbsmenu.rb goRua-0.16/new_2ch_bbsmenu.rb
+--- goRua-0.16.ORIG/new_2ch_bbsmenu.rb 2002-11-22 21:32:17.000000000 +0900
++++ goRua-0.16/new_2ch_bbsmenu.rb 2003-08-23 19:47:59.000000000 +0900
+@@ -9,6 +9,7 @@
+ include GetBoardInfo2ch
+
+ BASE_DIR = ENV['HOME']+ '/.goRua_2ch/'
++GORUA_DATADIR = %%GORUA_DATADIR%%
+
+ config = BASE_DIR + "config"
+
diff --git a/net-www/gorua/gorua-0.16.ebuild b/net-www/gorua/gorua-0.16.ebuild
new file mode 100644
index 000000000000..35a3706f203e
--- /dev/null
+++ b/net-www/gorua/gorua-0.16.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/gorua/gorua-0.16.ebuild,v 1.1 2003/09/10 20:33:20 usata Exp $
+
+inherit eutils
+
+IUSE=""
+
+MY_P=${P/gorua/goRua}
+
+DESCRIPTION="goRua -- Gtk+ on Ruby User Agent for 2ch"
+HOMEPAGE="http://www.unixuser.org/~haruyama/software/goRua/"
+SRC_URI="http://www.unixuser.org/~haruyama/software/goRua/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~alpha ~ppc ~sparc"
+
+DEPEND="dev-lang/ruby
+ sys-apps/sed"
+DEPEND="dev-lang/ruby
+ =x11-libs/gtk+-1.2*
+ >=dev-ruby/ruby-gtk-0.28
+ media-fonts/monafont
+ >=dev-ruby/ruby-zlib-0.5.1"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+
+ unpack ${A}
+ epatch ${FILESDIR}/gorua-bbsmenu-update-gentoo.diff
+}
+
+src_compile() {
+
+ sed -e "s|%%GORUA_DATADIR%%|\"/usr/share/${PF}\"|" \
+ ${FILESDIR}/goRua.sh > ${T}/goRua
+ sed -e "s|%%GORUA_DATADIR%%|\"/usr/share/${PF}\"|" \
+ new_2ch_bbsmenu.rb > ${T}/new_2ch_bbsmenu.rb
+ sed -e "s|/usr/share/goRua|\"/usr/share/${PF}/dot.goRua_2ch\"|" \
+ goRua.rb > ${T}/goRua.rb
+}
+
+src_install() {
+
+ local sitelibdir=`ruby -r rbconfig -e 'print Config::CONFIG["sitelibdir"]'`
+ exeinto /usr/bin
+ doexe ${T}/goRua.rb ${T}/goRua
+
+ insinto ${sitelibdir}
+ doins connect2ch.rb goRua_color_table.rb
+
+ exeinto /usr/share/${PF}
+ doexe goRua_url_updator.rb goRua_bookmarks_translator.rb \
+ goRua_cache_clean.rb ${T}/new_2ch_bbsmenu.rb
+ insinto /usr/share/${PF}
+ doins Makefile
+ cp ${FILESDIR}/bookmarks_sample .goRua_2ch/bookmarks
+ cp -r .goRua_2ch ${D}/usr/share/${PF}/dot.goRua_2ch
+
+ dodoc ChangeLog README
+}
diff --git a/net-www/gorua/metadata.xml b/net-www/gorua/metadata.xml
new file mode 100644
index 000000000000..2e0485b05a81
--- /dev/null
+++ b/net-www/gorua/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>cjk</herd>
+<herd>ruby</herd>
+<maintainer>
+ <email>usata@gentoo.org</email>
+ <name>Mamoru KOMACHI</name>
+</maintainer>
+</pkgmetadata>