devel/gperf 3.3
Generates perfect hash functions for sets of keywords
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- GPLv3+
- Categories
- devel
- Package size
- 86.5 KiB, 339.0 KiB installed
Description
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.
LICENSE: GPLv3 or later
Install
As a binary package — by origin, or by package name:
pkg install devel/gperf
pkg install gperf
From the ports tree:
cd /usr/ports/devel/gperf/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= gperf>0:devel/gperf
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 3.3 | 3.3 | 3.1 | 3.2.1_1 | 3.3 |
| FreeBSD:14:quarterly | 3.3 | 3.3 | n/a | 3.2.1_1 | 3.3 |
| FreeBSD:15:latest | 3.3 | 3.3 | n/a | 3.2.1_1 | 3.2.1_1 |
| FreeBSD:15:quarterly | 3.3 | 3.3 | n/a | n/a | n/a |
| FreeBSD:16:latest | 3.3 | 3.3 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
All run dependencies 1
Required by 62
- audio/libid3tag
- audio/owntone
- cad/gtkwave
- cad/iverilog
- cad/qucs-s
- cad/qucsator
- databases/evolution-data-server
- devel/appstream
- devel/appstream-compose
- devel/appstream-glib
- devel/appstream-qt
- devel/basu
- devel/bitkeeper
- devel/electron41
- devel/electron42
- devel/electron43
- devel/electron44
- devel/kconfig-frontends
- devel/kio-extras
- editors/libreoffice
- editors/openoffice-4
- editors/openoffice-devel
- games/freecell-solver
- games/tuxpaint
- german/unix-connect
- graphics/cptutils
- graphics/flasm
- graphics/libfreehand
- graphics/libsvgtiny
- graphics/poppler
- graphics/poppler-glib
- graphics/poppler-qt5
- graphics/poppler-qt6
- graphics/poppler-utils
- java/openjfx14
- lang/emilua
- math/octave
- math/yices
- net-im/nchat
- net-im/tde2e
- net-im/tdlib
- net/ocserv
- print/a2ps
- sysutils/conky
- sysutils/conky-awesome
- textproc/kf5-kcodecs
- textproc/kf6-kcodecs
- textproc/libabw
- textproc/libe-book
- textproc/libvisio01
- www/cef
- www/chromium
- www/iridium
- www/kf5-khtml
- www/libhubbub
- www/proxygen
- www/qt6-webengine
- www/ungoogled-chromium
- www/webkit2-gtk
- x11-fonts/fontconfig
- x11-toolkits/libshumate
- x11/xcb-util-cursor
Configuration
No options to configure.
- USES
- cpe
- Service scripts
- none
Files
Manual pages 1
- gperf(1)
pkg-plist 3
- bin/gperf
- share/doc/gperf/gperf.html
- share/man/man1/gperf.1.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| gperf-3.3.tar.gz | 1.831294e+06 | fd87e0aba7e43ae054837afd6cd4db03a3f2693deb3619085e6ed9d8d9604ad8 |
Master sites 1
- GNU
Commit history 0
No commits in the history this site was built from.