summaryrefslogtreecommitdiff
path: root/misc/watch
diff options
context:
space:
mode:
authorsimonb <simonb@pkgsrc.org>1999-06-16 01:32:51 +0000
committersimonb <simonb@pkgsrc.org>1999-06-16 01:32:51 +0000
commit02a20ff09ed3c33b22b3b26012a72a3713003477 (patch)
treecc7250bfdb3c500a82f3c40e2e8aaa9ea771a84d /misc/watch
parent9f11159bab2c5b837fa876f39bc047d61bd5fb4d (diff)
downloadpkgsrc-02a20ff09ed3c33b22b3b26012a72a3713003477.tar.gz
watch - watch a program with update intervals.
Originally from comp.sources.unix volume 24, now part of the linux "procps" package.
Diffstat (limited to 'misc/watch')
-rw-r--r--misc/watch/Makefile14
-rw-r--r--misc/watch/files/Makefile10
-rw-r--r--misc/watch/files/md53
-rw-r--r--misc/watch/patches/patch-aa13
-rw-r--r--misc/watch/pkg/COMMENT1
-rw-r--r--misc/watch/pkg/DESCR2
-rw-r--r--misc/watch/pkg/PLIST4
7 files changed, 47 insertions, 0 deletions
diff --git a/misc/watch/Makefile b/misc/watch/Makefile
new file mode 100644
index 00000000000..608238b411f
--- /dev/null
+++ b/misc/watch/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/06/16 01:32:51 simonb Exp $
+#
+
+DISTNAME= procps-2.0.2
+PKGNAME= watch-2.0.2
+CATEGORIES= misc
+MASTER_SITES= ftp://ftp.slackware.org/pub/linux/slackware/source/a/procps/ \
+ ${MASTER_SITE_SUNSITE:=slackware/source/a/procps/}
+
+MAINTAINER= simonb@netbsd.org
+
+MAKEFILE= ${FILESDIR}/Makefile
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/watch/files/Makefile b/misc/watch/files/Makefile
new file mode 100644
index 00000000000..3377071b93c
--- /dev/null
+++ b/misc/watch/files/Makefile
@@ -0,0 +1,10 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/06/16 01:32:51 simonb Exp $
+
+PROG= watch
+LDADD+= -lcurses
+DPADD+= ${LIBCURSES}
+
+BINDIR= ${PREFIX}/bin
+MANDIR= ${PREFIX}/man
+
+.include <bsd.prog.mk>
diff --git a/misc/watch/files/md5 b/misc/watch/files/md5
new file mode 100644
index 00000000000..dfbb2b69c1a
--- /dev/null
+++ b/misc/watch/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/06/16 01:32:51 simonb Exp $
+
+MD5 (procps-2.0.2.tar.gz) = 57bedbb5c3eaf1b4d8700059886f9d2d
diff --git a/misc/watch/patches/patch-aa b/misc/watch/patches/patch-aa
new file mode 100644
index 00000000000..c1199658c0e
--- /dev/null
+++ b/misc/watch/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/06/16 01:32:51 simonb Exp $
+
+--- watch.c.orig Mon Mar 22 04:49:20 1999
++++ watch.c Wed Jun 16 10:41:38 1999
+@@ -6,7 +6,7 @@
+ * Slighty modified, and corrected, Francois Pinard, 91-04.
+ */
+
+-#include <ncurses.h>
++#include <curses.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
diff --git a/misc/watch/pkg/COMMENT b/misc/watch/pkg/COMMENT
new file mode 100644
index 00000000000..a617e051249
--- /dev/null
+++ b/misc/watch/pkg/COMMENT
@@ -0,0 +1 @@
+watch a program with update intervals
diff --git a/misc/watch/pkg/DESCR b/misc/watch/pkg/DESCR
new file mode 100644
index 00000000000..a16c205f855
--- /dev/null
+++ b/misc/watch/pkg/DESCR
@@ -0,0 +1,2 @@
+watch is a curses(3)-based program that allows you to watch a program as
+it changes.
diff --git a/misc/watch/pkg/PLIST b/misc/watch/pkg/PLIST
new file mode 100644
index 00000000000..32837924e70
--- /dev/null
+++ b/misc/watch/pkg/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/06/16 01:32:51 simonb Exp $
+bin/watch
+man/cat1/watch.0
+man/man1/watch.1