mirror of
https://git.freebsd.org/ports.git
synced 2025-06-04 20:36:30 -04:00
New port
"Minimal perfect hashing code generator" PR: ports/86479 Submitted by: Charles Swiger <chuck@pkix.net> Approved by: pav (mentor)
This commit is contained in:
parent
d4f5822991
commit
e166570ddb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=143421
4 changed files with 37 additions and 0 deletions
|
@ -598,6 +598,7 @@
|
||||||
SUBDIR += monotone
|
SUBDIR += monotone
|
||||||
SUBDIR += motor
|
SUBDIR += motor
|
||||||
SUBDIR += mpatrol
|
SUBDIR += mpatrol
|
||||||
|
SUBDIR += mph
|
||||||
SUBDIR += mprof
|
SUBDIR += mprof
|
||||||
SUBDIR += msp430-binutils
|
SUBDIR += msp430-binutils
|
||||||
SUBDIR += msp430-gcc
|
SUBDIR += msp430-gcc
|
||||||
|
|
25
devel/mph/Makefile
Normal file
25
devel/mph/Makefile
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# New ports collection makefile for: mph
|
||||||
|
# Date created: 2005/9/22
|
||||||
|
# Whom: Chuck Swiger <chuck@pkix.net>
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
#
|
||||||
|
|
||||||
|
PORTNAME= mph
|
||||||
|
PORTVERSION= 1.2
|
||||||
|
CATEGORIES= devel
|
||||||
|
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
||||||
|
MASTER_SITE_SUBDIR= devel/lang/c
|
||||||
|
|
||||||
|
MAINTAINER= chuck@pkix.net
|
||||||
|
COMMENT= Minimal perfect hashing code generator
|
||||||
|
|
||||||
|
BIN_FILES= emitc mph mphm
|
||||||
|
PLIST_FILES= bin/emitc bin/mph bin/mphm
|
||||||
|
|
||||||
|
do-install:
|
||||||
|
.for i in ${BIN_FILES}
|
||||||
|
${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/bin/
|
||||||
|
.endfor
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
2
devel/mph/distinfo
Normal file
2
devel/mph/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
MD5 (mph-1.2.tar.gz) = 7ec447ccf11c40246d238b00a9dbb922
|
||||||
|
SIZE (mph-1.2.tar.gz) = 22762
|
9
devel/mph/pkg-descr
Normal file
9
devel/mph/pkg-descr
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
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.
|
||||||
|
|
||||||
|
WWW: http://www.ibiblio.org/pub/Linux/devel/lang/c
|
Loading…
Add table
Reference in a new issue