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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/cmph | 2.0.2 |
| NetBSD | devel/cmph | 2.0 |
| DragonFly | devel/cmph | 2.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.0.2 | 2.0.2 | 2.0_1 | 2.0.2 | 2.0.2 |
| FreeBSD:14:quarterly | 2.0.2 | 2.0.2 | n/a | 2.0.2 | 2.0.2 |
| FreeBSD:15:latest | 2.0.2 | 2.0.2 | n/a | 2.0.2 | 2.0.2 |
| FreeBSD:15:quarterly | 2.0.2 | 2.0.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.0.2 | 2.0.2 | 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.
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
| File | Size | SHA256 |
|---|---|---|
| cmph-2.0.2.tar.gz | 532528 | 365f1e8056400d460f1ee7bfafdbf37d5ee6c78e8f4723bf4b3c081c89733f1e |
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.