graphics/grap 1.45 NetBSD
Language for typesetting graphs
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- 2-clause-bsd
- Categories
- graphics
- Package size
- 134.7 KiB, 443.7 KiB installed
Description
This is a free reimplementation of Kernighan and Bentley's grap language for typesetting graphs, as described in ``Grap-A Language for Typesetting Graphs, Tutorial and User Manual,'' by Jon L. Bentley and Brian W. Kernighan, revised May 1991, which is the primary source for information on how to use grap.
grap is a pic pre-processor. It takes commands embedded in a troff source file which are surrounded by .G1 and .G2 macros, and rewrites them into pic commands to display the graph.
Because grap is a pic preprocessor, and GNU pic will output TeX, it is possible to use grap with TeX.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | graphics/grap | 1.45 |
| FreeBSD | textproc/grap | 1.49 |
| OpenBSD | graphics/grap | 1.49 |
| DragonFly | textproc/grap | 1.46_1 |
| HardenedBSD | textproc/grap | 1.49 |
| GhostBSD | textproc/grap | 1.49 |
Install
Binary package:
pkgin install grap
From pkgsrc:
cd /usr/pkgsrc/graphics/grap && 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 | 1.45 |
| NetBSD 10.1 aarch64 | 1.45 |
| SmartOS / illumos x86_64 | 1.45 |
| macOS 15 arm64 | 1.45 |
Dependencies
No port depends on this one.