ports/86479: New port: devel/mph

Charles Swiger chuck at pkix.net
Fri Sep 23 00:00:31 UTC 2005


>Number:         86479
>Category:       ports
>Synopsis:       New port: devel/mph
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 23 00:00:30 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Charles Swiger
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
PKIx
>Environment:
System: FreeBSD ns1.pkix.net 4.11-STABLE FreeBSD 4.11-STABLE #0: Sat Jun 18 18:51:43 EDT 2005 root at ns1.pkix.net:/usr/obj/usr/src/sys/NORMAL i386

	
>Description:

PHK requested that someone make a port for mph utility, which is used by make.

>How-To-Repeat:

N/A.

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	/usr/ports/devel/mph
#	/usr/ports/devel/mph/files
#	/usr/ports/devel/mph/Makefile
#	/usr/ports/devel/mph/distinfo
#	/usr/ports/devel/mph/pkg-descr
#
echo c - /usr/ports/devel/mph
mkdir -p /usr/ports/devel/mph > /dev/null 2>&1
echo c - /usr/ports/devel/mph/files
mkdir -p /usr/ports/devel/mph/files > /dev/null 2>&1
echo x - /usr/ports/devel/mph/Makefile
sed 's/^X//' >/usr/ports/devel/mph/Makefile << 'END-of-/usr/ports/devel/mph/Makefile'
X# New ports collection makefile for:	mph
X# Date created:         2005/9/22
X# Whom:                 Chuck Swiger <chuck at pkix.net>
X#
X# $FreeBSD: $
X#
X
XPORTNAME=	mph
XPORTVERSION=	1.2
XCATEGORIES=	devel
XMASTER_SITES=	${MASTER_SITE_SUNSITE}
XMASTER_SITE_SUBDIR=	devel/lang/c
X
XMAINTAINER=	chuck at pkix.net
XCOMMENT=	Minimal perfect hashing code generator
X
XBIN_FILES=	emitc mph mphm
XPLIST_FILES=	bin/emitc bin/mph bin/mphm
X
Xdo-install:
X.for i in ${BIN_FILES}
X	${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/bin/
X.endfor
X
X.include <bsd.port.mk>
END-of-/usr/ports/devel/mph/Makefile
echo x - /usr/ports/devel/mph/distinfo
sed 's/^X//' >/usr/ports/devel/mph/distinfo << 'END-of-/usr/ports/devel/mph/distinfo'
XMD5 (mph-1.2.tar.gz) = 7ec447ccf11c40246d238b00a9dbb922
XSIZE (mph-1.2.tar.gz) = 22762
END-of-/usr/ports/devel/mph/distinfo
echo x - /usr/ports/devel/mph/pkg-descr
sed 's/^X//' >/usr/ports/devel/mph/pkg-descr << 'END-of-/usr/ports/devel/mph/pkg-descr'
XThe program mph tries to generate an order preserving minimal perfect
Xhashing (MPH) function for the set of keys, one per line, on stdin.
XEach key can be at most 4095 characters long (see keys.h to increase
Xthis limit), and the keys must be unique. If mph terminates, it emits
Xa language independent binary or text representation of the MPH
Xfunction on stdout. To generate a usable hash function, this output
Xshould be fed to a language dependent filter, like emitc.
X
XWWW: http://www.ibiblio.org/pub/Linux/devel/lang/c
END-of-/usr/ports/devel/mph/pkg-descr
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list