summaryrefslogtreecommitdiff
path: root/misc/reed
diff options
context:
space:
mode:
authorwiz <wiz>2001-09-02 20:13:28 +0000
committerwiz <wiz>2001-09-02 20:13:28 +0000
commita75dfcba9d04e05f9c251a88853eb52b71a65bff (patch)
tree11411e559f8d0621d587f154723dc1602c90154e /misc/reed
parent47729c4a0a1de9ba749c3d963159a25a71818161 (diff)
downloadpkgsrc-a75dfcba9d04e05f9c251a88853eb52b71a65bff.tar.gz
Initial import of reed-4.6, an auto-scrolling text viewer.
Diffstat (limited to 'misc/reed')
-rw-r--r--misc/reed/Makefile15
-rw-r--r--misc/reed/distinfo8
-rw-r--r--misc/reed/patches/patch-aa13
-rw-r--r--misc/reed/patches/patch-ab22
-rw-r--r--misc/reed/patches/patch-ac15
-rw-r--r--misc/reed/patches/patch-ad12
-rw-r--r--misc/reed/pkg/DESCR6
-rw-r--r--misc/reed/pkg/PLIST7
8 files changed, 98 insertions, 0 deletions
diff --git a/misc/reed/Makefile b/misc/reed/Makefile
new file mode 100644
index 00000000000..1dd6c82b368
--- /dev/null
+++ b/misc/reed/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/09/02 20:13:28 wiz Exp $
+
+DISTNAME= reed-4.6
+CATEGORIES= misc
+MASTER_SITES= http://www.sacredchao.net/software/reed/
+
+MAINTAINER= wiz@netbsd.org
+HOMEPAGE= http://www.sacredchao.net/software/reed/index.shtml
+COMMENT= auto-scrolling file viewer
+
+GNU_CONFIGURE= YES
+USE_BUILDLINK_ONLY= YES
+REPLACE_PERL= scripts/breed scripts/wrap
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/reed/distinfo b/misc/reed/distinfo
new file mode 100644
index 00000000000..854eaedaaf9
--- /dev/null
+++ b/misc/reed/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/09/02 20:13:28 wiz Exp $
+
+SHA1 (reed-4.6.tar.gz) = 937e24cac4b4154b5f81af52a5a80f0c7a6c7953
+Size (reed-4.6.tar.gz) = 59431 bytes
+SHA1 (patch-aa) = b8e9a197f7759193cb6dd3adbc1d67ffa9dc3df7
+SHA1 (patch-ab) = 9b78e396246019c225f6c0e517296953cc5bf8cd
+SHA1 (patch-ac) = 34272ee863f6a0d8f7896c78e410675027f8fee5
+SHA1 (patch-ad) = 63feba2bca775d43524d1d53ce47d804129a593e
diff --git a/misc/reed/patches/patch-aa b/misc/reed/patches/patch-aa
new file mode 100644
index 00000000000..b5c589dc878
--- /dev/null
+++ b/misc/reed/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/09/02 20:13:28 wiz Exp $
+
+--- man/reed.1.orig Fri Dec 1 01:26:02 2000
++++ man/reed.1
+@@ -106,7 +106,7 @@
+ .IP r
+ Clear and redraw the screen.
+ .IP v
+-Start a text editor opened to the current file. Reed first tried $EDITOR,
++Start a text editor opened to the current file. Reed first tries $EDITOR,
+ then $VISUAL, and defaults to /bin/ed.
+ .IP :n
+ Go to the next buffer in the file list.
diff --git a/misc/reed/patches/patch-ab b/misc/reed/patches/patch-ab
new file mode 100644
index 00000000000..8b4a06a0b21
--- /dev/null
+++ b/misc/reed/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/09/02 20:13:28 wiz Exp $
+
+--- src/file.c.orig Wed Feb 21 01:13:56 2001
++++ src/file.c
+@@ -39,7 +39,8 @@
+ wmove(m, 2, 0);
+ whline(m, '-', width);
+ wrefresh(m);
+- wclear(w);
++ if (w)
++ wclear(w);
+ return node;
+ }
+
+@@ -155,6 +156,7 @@
+ wclear(w);
+ }
+
++ wmove(w, 0, 0);
+ fseek(node->file, node->fileLines[n], SEEK_SET);
+ /* wclear(w); */
+ for (j = 0; j < WLINES; j++) {
diff --git a/misc/reed/patches/patch-ac b/misc/reed/patches/patch-ac
new file mode 100644
index 00000000000..7d71a25f093
--- /dev/null
+++ b/misc/reed/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1.1.1 2001/09/02 20:13:28 wiz Exp $
+
+--- src/reed.c.orig Wed Feb 21 01:14:55 2001
++++ src/reed.c
+@@ -30,8 +30,8 @@
+ int main(int argc, char **argv) {
+ unsigned long speed = 5*TENTH_SECOND;
+ int jump = 1, index, retval = SAME_FILE;
+- char opt, *fakefilename = NULL;
+- int valid;
++ char *fakefilename = NULL;
++ int opt, valid;
+ struct stat st;
+ fileNode *node = NULL;
+ if (argc > 1 && !strcmp("--help", argv[1])) {
diff --git a/misc/reed/patches/patch-ad b/misc/reed/patches/patch-ad
new file mode 100644
index 00000000000..368dc972077
--- /dev/null
+++ b/misc/reed/patches/patch-ad
@@ -0,0 +1,12 @@
+$NetBSD: patch-ad,v 1.1.1.1 2001/09/02 20:13:28 wiz Exp $
+
+--- src/reed.h.orig Fri Dec 1 01:09:49 2000
++++ src/reed.h
+@@ -26,6 +26,7 @@
+ #include <ctype.h>
+ #include <time.h>
+ #include <getopt.h>
++#include <limits.h>
+
+ /* macros */
+ #define clearLine(n) wmove(m, n, 0); whline(m, ' ', COLS);
diff --git a/misc/reed/pkg/DESCR b/misc/reed/pkg/DESCR
new file mode 100644
index 00000000000..e07d0861b0d
--- /dev/null
+++ b/misc/reed/pkg/DESCR
@@ -0,0 +1,6 @@
+Reed is a program originally written to automatically scroll large
+text files, such as etexts from Project Gutenberg (http://promo.net/pg
+or http://www.gutenberg.net), but its functionality has quickly
+expanded to make it a decent regular text pager, as well. Anyone
+familiar with CSpotRun for the Palm PDA or the DOS pager Smooth will
+have little trouble with Reed's interface.
diff --git a/misc/reed/pkg/PLIST b/misc/reed/pkg/PLIST
new file mode 100644
index 00000000000..939fe74f385
--- /dev/null
+++ b/misc/reed/pkg/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/09/02 20:13:28 wiz Exp $
+bin/breed
+bin/reed
+bin/wrap
+man/man1/breed.1
+man/man1/reed.1
+man/man1/wrap.1