math/pcalc 5 FreeBSD
Command line util for doing hex/dec/oct/bin math quickly
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- GPLv2
- Categories
- math
- Package size
- 29.2 KiB, 65.8 KiB installed
Description
A programmer's command line calculator for doing hex/dec/oct/bin math quickly.
Features:
- Full math parser, parentheses, add, sub, mult, div, exponential
- Automatic conversion between HEX DEC OCT BIN numbers
- Mixing different bases in one expression
- Definable variables
- Math constants (E PI ...)
- Built in math functions (sin/cos/sqrt ...)
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | math/pcalc | 5 |
| OpenBSD | math/pcalc | 4p0 |
| DragonFly | math/pcalc | 5 |
| HardenedBSD | math/pcalc | 5 |
| GhostBSD | math/pcalc | 5 |
Install
Binary package:
pkg install pcalc
From the ports tree:
cd /usr/ports/math/pcalc/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= pcalc>0:math/pcalc
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 | 5 | 5 | - | 5 | 5 |
| FreeBSD:14:quarterly | 5 | 5 | n/a | 5 | 5 |
| FreeBSD:15:latest | 5 | 5 | n/a | 5 | 5 |
| FreeBSD:15:quarterly | 5 | 5 | n/a | n/a | n/a |
| FreeBSD:16:latest | 5 | 5 | 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.
Build dependencies 6
No port depends on this one.
Configuration
Options name: math_pcalc
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
- USES
- bison gmake
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| vapier-pcalc-v5_GH0.tar.gz | 26563 | 6a557bdb315ae4552e58efd80b94b372e4e10199e80148fe796dc325750302c8 |
Commit history 0
No commits in the history this site was built from.