BSD Ports

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

SystemPortVersion
FreeBSDmath/pcalc5
OpenBSDmath/pcalc4p0
DragonFlymath/pcalc5
HardenedBSDmath/pcalc5
GhostBSDmath/pcalc5

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest55-55
FreeBSD:14:quarterly55n/a55
FreeBSD:15:latest55n/a55
FreeBSD:15:quarterly55n/an/an/a
FreeBSD:16:latest55n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
bison gmake
Service scripts
none

Files

distinfo 1
FileSizeSHA256
vapier-pcalc-v5_GH0.tar.gz265636a557bdb315ae4552e58efd80b94b372e4e10199e80148fe796dc325750302c8

Commit history 0

No commits in the history this site was built from.