aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1996-01-15 10:12:32 +0000
committerSatoshi Asami <asami@FreeBSD.org>1996-01-15 10:12:32 +0000
commit55e625023830e72212ae3ad65de43e6e361c8100 (patch)
tree919da1114e35ef2c90aa3447fcacfe5b196854b2 /textproc
parent167debc6830292b31c1c5a9696968c503d7e5baf (diff)
downloadports-55e625023830e72212ae3ad65de43e6e361c8100.tar.gz
ports-55e625023830e72212ae3ad65de43e6e361c8100.zip
A fast text searching tool. NO_PACKAGE because it can't be redistributed
for profit. Submitted by: chuckr@glue.umd.edu
Notes
Notes: svn path=/head/; revision=2625
Diffstat (limited to 'textproc')
-rw-r--r--textproc/glimpse/Makefile28
-rw-r--r--textproc/glimpse/distinfo1
-rw-r--r--textproc/glimpse/files/patch-aa12
-rw-r--r--textproc/glimpse/pkg-comment1
-rw-r--r--textproc/glimpse/pkg-descr12
-rw-r--r--textproc/glimpse/pkg-plist8
6 files changed, 62 insertions, 0 deletions
diff --git a/textproc/glimpse/Makefile b/textproc/glimpse/Makefile
new file mode 100644
index 000000000000..138f8c408274
--- /dev/null
+++ b/textproc/glimpse/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: glimpse
+# Version required: 3.0
+# Date created: 22 Dec 1995
+# Whom: chuckr@glue.umd.edu
+#
+# $Id: Makefile,v 1.6 1995/11/26 10:48:20 asami Exp $
+#
+
+DISTNAME= glimpse-3.0.src
+PKGNAME= glimpse-3.0b
+CATEGORIES+= misc
+MASTER_SITES= ftp://cs.arizona.edu/glimpse/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= chuckr@glue.umd.edu
+
+# Restrictive copyright
+NO_PACKAGE= yes
+HAS_CONFIGURE= yes
+
+post-install:
+.if !defined(NOMANCOMPRESS)
+ for file in glimpse glimpseindex glimpseserver agrep; do \
+ gzip -9nf ${PREFIX}/man/man1/$$file.1; \
+ done
+.endif
+
+.include <bsd.port.mk>
diff --git a/textproc/glimpse/distinfo b/textproc/glimpse/distinfo
new file mode 100644
index 000000000000..28c09710d15e
--- /dev/null
+++ b/textproc/glimpse/distinfo
@@ -0,0 +1 @@
+MD5 (glimpse-3.0.src.tar.Z) = 22313668e8013ac42b91ac704c6f227a
diff --git a/textproc/glimpse/files/patch-aa b/textproc/glimpse/files/patch-aa
new file mode 100644
index 000000000000..50abe3931a95
--- /dev/null
+++ b/textproc/glimpse/files/patch-aa
@@ -0,0 +1,12 @@
+diff -ur libtemplate/util/strerror.c libtemplate/util/strerror.c
+--- libtemplate/util/strerror.c Tue Oct 10 19:16:19 1995
++++ libtemplate/util/strerror.c Thu Dec 21 10:49:13 1995
+@@ -60,7 +60,7 @@
+ int n;
+ {
+ extern int sys_nerr;
+- extern char *sys_errlist[];
++ extern __const char *__const sys_errlist[];
+
+ if (n < 0 || n >= sys_nerr)
+ return (NULL);
diff --git a/textproc/glimpse/pkg-comment b/textproc/glimpse/pkg-comment
new file mode 100644
index 000000000000..eb535074229d
--- /dev/null
+++ b/textproc/glimpse/pkg-comment
@@ -0,0 +1 @@
+Text search engine
diff --git a/textproc/glimpse/pkg-descr b/textproc/glimpse/pkg-descr
new file mode 100644
index 000000000000..1d1e5a371db0
--- /dev/null
+++ b/textproc/glimpse/pkg-descr
@@ -0,0 +1,12 @@
+Glimpse (which stands for GLobal IMPlicit SEarch) is an indexing
+and query system that allows you to search through all your
+files very quickly. For example, finding 296 lines containing
+'whitehouse' in 8750 files occupying 104MB took 6 seconds on a
+SUN Sparc 5. Glimpse supports most of agrep's options (agrep is our
+powerful version of grep) including approximate matching (e.g.,
+finding mis- spelled words), Boolean queries, and even some limited
+forms of regular expressions. It is used in the same way, except that
+you don't have to specify file names. So, if you are looking for a
+needle anywhere in your file system, all you have to do is say
+glimpse needle and all lines containing needle will appear preceded
+by the file name.
diff --git a/textproc/glimpse/pkg-plist b/textproc/glimpse/pkg-plist
new file mode 100644
index 000000000000..68f5108db214
--- /dev/null
+++ b/textproc/glimpse/pkg-plist
@@ -0,0 +1,8 @@
+bin/glimpseindex
+bin/agrep
+bin/glimpseserver
+bin/glimpse
+man/man1/glimpse.1.gz
+man/man1/glimpseindex.1.gz
+man/man1/glimpseserver.1.gz
+man/man1/agrep.1.gz