devel/autogen 5.18.16nb18 NetBSD
The Automated Text and Program Generation Tool
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
41878040c0- License
- gnu-gpl-v3
- Categories
- devel
- Package size
- 567.6 KiB, 2003.1 KiB installed
Description
AutoGen is a tool designed for generating program files that contain repetitive text with varied substitutions. Its goal is to simplify the maintenance of programs that contain large amounts of repetitious text. This is especially valuable if there are several blocks of such text that must be kept synchronized.
One common example is the problem of maintaining the code required for processing program options. Processing options requires a minimum of four different constructs be kept in proper order in different places in your program. You need at least:
- The flag character in the flag string,
- code to process the flag when it is encountered,
- a global state variable or two, and
- a line in the usage text.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | devel/autogen | 5.18.16nb18 |
| FreeBSD | devel/autogen | 5.18.16_6 |
| OpenBSD | devel/autogen | 5.16.2 |
| DragonFly | devel/autogen | 5.18.16_4 |
| MidnightBSD | devel/autogen | 5.18.16_3 |
| HardenedBSD | devel/autogen | 5.18.16_6 |
| GhostBSD | devel/autogen | 5.18.16_6 |
Install
Binary package:
pkgin install autogen
From pkgsrc:
cd /usr/pkgsrc/devel/autogen && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 5.18.16nb18 |
| NetBSD 10.1 aarch64 | 5.18.16nb17 |
| SmartOS / illumos x86_64 | 5.18.16nb18 |
| macOS 15 arm64 | 5.18.16nb18 |