summaryrefslogtreecommitdiff
path: root/textproc/glimpse
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1997-10-30 01:34:52 +0000
committerhubertf <hubertf@pkgsrc.org>1997-10-30 01:34:52 +0000
commitcd15897492298e821cfe0e78decfc417a8645ec3 (patch)
tree6d293bc56f7ca4ccd2a06c1e9a96305fa408bbee /textproc/glimpse
parent9d681a2ee18bd0531a77c1230f38d4aaf17e8ed1 (diff)
downloadpkgsrc-cd15897492298e821cfe0e78decfc417a8645ec3.tar.gz
needed for tkman, etc.
Diffstat (limited to 'textproc/glimpse')
-rw-r--r--textproc/glimpse/Makefile30
-rw-r--r--textproc/glimpse/files/md51
-rw-r--r--textproc/glimpse/patches/patch-aa12
-rw-r--r--textproc/glimpse/patches/patch-ab25
-rw-r--r--textproc/glimpse/pkg/COMMENT1
-rw-r--r--textproc/glimpse/pkg/DESCR12
-rw-r--r--textproc/glimpse/pkg/PLIST12
7 files changed, 93 insertions, 0 deletions
diff --git a/textproc/glimpse/Makefile b/textproc/glimpse/Makefile
new file mode 100644
index 00000000000..cd5b72f907a
--- /dev/null
+++ b/textproc/glimpse/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: glimpse
+# Version required: 3.6
+# Date created: 25 August 1996
+# Whom: chuckr@freebsd.org
+#
+# $Id: Makefile,v 1.1.1.1 1997/10/30 01:34:52 hubertf Exp $
+#
+
+DISTNAME= glimpse-4.0.src
+PKGNAME= glimpse-4.0
+CATEGORIES= textproc databases
+MASTER_SITES= ftp://ftp.cs.arizona.edu/glimpse/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= chuckr@freebsd.org
+
+NO_CDROM= "Restrictive copyright (don't sell for profit)"
+GNU_CONFIGURE= yes
+MAN1= glimpse.1 glimpseindex.1 glimpseserver.1 agrep.1
+
+pre-configure:
+ chmod ugo+x ${WRKSRC}/configure
+
+post-install:
+ ${MKDIR} ${PREFIX}/share/doc/glimpse
+ ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${PREFIX}/share/doc/glimpse
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/glimpse
+ ${INSTALL_PROGRAM} ${WRKSRC}/index/wgconvert ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/textproc/glimpse/files/md5 b/textproc/glimpse/files/md5
new file mode 100644
index 00000000000..68b1bb95816
--- /dev/null
+++ b/textproc/glimpse/files/md5
@@ -0,0 +1 @@
+MD5 (glimpse-4.0.src.tar.Z) = db877e3932760e26bad775af4c12fa27
diff --git a/textproc/glimpse/patches/patch-aa b/textproc/glimpse/patches/patch-aa
new file mode 100644
index 00000000000..75353d6e210
--- /dev/null
+++ b/textproc/glimpse/patches/patch-aa
@@ -0,0 +1,12 @@
+*** agrep/agrep.c.orig Thu Aug 22 07:51:14 1996
+--- agrep/agrep.c Thu Aug 22 07:51:27 1996
+***************
+*** 3,8 ****
+--- 3,9 ----
+ * bgopal: (1993-4) added a library interface and removed some bugs: also
+ * selectively modified many routines to work with our text-compression algo.
+ */
++ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include "agrep.h"
+ #include "checkfile.h"
diff --git a/textproc/glimpse/patches/patch-ab b/textproc/glimpse/patches/patch-ab
new file mode 100644
index 00000000000..5738b75594b
--- /dev/null
+++ b/textproc/glimpse/patches/patch-ab
@@ -0,0 +1,25 @@
+*** libtemplate/include/autoconf.h.in.orig Thu Aug 22 07:51:39 1996
+--- libtemplate/include/autoconf.h.in Thu Aug 22 07:51:57 1996
+***************
+*** 156,165 ****
+ #undef HAVE_SRANDOM
+
+ /* Define if you have strdup. */
+! #undef HAVE_STRDUP
+
+ /* Define if you have strerror. */
+! #undef HAVE_STRERROR
+
+ /* Define if you have sysconf. */
+ #undef HAVE_SYSCONF
+--- 156,165 ----
+ #undef HAVE_SRANDOM
+
+ /* Define if you have strdup. */
+! #define HAVE_STRDUP 1
+
+ /* Define if you have strerror. */
+! #define HAVE_STRERROR 1
+
+ /* Define if you have sysconf. */
+ #undef HAVE_SYSCONF
diff --git a/textproc/glimpse/pkg/COMMENT b/textproc/glimpse/pkg/COMMENT
new file mode 100644
index 00000000000..eb535074229
--- /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 00000000000..1d1e5a371db
--- /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 00000000000..3ebdd17f7bb
--- /dev/null
+++ b/textproc/glimpse/pkg/PLIST
@@ -0,0 +1,12 @@
+bin/glimpseindex
+bin/agrep
+bin/glimpseserver
+bin/glimpse
+bin/wgconvert
+man/man1/glimpse.1.gz
+man/man1/glimpseindex.1.gz
+man/man1/glimpseserver.1.gz
+man/man1/agrep.1.gz
+share/doc/glimpse/COPYRIGHT
+share/doc/glimpse/README
+@dirrm share/doc/glimpse