BSD Ports

devel/gperf 3.3 NetBSD

GNU perfect hash function generator

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
gnu-gpl-v3
Categories
devel
Package size
82.0 KiB, 314.7 KiB installed

Description

The GPERF program creates perfect hash functions. From the author:

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.

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.

Douglas C. Schmidt

In the other systems

SystemPortVersion
NetBSDdevel/gperf3.3
FreeBSDdevel/gperf3.3
OpenBSDdevel/gperf3.1p0
DragonFlydevel/gperf3.1_1
MidnightBSDdevel/gperf3.3
HardenedBSDdevel/gperf3.3
GhostBSDdevel/gperf3.3

Install

Binary package:

pkgin install gperf

From pkgsrc:

cd /usr/pkgsrc/devel/gperf && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_643.3
NetBSD 10.1 aarch643.3
SmartOS / illumos x86_643.3
macOS 15 arm643.3

Dependencies