devel/cproto 4.8a FreeBSD
Generate C function prototypes and convert function definitions
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
a6f8d99bf9- License
- PD
- Categories
- devel
- Package size
- 41.4 KiB, 101.5 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/cproto | 4.8a |
| NetBSD | devel/cproto | 4.7o |
| DragonFly | devel/cproto | 4.7x |
| HardenedBSD | devel/cproto | 4.8a |
| GhostBSD | devel/cproto | 4.8a |
Install
Binary package:
pkg install cproto
From the ports tree:
cd /usr/ports/devel/cproto/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= cproto>0:devel/cproto
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 4.8a | 4.8a | 4.7k | 4.7x | 4.8a |
| FreeBSD:14:quarterly | 4.8a | 4.8a | n/a | 4.7x | 4.8a |
| FreeBSD:15:latest | 4.8a | 4.8a | n/a | 4.7x | 4.7x |
| FreeBSD:15:quarterly | 4.8a | 4.8a | n/a | n/a | n/a |
| FreeBSD:16:latest | 4.8a | 4.8a | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Required by 1
Configuration
No options to configure.
- USES
- tar:tgz
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| cproto-4.8a.tgz | 198804 | beb121e08c0d47b5bd719071c32a77edcc31dff992a84e3d9a59c0f7ec9fadd3 |
Master sites 2
- https://invisible-island.net/archives/cproto/
- https://invisible-mirror.net/archives/cproto/
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
a6f8d99bf9 |
Tom Vogt | devel/cproto: Update to 4.8a Changelog: https://invisible-island.net/cproto/CHANGES
PR: 297100
Reported by: Tom Vogt <[email protected]> (maintainer) |