summaryrefslogtreecommitdiff
path: root/sysutils/xwatch
diff options
context:
space:
mode:
authorMatthew Hunt <mph@FreeBSD.org>1998-07-17 17:41:20 +0000
committerMatthew Hunt <mph@FreeBSD.org>1998-07-17 17:41:20 +0000
commit6721ad7602e0511fc006731f9ef81703e0a82e2a (patch)
tree0852e0527e1999b43d708ba97ea889c27193881f /sysutils/xwatch
parentUpgrade to 1.1.16. (diff)
Import of xwatch, a Gtk-based program for watching log files, a
la "tail -f".
Notes
Notes: svn path=/head/; revision=11935
Diffstat (limited to 'sysutils/xwatch')
-rw-r--r--sysutils/xwatch/Makefile27
-rw-r--r--sysutils/xwatch/distinfo1
-rw-r--r--sysutils/xwatch/files/patch-aa20
-rw-r--r--sysutils/xwatch/pkg-comment1
-rw-r--r--sysutils/xwatch/pkg-descr4
-rw-r--r--sysutils/xwatch/pkg-plist5
6 files changed, 58 insertions, 0 deletions
diff --git a/sysutils/xwatch/Makefile b/sysutils/xwatch/Makefile
new file mode 100644
index 000000000000..342f4db86e22
--- /dev/null
+++ b/sysutils/xwatch/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: xwatch
+# Version required: 0.1.0
+# Date created: 17 July 1998
+# Whom: mph
+#
+# $Id$
+#
+
+DISTNAME= xwatch-0.1.0
+CATEGORIES= sysutils
+MASTER_SITES= http://hem.passagen.se/osk/
+
+MAINTAINER= mph@freebsd.org
+
+LIB_DEPENDS= gtk\\.1:${PORTSDIR}/x11/gtk
+
+GNU_CONFIGURE= yes
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/xwatch
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xwatch
+ ${INSTALL_DATA} ${WRKSRC}/doc/TODO ${PREFIX}/share/doc/xwatch
+ ${INSTALL_DATA} ${WRKSRC}/doc/xwatch.test.conf ${PREFIX}/share/doc/xwatch
+.endif
+
+.include <bsd.port.mk>
diff --git a/sysutils/xwatch/distinfo b/sysutils/xwatch/distinfo
new file mode 100644
index 000000000000..6d7deb3f68ac
--- /dev/null
+++ b/sysutils/xwatch/distinfo
@@ -0,0 +1 @@
+MD5 (xwatch-0.1.0.tar.gz) = c25992f17e25fe0d96605eacd7f4597d
diff --git a/sysutils/xwatch/files/patch-aa b/sysutils/xwatch/files/patch-aa
new file mode 100644
index 000000000000..457c4be3f1d3
--- /dev/null
+++ b/sysutils/xwatch/files/patch-aa
@@ -0,0 +1,20 @@
+--- src/Makefile.in.orig Fri Jul 17 11:25:36 1998
++++ src/Makefile.in Fri Jul 17 11:26:35 1998
+@@ -80,7 +80,7 @@
+
+ DEFS = @DEFS@ -I. -I$(srcdir) -I..
+ CPPFLAGS = @CPPFLAGS@
+-LDFLAGS = @LDFLAGS@
++LDFLAGS = @LDFLAGS@ $(GTK_LIBS)
+ LIBS = @LIBS@
+ X_CFLAGS = @X_CFLAGS@
+ X_LIBS = @X_LIBS@
+@@ -89,7 +89,7 @@
+ xwatch_OBJECTS = xwatch.o string.o util.o gui.o
+ xwatch_DEPENDENCIES =
+ xwatch_LDFLAGS =
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ $(GTK_CFLAGS)
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
+ LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
+ DIST_COMMON = Makefile.am Makefile.in
diff --git a/sysutils/xwatch/pkg-comment b/sysutils/xwatch/pkg-comment
new file mode 100644
index 000000000000..7f4e2ab95fcb
--- /dev/null
+++ b/sysutils/xwatch/pkg-comment
@@ -0,0 +1 @@
+A Gtk-based program for watching files (e.g. logs) in a window.
diff --git a/sysutils/xwatch/pkg-descr b/sysutils/xwatch/pkg-descr
new file mode 100644
index 000000000000..aac3db76e592
--- /dev/null
+++ b/sysutils/xwatch/pkg-descr
@@ -0,0 +1,4 @@
+This software allows you to monitor files or pipes in a window. The
+window is updated when the file changes, in the fashion of "tail -f",
+making xwatch well-suited for monitoring system logs, "make" logs, and
+so forth. It uses the Gtk toolkit.
diff --git a/sysutils/xwatch/pkg-plist b/sysutils/xwatch/pkg-plist
new file mode 100644
index 000000000000..b13a1e86e024
--- /dev/null
+++ b/sysutils/xwatch/pkg-plist
@@ -0,0 +1,5 @@
+bin/xwatch
+share/doc/xwatch/README
+share/doc/xwatch/TODO
+share/doc/xwatch/xwatch.test.conf
+@dirrm share/doc/xwatch