aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/gorua
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2002-01-29 23:34:26 +0800
committernobutaka <nobutaka@FreeBSD.org>2002-01-29 23:34:26 +0800
commitddb020909fdf33c868e5b4c20169cd2404987c3c (patch)
treec0178a33a5e51b3422bda0d2d13c3578dacc7342 /japanese/gorua
parent326be2cb184bd85e1572e01bea94ccb49b6a38eb (diff)
downloadfreebsd-ports-gnome-ddb020909fdf33c868e5b4c20169cd2404987c3c.tar.gz
freebsd-ports-gnome-ddb020909fdf33c868e5b4c20169cd2404987c3c.tar.zst
freebsd-ports-gnome-ddb020909fdf33c868e5b4c20169cd2404987c3c.zip
Add gorua, Gtk+ on Ruby User Agent for 2ch BBS.
Diffstat (limited to 'japanese/gorua')
-rw-r--r--japanese/gorua/Makefile48
-rw-r--r--japanese/gorua/distinfo1
-rw-r--r--japanese/gorua/files/patch-goRua.rb8
-rw-r--r--japanese/gorua/files/patch-new_2ch_bbsmenu.rb8
-rw-r--r--japanese/gorua/pkg-comment1
-rw-r--r--japanese/gorua/pkg-descr6
-rw-r--r--japanese/gorua/pkg-message4
-rw-r--r--japanese/gorua/pkg-plist9
8 files changed, 85 insertions, 0 deletions
diff --git a/japanese/gorua/Makefile b/japanese/gorua/Makefile
new file mode 100644
index 000000000000..4e9e23bc87d1
--- /dev/null
+++ b/japanese/gorua/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: goRua
+# Date created: 12 December 2001
+# Whom: MANTANI Nobutaka <nobutaka@nobutaka.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gorua
+PORTVERSION= 0.11d
+CATEGORIES= japanese
+MASTER_SITES= http://www.unixuser.org/~haruyama/software/goRua/
+DISTNAME= goRua-${PORTVERSION}
+
+MAINTAINER= nobutaka@FreeBSD.org
+
+RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk.so:${PORTSDIR}/x11-toolkits/ruby-gtk \
+ ${RUBY_SITEARCHLIBDIR}/zlib.so:${PORTSDIR}/archivers/ruby-zlib \
+ ${X11BASE}/lib/X11/fonts/local/mona6x12a.pcf.gz:${PORTSDIR}/japanese/monafonts
+
+USE_BZIP2= yes
+USE_RUBY= yes
+
+NO_BUILD= yes
+
+do-configure:
+ ${SED} -e "s,%%RUBY_WITHOUT_SUFFIX%%,${RUBY_WITHOUT_SUFFIX}," < ${WRKSRC}/new_2ch_bbsmenu.rb > ${WRKSRC}/new_2ch_bbsmenu.rb.tmp
+ ${SED} -e "s,%%RUBY_WITHOUT_SUFFIX%%,${RUBY_WITHOUT_SUFFIX}," < ${WRKSRC}/goRua.rb > ${WRKSRC}/goRua.rb.tmp
+ ${MV} ${WRKSRC}/new_2ch_bbsmenu.rb.tmp ${WRKSRC}/new_2ch_bbsmenu.rb
+ ${MV} ${WRKSRC}/goRua.rb.tmp ${WRKSRC}/goRua.rb
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/goRua.rb ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/new_2ch_bbsmenu.rb ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/connect2ch.rb ${RUBY_SITELIBDIR}
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/ja/goRua
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ja/goRua
+.endif
+ ${MKDIR} ${PREFIX}/share/examples/goRua/dot.goRua_2ch
+ ${MKDIR} ${PREFIX}/share/examples/goRua/dot.goRua_2ch
+ ${MKDIR} ${PREFIX}/share/examples/goRua/dot.goRua_2ch/subject
+ ${MKDIR} ${PREFIX}/share/examples/goRua/dot.goRua_2ch/thread
+ ${INSTALL_DATA} ${WRKSRC}/.goRua_2ch/board_info ${PREFIX}/share/examples/goRua/dot.goRua_2ch
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/japanese/gorua/distinfo b/japanese/gorua/distinfo
new file mode 100644
index 000000000000..88449f1b88e5
--- /dev/null
+++ b/japanese/gorua/distinfo
@@ -0,0 +1 @@
+MD5 (goRua-0.11d.tar.bz2) = 59be9d3e535ae8cee38742fc8da928c6
diff --git a/japanese/gorua/files/patch-goRua.rb b/japanese/gorua/files/patch-goRua.rb
new file mode 100644
index 000000000000..21c9220a6d70
--- /dev/null
+++ b/japanese/gorua/files/patch-goRua.rb
@@ -0,0 +1,8 @@
+--- goRua.rb.orig Mon Jan 28 12:27:32 2002
++++ goRua.rb Mon Jan 28 20:07:13 2002
+@@ -1,4 +1,4 @@
+-#!/usr/bin/ruby -Ke
++#!%%RUBY_WITHOUT_SUFFIX%% -Ke
+ # goRua -- Gtk+ on Ruby User Agent for 2ch version 0.11d
+ # 春山 征吾 haruyama@unixuser.org
+ # $Id: goRua.rb,v 1.45 2002/01/28 03:27:32 haruyama Exp $
diff --git a/japanese/gorua/files/patch-new_2ch_bbsmenu.rb b/japanese/gorua/files/patch-new_2ch_bbsmenu.rb
new file mode 100644
index 000000000000..ab47a7d9864a
--- /dev/null
+++ b/japanese/gorua/files/patch-new_2ch_bbsmenu.rb
@@ -0,0 +1,8 @@
+--- new_2ch_bbsmenu.rb.orig Tue Jan 22 15:03:21 2002
++++ new_2ch_bbsmenu.rb Mon Jan 28 20:07:13 2002
+@@ -1,4 +1,4 @@
+-#!/usr/bin/ruby -Ke
++#!%%RUBY_WITHOUT_SUFFIX%% -Ke
+ # Thanks:: >>63
+ # $Id: new_2ch_bbsmenu.rb,v 1.2 2002/01/22 06:03:21 haruyama Exp $
+ # このファイルはGPLで配付されています.
diff --git a/japanese/gorua/pkg-comment b/japanese/gorua/pkg-comment
new file mode 100644
index 000000000000..e590948c9982
--- /dev/null
+++ b/japanese/gorua/pkg-comment
@@ -0,0 +1 @@
+Gtk+ on Ruby User Agent for 2ch BBS
diff --git a/japanese/gorua/pkg-descr b/japanese/gorua/pkg-descr
new file mode 100644
index 000000000000..59bfa4161e8b
--- /dev/null
+++ b/japanese/gorua/pkg-descr
@@ -0,0 +1,6 @@
+Gtk+ on Ruby User Agent for 2ch BBS
+
+WWW: http://www.unixuser.org/~haruyama/software/goRua/
+
+--
+MANTANI Nobutaka <nobutaka@FreeBSD.org>
diff --git a/japanese/gorua/pkg-message b/japanese/gorua/pkg-message
new file mode 100644
index 000000000000..aeec39698c9c
--- /dev/null
+++ b/japanese/gorua/pkg-message
@@ -0,0 +1,4 @@
+*****************************************************************
+* Before using goRua, please copy *
+* ${PREFIX}/share/examples/goRua/dot.goRua_2ch to ~/.goRua_2ch. *
+*****************************************************************
diff --git a/japanese/gorua/pkg-plist b/japanese/gorua/pkg-plist
new file mode 100644
index 000000000000..1c35aeff7a87
--- /dev/null
+++ b/japanese/gorua/pkg-plist
@@ -0,0 +1,9 @@
+bin/goRua.rb
+bin/new_2ch_bbsmenu.rb
+%%RUBY_SITELIBDIR%%/connect2ch.rb
+%%PORTDOCS%%share/doc/ja/goRua/README
+share/examples/goRua/dot.goRua_2ch/board_info
+%%PORTDOCS%%@dirrm share/doc/ja/goRua
+@dirrm share/examples/goRua/dot.goRua_2ch/subject
+@dirrm share/examples/goRua/dot.goRua_2ch/thread
+@dirrm share/examples/goRua/dot.goRua_2ch