BSD Ports

devel/cmph 2.0.2 FreeBSD

Minimal perfect hashes for C

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
LGPL21, MPL11
Categories
devel
Package size
93.6 KiB, 411.3 KiB installed

Description

A perfect hash function maps a static set of n keys into a set of m integer numbers without collisions, where m is greater than or equal to n. If m is equal to n, the function is called minimal.

Minimal perfect hash functions are widely used for memory efficient storage and fast retrieval of items from static sets, such as words in natural languages, reserved words in programming languages or interactive systems, universal resource locations (URLs) in Web search engines, or item sets in data mining techniques. Therefore, there are applications for minimal perfect hash functions in information retrieval systems, database systems, language translation systems, electronic commerce systems, compilers, operating systems, among others.

In the other systems

SystemPortVersion
FreeBSDdevel/cmph2.0.2
NetBSDdevel/cmph2.0
DragonFlydevel/cmph2.0_2

Install

Binary package:

pkg install cmph

From the ports tree:

cd /usr/ports/devel/cmph/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	cmph>0:devel/cmph
LIB_DEPENDS=	libcmph.so:devel/cmph

Packages

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

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.0.22.0.22.0_12.0.22.0.2
FreeBSD:14:quarterly2.0.22.0.2n/a2.0.22.0.2
FreeBSD:15:latest2.0.22.0.2n/a2.0.22.0.2
FreeBSD:15:quarterly2.0.22.0.2n/an/an/a
FreeBSD:16:latest2.0.22.0.2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

No port depends on this one.

Configuration

No options to configure.

USES
libtool pathfix
Service scripts
none

Files

Manual pages 1
  • cmph(1)
pkg-plist 11
  • bin/cmph
  • include/chd_ph.h
  • include/cmph.h
  • include/cmph_time.h
  • include/cmph_types.h
  • lib/libcmph.a
  • lib/libcmph.so
  • lib/libcmph.so.0
  • lib/libcmph.so.0.0.0
  • libdata/pkgconfig/cmph.pc
  • share/man/man1/cmph.1.gz
distinfo 1
FileSizeSHA256
cmph-2.0.2.tar.gz532528365f1e8056400d460f1ee7bfafdbf37d5ee6c78e8f4723bf4b3c081c89733f1e
Master sites 1
  • https://github.com/bonitao/cmph/releases/download/v2.0.2/

Commit history 0

No commits in the history this site was built from.