summaryrefslogtreecommitdiff
path: root/sysutils/wtail
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2003-02-16 00:25:30 +0000
committersalo <salo@pkgsrc.org>2003-02-16 00:25:30 +0000
commite96e455f16dbc06a19d2aa5e3a4884c3ea5411e6 (patch)
tree101127517a38df93f9f01e62aebea0127c38e718 /sysutils/wtail
parenta3118088b37bd2079d020c072b5fbda71bf5cdc8 (diff)
downloadpkgsrc-e96e455f16dbc06a19d2aa5e3a4884c3ea5411e6.tar.gz
wtail does the equivalent of tail -f on several files at once. The screen
is split into as many parts as there are files to watch. Package submitted by Juan RP via PR pkg/20351 with modifications by me.
Diffstat (limited to 'sysutils/wtail')
-rw-r--r--sysutils/wtail/DESCR2
-rw-r--r--sysutils/wtail/Makefile17
-rw-r--r--sysutils/wtail/PLIST9
-rw-r--r--sysutils/wtail/distinfo5
-rw-r--r--sysutils/wtail/patches/patch-aa41
5 files changed, 74 insertions, 0 deletions
diff --git a/sysutils/wtail/DESCR b/sysutils/wtail/DESCR
new file mode 100644
index 00000000000..5b6bba53305
--- /dev/null
+++ b/sysutils/wtail/DESCR
@@ -0,0 +1,2 @@
+wtail does the equivalent of tail -f on several files at once. The screen
+is split into as many parts as there are files to watch.
diff --git a/sysutils/wtail/Makefile b/sysutils/wtail/Makefile
new file mode 100644
index 00000000000..08e062a14e2
--- /dev/null
+++ b/sysutils/wtail/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/02/16 00:25:30 salo Exp $
+#
+
+DISTNAME= wtail-0.2.2
+CATEGORIES= sysutils
+MASTER_SITES= http://www.teaser.fr/~amajorel/wtail/
+
+MAINTAINER= jrp@hispabsd.org
+HOMEPAGE= http://www.teaser.fr/~amajorel/wtail/
+COMMENT= Watch multiple files at once
+
+USE_BUILDLINK2= YES
+
+MAKE_ENV+= SED="${SED}"
+
+.include "../../devel/ncurses/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/wtail/PLIST b/sysutils/wtail/PLIST
new file mode 100644
index 00000000000..89661150be3
--- /dev/null
+++ b/sysutils/wtail/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/02/16 00:25:30 salo Exp $
+bin/wtail
+man/man1/wtail.1
+share/doc/wtail/CHANGES
+share/doc/wtail/COPYING
+share/doc/wtail/FAQ
+share/doc/wtail/README
+share/doc/wtail/VERSION
+@dirrm share/doc/wtail
diff --git a/sysutils/wtail/distinfo b/sysutils/wtail/distinfo
new file mode 100644
index 00000000000..641222ddcdb
--- /dev/null
+++ b/sysutils/wtail/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/02/16 00:25:30 salo Exp $
+
+SHA1 (wtail-0.2.2.tar.gz) = 609f4ebe064c155829e96f865bee93e727b692e8
+Size (wtail-0.2.2.tar.gz) = 13633 bytes
+SHA1 (patch-aa) = 1605c1836fddce4c3fef589e3cf5a11d6bab33d6
diff --git a/sysutils/wtail/patches/patch-aa b/sysutils/wtail/patches/patch-aa
new file mode 100644
index 00000000000..81252469b9e
--- /dev/null
+++ b/sysutils/wtail/patches/patch-aa
@@ -0,0 +1,41 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/02/16 00:25:30 salo Exp $
+
+--- Makefile.orig Tue Jan 14 00:12:57 2003
++++ Makefile Sun Feb 16 01:09:18 2003
+@@ -5,7 +5,7 @@
+
+
+ # Variables that you may want to modify
+-PREFIX = /usr/local
++#PREFIX = /usr/local
+ TMPDIR = ~/tmp
+
+ # Variables that you probably don't want to modify
+@@ -22,12 +22,12 @@
+ rm -f $(OBJ) wtail
+
+ install:
+- mkdir -p '$(PREFIX)'/bin
+- cp wtail '$(PREFIX)'/bin
+- touch -r wtail '$(PREFIX)'/bin/wtail
+- mkdir -p "$(MAN)"/man1
+- sed 's/@{VERSION}/'$(VERSION)'/g' wtail.1 >"$(MAN)"/man1/wtail.1
+- touch -r wtail.1 "$(MAN)"/man1/wtail.1
++ ${BSD_INSTALL_PROGRAM} wtail $(PREFIX)/bin/
++ ${SED} 's/@{VERSION}/'$(VERSION)'/g' wtail.1 > wtail.1.fixed
++ ${BSD_INSTALL_MAN} wtail.1.fixed $(PREFIX)/man/man1/wtail.1
++ ${BSD_INSTALL_DATA_DIR} $(PREFIX)/share/doc/wtail
++ ${BSD_INSTALL_DATA} README CHANGES COPYING FAQ VERSION \
++ $(PREFIX)/share/doc/wtail/
+
+ test: chatter
+ ./chatter /tmp/wtail.a /tmp/wtail.b /tmp/wtail.c \
+@@ -51,7 +51,7 @@
+ arc=$(ARC); cd $(TMPDIR) && tar -cf - $$arc | gzip >$$arc.tar.gz
+
+ wtail: $(OBJ)
+- $(CC) $(LDFLAGS) -o $@ $(OBJ) -lcurses
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJ) -lcurses
+
+ version.c: VERSION
+ cat VERSION | sed 's/.*/const char version[] = "&";/' >$@