From owner-freebsd-ports Sat Jul 31 18:40:47 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 2FE8A14EE4 for ; Sat, 31 Jul 1999 18:40:43 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id SAA97858; Sat, 31 Jul 1999 18:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from mail.dinoex.sub.org (mail.dinoex.sub.de [195.243.29.14]) by hub.freebsd.org (Postfix) with ESMTP id 1B9B314C3F for ; Sat, 31 Jul 1999 18:33:41 -0700 (PDT) (envelope-from dm@home.dinoex.sub.org) Received: (from uucp@localhost) by mail.dinoex.sub.org (8.9.3/8.9.3) with UUCP id CAA04861 for FreeBSD-gnats-submit@freebsd.org; Sun, 1 Aug 1999 02:15:26 +0200 (CEST) Received: (from uucp@localhost) by net2.dinoex.sub.org (8.9.3/8.9.3) with UUCP id XAA17833 for FreeBSD-gnats-submit@freebsd.org; Sat, 31 Jul 1999 23:32:44 +0200 (CEST) Received: (from dm@localhost) by home.dinoex.sub.org (8.9.3/8.9.3) id WAA64662; Sat, 31 Jul 1999 22:45:57 +0200 (CEST) Message-Id: <199907312045.WAA64662@home.dinoex.sub.org> Date: Sat, 31 Jul 1999 22:45:57 +0200 (CEST) From: dirk.meyer@dinoex.sub.org Reply-To: dirk.meyer@dinoex.sub.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/12904: new ports/devel/gperf Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12904 >Category: ports >Synopsis: new ports/devel/gperf >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jul 31 18:40:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Dirk Meyer >Release: FreeBSD 3.2-RELEASE i386 >Organization: privat >Environment: building gateways like unix-connect >Description: some programs need a new version of gperf to compile. >How-To-Repeat: >Fix: add this ports to the tree # 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: # # gperf # gperf/Makefile # gperf/files # gperf/files/md5 # gperf/pkg # gperf/pkg/PLIST # gperf/pkg/DESCR # gperf/pkg/COMMENT # echo c - gperf mkdir -p gperf > /dev/null 2>&1 echo x - gperf/Makefile sed 's/^X//' >gperf/Makefile << 'END-of-gperf/Makefile' X# New ports collection makefile for: unix-connect X# Version required: 2.7 X# Date created: 19.04.1999 X# Whom: dirk.meyer@dinoex.sub.org X# X# $Id$ X# X XDISTNAME= gperf-2.7 XCATEGORIES= devel XMASTER_SITES= ftp://ftp.dinoex.sub.de/pub/approved/ \ X ${MASTER_SITE_GNU} X XMAINTAINER= dirk.meyer@dinoex.sub.org X XGNU_CONFIGURE= yes XMAN= gperf.1 X X.include END-of-gperf/Makefile echo c - gperf/files mkdir -p gperf/files > /dev/null 2>&1 echo x - gperf/files/md5 sed 's/^X//' >gperf/files/md5 << 'END-of-gperf/files/md5' XMD5 (gperf-2.7.tar.gz) = f37fb2d0ab56facb1f851ceb208504b9 END-of-gperf/files/md5 echo c - gperf/pkg mkdir -p gperf/pkg > /dev/null 2>&1 echo x - gperf/pkg/PLIST sed 's/^X//' >gperf/pkg/PLIST << 'END-of-gperf/pkg/PLIST' X@cwd /usr/local Xbin/gperf Xinfo/gperf.info Xman/dvi/gperf.dvi Xman/html/gperf.html X@dirrm man/dvi X@dirrm man/html END-of-gperf/pkg/PLIST echo x - gperf/pkg/DESCR sed 's/^X//' >gperf/pkg/DESCR << 'END-of-gperf/pkg/DESCR' XWhile teaching a data structures course at University of California, XIrvine, I developed a program called GPERF that generates perfect hash Xfunctions for sets of key words. A perfect hash function is simply: X X A hash function and a data structure that allows X recognition of a key word in a set of words using X exactly 1 probe into the data structure. X XThe gperf.texinfo file explains how the program works, the form of the Xinput, what options are available, and hints on choosing the best Xoptions for particular key word sets. The texinfo file is readable Xboth via the GNU emacs `info' command, and is also suitable for Xtypesetting with TeX. X XThe enclosed Makefile creates the executable program ``gperf'' and Xalso runs some tests. X XOutput from the GPERF program is used to recognize reserved words in Xthe GNU C, GNU C++, and GNU Pascal compilers, as well as with the GNU Xindent program. X XHappy hacking! X XDouglas C. Schmidt END-of-gperf/pkg/DESCR echo x - gperf/pkg/COMMENT sed 's/^X//' >gperf/pkg/COMMENT << 'END-of-gperf/pkg/COMMENT' Xgenerates perfect hash functions for sets of key words END-of-gperf/pkg/COMMENT exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message