aboutsummaryrefslogtreecommitdiff
path: root/devel/gperf
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-12-29 09:09:40 +0000
committerSteve Price <steve@FreeBSD.org>1999-12-29 09:09:40 +0000
commit2f51032a0d9059f67194c9047afbc59440facd7a (patch)
tree8a2879086b41c7d0338f61e4caf90670066ae73a /devel/gperf
parent91a8f42452bb18a70527d875791ddfcebaf82a53 (diff)
downloadports-2f51032a0d9059f67194c9047afbc59440facd7a.tar.gz
ports-2f51032a0d9059f67194c9047afbc59440facd7a.zip
Notes
Diffstat (limited to 'devel/gperf')
-rw-r--r--devel/gperf/Makefile19
-rw-r--r--devel/gperf/distinfo1
-rw-r--r--devel/gperf/files/patch-aa13
-rw-r--r--devel/gperf/pkg-comment1
-rw-r--r--devel/gperf/pkg-descr24
-rw-r--r--devel/gperf/pkg-plist7
6 files changed, 65 insertions, 0 deletions
diff --git a/devel/gperf/Makefile b/devel/gperf/Makefile
new file mode 100644
index 000000000000..584e6ec4e124
--- /dev/null
+++ b/devel/gperf/Makefile
@@ -0,0 +1,19 @@
+# New ports collection makefile for: unix-connect
+# Version required: 2.7
+# Date created: 19.04.1999
+# Whom: dirk.meyer@dinoex.sub.org
+#
+# $FreeBSD$
+#
+
+DISTNAME= gperf-2.7
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GNU}
+MASTER_SITE_SUBDIR= gperf
+
+MAINTAINER= dirk.meyer@dinoex.sub.org
+
+GNU_CONFIGURE= yes
+MAN= gperf.1
+
+.include <bsd.port.mk>
diff --git a/devel/gperf/distinfo b/devel/gperf/distinfo
new file mode 100644
index 000000000000..a6546090f1f9
--- /dev/null
+++ b/devel/gperf/distinfo
@@ -0,0 +1 @@
+MD5 (gperf-2.7.tar.gz) = f37fb2d0ab56facb1f851ceb208504b9
diff --git a/devel/gperf/files/patch-aa b/devel/gperf/files/patch-aa
new file mode 100644
index 000000000000..b4362302f309
--- /dev/null
+++ b/devel/gperf/files/patch-aa
@@ -0,0 +1,13 @@
+--- doc/Makefile.in.orig Tue Dec 28 11:31:20 1999
++++ doc/Makefile.in Tue Dec 28 11:32:30 1999
+@@ -30,8 +30,8 @@
+ infodir = @infodir@
+ mandir = @mandir@
+ man1dir = $(mandir)/man1
+-dvidir = $(mandir)/dvi
+-htmldir = $(mandir)/html
++dvidir = @prefix@/share/doc/gperf
++htmldir = @prefix@/share/doc/gperf
+
+ # Programs used by "make":
+ RM = rm -f
diff --git a/devel/gperf/pkg-comment b/devel/gperf/pkg-comment
new file mode 100644
index 000000000000..ab974abe511c
--- /dev/null
+++ b/devel/gperf/pkg-comment
@@ -0,0 +1 @@
+Generates perfect hash functions for sets of keywords
diff --git a/devel/gperf/pkg-descr b/devel/gperf/pkg-descr
new file mode 100644
index 000000000000..bd9d14ea680c
--- /dev/null
+++ b/devel/gperf/pkg-descr
@@ -0,0 +1,24 @@
+While teaching a data structures course at University of California,
+Irvine, I developed a program called GPERF that generates perfect hash
+functions for sets of key words. A perfect hash function is simply:
+
+ A hash function and a data structure that allows
+ recognition of a key word in a set of words using
+ exactly 1 probe into the data structure.
+
+The gperf.texinfo file explains how the program works, the form of the
+input, what options are available, and hints on choosing the best
+options for particular key word sets. The texinfo file is readable
+both via the GNU emacs `info' command, and is also suitable for
+typesetting with TeX.
+
+The enclosed Makefile creates the executable program ``gperf'' and
+also runs some tests.
+
+Output from the GPERF program is used to recognize reserved words in
+the GNU C, GNU C++, and GNU Pascal compilers, as well as with the GNU
+indent program.
+
+Happy hacking!
+
+Douglas C. Schmidt
diff --git a/devel/gperf/pkg-plist b/devel/gperf/pkg-plist
new file mode 100644
index 000000000000..90aa7a660143
--- /dev/null
+++ b/devel/gperf/pkg-plist
@@ -0,0 +1,7 @@
+bin/gperf
+@unexec install-info --delete %D/info/gperf.info %D/info/dir
+info/gperf.info
+@exec install-info %D/info/gperf.info %D/info/dir
+share/doc/gperf/gperf.dvi
+share/doc/gperf/gperf.html
+@dirrm share/doc/gperf