diff options
author | asami <asami@FreeBSD.org> | 1996-01-15 18:12:32 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1996-01-15 18:12:32 +0800 |
commit | dc6969f57483c2656f2492e085d3bbc30e9c623b (patch) | |
tree | 1bf3c13fc98f224707b66917f0dd21d3fa9d35f3 /textproc/glimpse | |
parent | 7dcb435abb6dcb76b87813aaef0b0d0d6f438ee7 (diff) | |
download | freebsd-ports-gnome-dc6969f57483c2656f2492e085d3bbc30e9c623b.tar.gz freebsd-ports-gnome-dc6969f57483c2656f2492e085d3bbc30e9c623b.tar.zst freebsd-ports-gnome-dc6969f57483c2656f2492e085d3bbc30e9c623b.zip |
A fast text searching tool. NO_PACKAGE because it can't be redistributed
for profit.
Submitted by: chuckr@glue.umd.edu
Diffstat (limited to 'textproc/glimpse')
-rw-r--r-- | textproc/glimpse/Makefile | 28 | ||||
-rw-r--r-- | textproc/glimpse/distinfo | 1 | ||||
-rw-r--r-- | textproc/glimpse/files/patch-aa | 12 | ||||
-rw-r--r-- | textproc/glimpse/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/glimpse/pkg-descr | 12 | ||||
-rw-r--r-- | textproc/glimpse/pkg-plist | 8 |
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 |