BSD Ports

devel/mph 1.2 FreeBSD

Minimal perfect hashing code generator

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Categories
devel
Package size
11.3 KiB, 36.0 KiB installed

Description

The program mph tries to generate an order preserving minimal perfect hashing (MPH) function for the set of keys, one per line, on stdin. Each key can be at most 4095 characters long (see keys.h to increase this limit), and the keys must be unique. If mph terminates, it emits a language independent binary or text representation of the MPH function on stdout. To generate a usable hash function, this output should be fed to a language dependent filter, like emitc.

In the other systems

SystemPortVersion
FreeBSDdevel/mph1.2
NetBSDdevel/mph1.2
DragonFlydevel/mph1.2

Install

Binary package:

pkg install mph

From the ports tree:

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

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

RUN_DEPENDS=	mph>0:devel/mph

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:latest1.21.21.21.21.2
FreeBSD:14:quarterly1.21.2n/a1.21.2
FreeBSD:15:latest1.21.2n/a1.21.2
FreeBSD:15:quarterly1.21.2n/an/an/a
FreeBSD:16:latest1.21.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.

Service scripts
none

Message after installing

===>   NOTICE:

The mph port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

Files

distinfo 1
FileSizeSHA256
mph-1.2.tar.gz22762e21c97526384b9628879247f6f5050d9a08be42da8b8d196cda55c2a67a3b74d
Master sites 1
  • SUNSITE/devel/lang/c

Commit history 0

No commits in the history this site was built from.