devel/gperf 3.1p0 OpenBSD
perfect hash functions, to help write parsers
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- Marc Espie <[email protected]>
- Categories
- devel
Description
GPERF 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.
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.
Authors: Douglas C. Schmidt and Bruno Haible
Gperf was bundled with libg++. Now that libg++ has been removed from the main tree, some people may find gperf useful.
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | devel/gperf | 3.1p0 |
| FreeBSD | devel/gperf | 3.3 |
| NetBSD | devel/gperf | 3.3 |
| DragonFly | devel/gperf | 3.1_1 |
| MidnightBSD | devel/gperf | 3.3 |
| HardenedBSD | devel/gperf | 3.3 |
| GhostBSD | devel/gperf | 3.3 |
Install
Binary package:
pkg_add gperf
From the ports tree:
cd /usr/ports/devel/gperf && make install
Dependencies
Required by 33
- astro/celestia
- audio/libid3tag
- cad/gtkwave
- databases/evolution-data-server
- devel/appstream
- devel/appstream-glib
- devel/kf5/kcodecs
- devel/kf6/kcodecs
- devel/vte3
- editors/libreoffice
- editors/neovim
- games/tuxpaint
- graphics/openjfx/21
- lang/iverilog
- mail/cyrus-imapd
- net/nchat
- net/ocserv
- net/tdlib/tde2e
- net/tdlib/tdlib
- sysutils/conky
- telephony/resiprocate
- www/chromium
- www/iridium
- www/netsurf/hubbub
- www/netsurf/libsvgtiny
- www/tinyproxy
- www/ungoogled-chromium
- www/webkitgtk4
- x11/gnome/grilo-plugins
- x11/gnome/libshumate
- x11/kde-applications/kf6-kio-extras
- x11/qt5/qtwebengine
- x11/qt6/qtwebengine