diff options
author | billf <billf@FreeBSD.org> | 2000-02-29 20:10:16 +0000 |
---|---|---|
committer | billf <billf@FreeBSD.org> | 2000-02-29 20:10:16 +0000 |
commit | 6b215b66addb3f837e3d0bb5eb79fb2f0d973701 (patch) | |
tree | 50a267cda8a8b68b42cec38e5db667562ae1370c /devel | |
parent | 7a0516919d4ff6a5af09dcdc5b851f31b6a2b42b (diff) | |
download | FreeBSD-ports-6b215b66addb3f837e3d0bb5eb79fb2f0d973701.zip FreeBSD-ports-6b215b66addb3f837e3d0bb5eb79fb2f0d973701.tar.gz |
Cproto is a program that generates function prototypes and variable
declarations from C source code. It can also convert function definitions
between the old style and the ANSI C style. This conversion overwrites the
original files, so make a backup copy of your files in case something goes
wrong.
The program isn't confused by complex function definitions as much as other
prototype generators because it uses a yacc generated parser. By ignoring all
the input between braces, I avoided implementing the entire C language grammar.
WWW: http://www.vex.net/~cthuang/cproto/
PR: ports/16704
Submitted by: Abel Chow <abel@Island.DHS.ORG>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/cproto/Makefile | 18 | ||||
-rw-r--r-- | devel/cproto/distinfo | 1 | ||||
-rw-r--r-- | devel/cproto/pkg-comment | 1 | ||||
-rw-r--r-- | devel/cproto/pkg-descr | 19 | ||||
-rw-r--r-- | devel/cproto/pkg-plist | 1 |
5 files changed, 40 insertions, 0 deletions
diff --git a/devel/cproto/Makefile b/devel/cproto/Makefile new file mode 100644 index 0000000..e87eb39 --- /dev/null +++ b/devel/cproto/Makefile @@ -0,0 +1,18 @@ +# ports collection makefile for: cproto +# Version required: 4.6b +# Date created: 2000 Feb. 13 +# Whom: Abel Chow <abel_chow@yahoo.com> +# +# $FreeBSD$ +# + +DISTNAME= cproto-4.6 +CATEGORIES= devel +MASTER_SITES= http://www.vex.net/~cthuang/cproto/ + +MAINTAINER= ports@FreeBSD.org + +GNU_CONFIGURE= YES +MAN1= cproto.1 + +.include <bsd.port.mk> diff --git a/devel/cproto/distinfo b/devel/cproto/distinfo new file mode 100644 index 0000000..a3b6646 --- /dev/null +++ b/devel/cproto/distinfo @@ -0,0 +1 @@ +MD5 (cproto-4.6.tar.gz) = 5968d18e9508b2892471e6ef16e140e3 diff --git a/devel/cproto/pkg-comment b/devel/cproto/pkg-comment new file mode 100644 index 0000000..1910491 --- /dev/null +++ b/devel/cproto/pkg-comment @@ -0,0 +1 @@ +Generate C function prototypes and convert function definitions diff --git a/devel/cproto/pkg-descr b/devel/cproto/pkg-descr new file mode 100644 index 0000000..00f6f7c --- /dev/null +++ b/devel/cproto/pkg-descr @@ -0,0 +1,19 @@ +Cproto is a program that generates function prototypes and variable +declarations from C source code. It can also convert function definitions +between the old style and the ANSI C style. This conversion overwrites the +original files, so make a backup copy of your files in case something goes +wrong. + +The program isn't confused by complex function definitions as much as other +prototype generators because it uses a yacc generated parser. By ignoring all +the input between braces, I avoided implementing the entire C language grammar. + +Cproto is in the public domain, except for the configure script which is +copyrighted by the Free Software Foundation, Inc. If you have any comments +or find any bugs, please let me know. + +WWW: http://www.vex.net/~cthuang/cproto/ + +Chin Huang +cthuang@vex.net +cthuang@interlog.com diff --git a/devel/cproto/pkg-plist b/devel/cproto/pkg-plist new file mode 100644 index 0000000..0be66fc --- /dev/null +++ b/devel/cproto/pkg-plist @@ -0,0 +1 @@ +bin/cproto |