aboutsummaryrefslogtreecommitdiff
path: root/textproc/sgrep
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1998-04-29 10:55:40 +0000
committerThomas Gellekum <tg@FreeBSD.org>1998-04-29 10:55:40 +0000
commit2d15f8c3689b5d5f9cf4b2b13ad47f7591142cb8 (patch)
tree4f15afa0526b4dbfdf32a664e75787d5308ec96a /textproc/sgrep
parent36ca7be718609d75343cc3171661b40f5b9ad9e5 (diff)
downloadports-2d15f8c3689b5d5f9cf4b2b13ad47f7591142cb8.tar.gz
ports-2d15f8c3689b5d5f9cf4b2b13ad47f7591142cb8.zip
Notes
Diffstat (limited to 'textproc/sgrep')
-rw-r--r--textproc/sgrep/Makefile23
-rw-r--r--textproc/sgrep/distinfo1
-rw-r--r--textproc/sgrep/files/patch-aa30
-rw-r--r--textproc/sgrep/files/patch-ab11
-rw-r--r--textproc/sgrep/pkg-comment1
-rw-r--r--textproc/sgrep/pkg-descr11
-rw-r--r--textproc/sgrep/pkg-plist3
7 files changed, 80 insertions, 0 deletions
diff --git a/textproc/sgrep/Makefile b/textproc/sgrep/Makefile
new file mode 100644
index 000000000000..977ff624c5a5
--- /dev/null
+++ b/textproc/sgrep/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: sgrep
+# Version required: 0.99
+# Date created: Apr 29 1998
+# Whom: <koshy@india.hp.com>
+#
+# $Id$
+#
+
+DISTNAME= sgrep-0.99
+CATEGORIES= textproc
+MASTER_SITES= ftp://ftp.cs.helsinki.fi/pub/Software/Local/Sgrep/
+
+MAINTAINER= koshy@india.hp.com
+
+MAN1= sgrep.1
+
+# Override the install target in the supplied makefile
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/sgrep ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/sgrep.1 ${MANPREFIX}/man/man1
+ ${INSTALL_DATA} ${WRKSRC}/sample.sgreprc ${PREFIX}/share/sgreprc
+
+.include <bsd.port.mk>
diff --git a/textproc/sgrep/distinfo b/textproc/sgrep/distinfo
new file mode 100644
index 000000000000..67caeb5d7f9f
--- /dev/null
+++ b/textproc/sgrep/distinfo
@@ -0,0 +1 @@
+MD5 (sgrep-0.99.tar.gz) = af09a90c4f1929bfae4818c8962a8907
diff --git a/textproc/sgrep/files/patch-aa b/textproc/sgrep/files/patch-aa
new file mode 100644
index 000000000000..d4e33b33f4dd
--- /dev/null
+++ b/textproc/sgrep/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/sgrep/files/patch-ab b/textproc/sgrep/files/patch-ab
new file mode 100644
index 000000000000..25d8e32eaa4d
--- /dev/null
+++ b/textproc/sgrep/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
diff --git a/textproc/sgrep/pkg-comment b/textproc/sgrep/pkg-comment
new file mode 100644
index 000000000000..1860f9fd7565
--- /dev/null
+++ b/textproc/sgrep/pkg-comment
@@ -0,0 +1 @@
+A `grep' for structured text like SGML and HTML.
diff --git a/textproc/sgrep/pkg-descr b/textproc/sgrep/pkg-descr
new file mode 100644
index 000000000000..c2ca2e0968c7
--- /dev/null
+++ b/textproc/sgrep/pkg-descr
@@ -0,0 +1,11 @@
+`sgrep' (structured grep) is a tool for searching text files and
+filtering text streams using structural criteria. Complex criteria
+can be specified as macros using M4.
+
+Sgrep was created by:
+
+ Jani Jaakkola, email:Jani.Jaakkola@helsinki.fi
+ Pekka Kilpelainen, email: Pekka.Kilpelainen@helsinki.fi
+
+- Koshy
+ <jkoshy@acm.org>
diff --git a/textproc/sgrep/pkg-plist b/textproc/sgrep/pkg-plist
new file mode 100644
index 000000000000..556e7fe31b62
--- /dev/null
+++ b/textproc/sgrep/pkg-plist
@@ -0,0 +1,3 @@
+bin/sgrep
+share/sgreprc
+man/man1/sgrep.1.gz