From owner-freebsd-ports Sun Feb 13 17:59:53 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by builder.freebsd.org (Postfix) with ESMTP id 1C9C44608 for ; Sun, 13 Feb 2000 17:59:50 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id SAA27896; Sun, 13 Feb 2000 18:00:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from Island.DHS.ORG (adsl-209-233-20-103.dsl.snfc21.pacbell.net [209.233.20.103]) by builder.freebsd.org (Postfix) with ESMTP id F063F46EB for ; Sun, 13 Feb 2000 17:49:55 -0800 (PST) Received: (from abel@localhost) by Island.DHS.ORG (8.9.3/8.9.3) id SAA48268; Sun, 13 Feb 2000 18:02:58 -0800 (PST) (envelope-from abel) Message-Id: <200002140202.SAA48268@Island.DHS.ORG> Date: Sun, 13 Feb 2000 18:02:58 -0800 (PST) From: Abel Chow Reply-To: abel@Island.DHS.ORG To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/16704: cproto Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 16704 >Category: ports >Synopsis: cproto >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Feb 13 18:00:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Abel Chow >Release: FreeBSD 3.4-STABLE i386 >Organization: >Environment: >Description: Generate C function prototypes and convert function definitions >How-To-Repeat: >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: # # cproto # cproto/Makefile # cproto/pkg # cproto/pkg/COMMENT # cproto/pkg/DESCR # cproto/pkg/PLIST # cproto/files # cproto/files/md5 # echo c - cproto mkdir -p cproto > /dev/null 2>&1 echo x - cproto/Makefile sed 's/^X//' >cproto/Makefile << 'END-of-cproto/Makefile' X# ports collection makefile for: cproto X# Version required: 4.6b X# Date created: 2000 Feb. 13 X# Whom: Abel Chow X# X# $FreeBSD$ X# X XDISTNAME= cproto-4.6 XCATEGORIES= devel XMASTER_SITES= http://www.vex.net/~cthuang/cproto/ X XMAINTAINER= ports@FreeBSD.org X XGNU_CONFIGURE= Yes XMAN1= cproto.1 X X.include END-of-cproto/Makefile echo c - cproto/pkg mkdir -p cproto/pkg > /dev/null 2>&1 echo x - cproto/pkg/COMMENT sed 's/^X//' >cproto/pkg/COMMENT << 'END-of-cproto/pkg/COMMENT' XGenerate C function prototypes and convert function definitions END-of-cproto/pkg/COMMENT echo x - cproto/pkg/DESCR sed 's/^X//' >cproto/pkg/DESCR << 'END-of-cproto/pkg/DESCR' XCproto is a program that generates function prototypes and variable Xdeclarations from C source code. It can also convert function definitions Xbetween the old style and the ANSI C style. This conversion overwrites the Xoriginal files, so make a backup copy of your files in case something goes Xwrong. X XThe program isn't confused by complex function definitions as much as other Xprototype generators because it uses a yacc generated parser. By ignoring all Xthe input between braces, I avoided implementing the entire C language grammar. X XCproto is in the public domain, except for the configure script which is Xcopyrighted by the Free Software Foundation, Inc. If you have any comments Xor find any bugs, please let me know. X XChin Huang Xcthuang@vex.net Xcthuang@interlog.com END-of-cproto/pkg/DESCR echo x - cproto/pkg/PLIST sed 's/^X//' >cproto/pkg/PLIST << 'END-of-cproto/pkg/PLIST' Xbin/cproto END-of-cproto/pkg/PLIST echo c - cproto/files mkdir -p cproto/files > /dev/null 2>&1 echo x - cproto/files/md5 sed 's/^X//' >cproto/files/md5 << 'END-of-cproto/files/md5' XMD5 (cproto-4.6.tar.gz) = 5968d18e9508b2892471e6ef16e140e3 END-of-cproto/files/md5 exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message