1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

A fast text searching tool. NO_PACKAGE because it can't be redistributed

for profit.

Submitted by:	chuckr@glue.umd.edu
This commit is contained in:
Satoshi Asami 1996-01-15 10:12:32 +00:00
parent 167debc683
commit 55e6250238
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=2625
6 changed files with 62 additions and 0 deletions

28
textproc/glimpse/Makefile Normal file
View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (glimpse-3.0.src.tar.Z) = 22313668e8013ac42b91ac704c6f227a

View File

@ -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);

View File

@ -0,0 +1 @@
Text search engine

View File

@ -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.

View File

@ -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