aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-10-24 19:27:20 +0800
committerknu <knu@FreeBSD.org>2002-10-24 19:27:20 +0800
commit325c1f587ed1b26cff8bae1f116e679c729dbdc1 (patch)
tree6b9a4ed80ed9baa45676d29360e275805f3b5bd7
parentc5337137a4e6f35536db01e490d12e398d18a009 (diff)
downloadfreebsd-ports-gnome-325c1f587ed1b26cff8bae1f116e679c729dbdc1.tar.gz
freebsd-ports-gnome-325c1f587ed1b26cff8bae1f116e679c729dbdc1.tar.zst
freebsd-ports-gnome-325c1f587ed1b26cff8bae1f116e679c729dbdc1.zip
Add rlogview, a Ruby/GTK graphical log viewer for log4r.
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/rlogview/Makefile42
-rw-r--r--sysutils/rlogview/distinfo1
-rw-r--r--sysutils/rlogview/pkg-comment1
-rw-r--r--sysutils/rlogview/pkg-descr7
-rw-r--r--sysutils/rlogview/pkg-plist8
6 files changed, 60 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index a95319ac251e..3f264e1fb5ef 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -176,6 +176,7 @@
SUBDIR += rclean
SUBDIR += rdate
SUBDIR += readlink
+ SUBDIR += rlogview
SUBDIR += rmonitor
SUBDIR += roottail
SUBDIR += rotate
diff --git a/sysutils/rlogview/Makefile b/sysutils/rlogview/Makefile
new file mode 100644
index 000000000000..9fc8c9f1d95f
--- /dev/null
+++ b/sysutils/rlogview/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: rlogview
+# Date created: 15 July 2002
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= rlogview
+PORTVERSION= 0.3
+CATEGORIES= sysutils ruby
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME}-${PORTVERSION}
+EXTRACT_SUFX= .tgz
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+RUN_DEPENDS= ${RUBY_SITELIBDIR}/log4r.rb:${PORTSDIR}/sysutils/ruby-log4r \
+ ${RUBY_SITEARCHLIBDIR}/gtk.so:${PORTSDIR}/x11-toolkits/ruby-gtk \
+ ${RUBY_SITEARCHLIBDIR}/lglade.so:${PORTSDIR}/devel/ruby-libglade \
+ ${RUBY_SITELIBDIR}/drb.rb:${PORTSDIR}/net/ruby-drb
+# ROMP is the alternative method to DRb.
+# ${RUBY_SITELIBDIR}/romp.rb:${PORTSDIR}/net/ruby-romp
+
+USE_RUBY= yes
+
+NO_BUILD= yes
+
+DOCS= Changelog README
+
+do-install:
+ cd ${WRKSRC}; ${RUBY} install.rb --install-dir="${PREFIX}"
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_MODDOCDIR}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/sysutils/rlogview/distinfo b/sysutils/rlogview/distinfo
new file mode 100644
index 000000000000..ca3dc7865e70
--- /dev/null
+++ b/sysutils/rlogview/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/rlogview-0.3.tgz) = f561cbebf021a8320928de021cc49d32
diff --git a/sysutils/rlogview/pkg-comment b/sysutils/rlogview/pkg-comment
new file mode 100644
index 000000000000..b3122b27406a
--- /dev/null
+++ b/sysutils/rlogview/pkg-comment
@@ -0,0 +1 @@
+A Ruby/GTK graphical log viewer for log4r
diff --git a/sysutils/rlogview/pkg-descr b/sysutils/rlogview/pkg-descr
new file mode 100644
index 000000000000..48bbcfa5b7e6
--- /dev/null
+++ b/sysutils/rlogview/pkg-descr
@@ -0,0 +1,7 @@
+This is a Ruby/GTK graphical logviewer for log4r.
+
+rlogview is heavily inspired by chainsaw (http://logui.sourceforge.net/).
+rlogview displays log messages, generated by log4r.
+
+Author: Matthias Veit <veit@yahoo.de>
+WWW: http://sourceforge.net/projects/rlogview/
diff --git a/sysutils/rlogview/pkg-plist b/sysutils/rlogview/pkg-plist
new file mode 100644
index 000000000000..1da82a127ad9
--- /dev/null
+++ b/sysutils/rlogview/pkg-plist
@@ -0,0 +1,8 @@
+bin/rlogview
+share/rlogview/log4rview.glade
+@dirrm share/rlogview
+%%RUBY_SITELIBDIR%%/log4r/outputter/drbviewoutputter.rb
+%%RUBY_SITELIBDIR%%/log4r/outputter/rompviewoutputter.rb
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/Changelog
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%