diff options
author | Thomas Gellekum <tg@FreeBSD.org> | 1998-04-29 10:55:40 +0000 |
---|---|---|
committer | Thomas Gellekum <tg@FreeBSD.org> | 1998-04-29 10:55:40 +0000 |
commit | 2d15f8c3689b5d5f9cf4b2b13ad47f7591142cb8 (patch) | |
tree | 4f15afa0526b4dbfdf32a664e75787d5308ec96a /textproc/sgrep2/files/patch-aa | |
parent | Define MANUAL_PACKAGE_BUILD, as this port installs bin/elk which can (diff) |
New sgrep port. From the man page:
sgrep (structured grep) is a tool for searching text files
and filtering text streams using structural criteria. The
data model of sgrep is based on regions, which are non-
empty substrings of text. Regions are typically occur-
rences of constant strings or meaningful text elements,
which are recognizable through some delimiting strings.
PR: 6449
Submitted by: A Joseph Koshy <koshy@india.hp.com>
Notes
Notes:
svn path=/head/; revision=10759
Diffstat (limited to 'textproc/sgrep2/files/patch-aa')
-rw-r--r-- | textproc/sgrep2/files/patch-aa | 30 |
1 files changed, 30 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) |