summaryrefslogtreecommitdiff
path: root/textproc/sgrep2/files
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/sgrep2/files')
-rw-r--r--textproc/sgrep2/files/patch-aa30
-rw-r--r--textproc/sgrep2/files/patch-ab11
2 files changed, 41 insertions, 0 deletions
diff --git a/textproc/sgrep2/files/patch-aa b/textproc/sgrep2/files/patch-aa
new file mode 100644
index 000000000000..d4e33b33f4dd
--- /dev/null
+++ b/textproc/sgrep2/files/patch-aa
@@ -0,0 +1,30 @@
+--- Makefile-- Wed Apr 29 12:08:55 1998
++++ Makefile Wed Apr 29 12:20:29 1998
+@@ -10,11 +10,11 @@
+ #
+
+ # This is where the executable goes
+-BINDIR = /usr/local/bin/
++BINDIR = ${PREFIX}/bin
+ # Where sgrep library files are placed (sgreprc)
+-LIBDIR = /usr/local/lib
++LIBDIR = ${PREFIX}/share
+ # Where the manual page goes
+-MANFILE = /usr/local/man/man1/sgrep.1
++MANFILE = ${PREFIX}/man/man1/sgrep.1
+ # Where the sample rc file goes
+ RCFILE = $(LIBDIR)/sgreprc
+ # If you can't install as root you might wan't to use this as rc file
+@@ -45,11 +45,7 @@
+ clean:
+ -rm -f $(OBJECTS)
+
+-install: sgrep
+- cp sgrep $(BINDIR)/sgrep
+- chmod 755 $(BINDIR)/sgrep
+- cp sgrep.1 $(MANFILE)
+- chmod 644 $(MANFILE)
++install:
+
+ install.rc: sample.sgreprc
+ cp sample.sgreprc $(RCFILE)
diff --git a/textproc/sgrep2/files/patch-ab b/textproc/sgrep2/files/patch-ab
new file mode 100644
index 000000000000..25d8e32eaa4d
--- /dev/null
+++ b/textproc/sgrep2/files/patch-ab
@@ -0,0 +1,11 @@
+--- sgrep.1-- Wed Apr 29 12:26:40 1998
++++ sgrep.1 Wed Apr 29 12:26:49 1998
+@@ -91,7 +91,7 @@
+ \fB$HOME/.sgreprc,\fP
+ or if it doesn't exist,
+ from file
+-\fB/usr/lib/sgreprc, \fP
++\fB/usr/local/share/sgreprc, \fP
+ and then from the command line. Different behavior
+ can be specified through command line options.
+ .Pp