BSD Ports

devel/generate 2.8 NetBSD

Simple text pre-processor

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Categories
devel
Package size
21.2 KiB, 72.4 KiB installed

Description

Generate is a text preprocessor that I originally wrote to help me write custom accounting applications based on the Progress database product. I felt that the built in wasn't useful enough so I designed a new one and implemented it. It actually started life as a package configuration and batch file generator for DOS and mutated to a simple script interpreter to replace shar file distribution. At this point it has almost nothing in common with that first program.

The basic idea behind generate is to create a script which generates files. There is some simple flow control constructs but the power lies in its macro processing. I have shamelessly stolen ideas from cpp, m4, make and David Tilbrook's dtree.

In the other systems

SystemPortVersion
NetBSDdevel/generate2.8
FreeBSDdevel/generate3.2
DragonFlydevel/generate3.0
GhostBSDdevel/generate3.2

Install

Binary package:

pkgin install generate

From pkgsrc:

cd /usr/pkgsrc/devel/generate && 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.

RepositoryVersion
NetBSD 10.1 x86_642.8
NetBSD 10.1 aarch642.8
SmartOS / illumos x86_642.8
macOS 15 arm642.8

Dependencies

No port depends on this one.