| Port details |
- calc Interactive CLI arbitrary-precision calculator
- 2.16.1.2 math
=17 2.16.0.3Version of this port present on the latest quarterly branch. - Maintainer: adamw@FreeBSD.org
 - Port Added: unknown
- Last Update: 2026-01-08 13:37:52
- Commit Hash: 86d7a29
- People watching this port, also watch:: unzip, gmake, libiconv, gettext, wget
- License: LGPL21
- WWW:
- https://github.com/lcn2/calc
- Description:
- Calc is an interactive calculator which provides for easy large
numeric calculations, but which also can be easily programmed for
difficult or long calculations. It can accept a command line
argument, in which case it executes that single command and exits.
Otherwise, it enters interactive mode. There are a great number
of pre-defined functions. The calculator can calculate transcendental
functions, and accept and display numbers in real or exponential format.
The calculator also knows about complex numbers.
There is a "tiny" flavor (pkg install calc-tiny) that excludes both
the help files and loadable modules. It provides a basic calculator
(still with MANY built-in functions) in under 20K (on amb64). Note
that the tiny flavor installs a static executable only, so libcalc.so
is not available (as of the time of writing, no other ports use it).
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- Conflicts:
- CONFLICTS_INSTALL:
- To install the port:
- cd /usr/ports/math/calc/ && make install clean
- To add the package, run one of these commands:
- pkg install math/calc
- pkg install calc
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: calc
- Package flavors (<flavor>: <package>)
- default: calc
- tiny: calc-tiny
- distinfo:
- TIMESTAMP = 1767879358
SHA256 (lcn2-calc-v2.16.1.2_GH0.tar.gz) = cb5b0576c3d206ed55b6929cc3a1ebc5afedbfdc70d528274cbac8e650c56d77
SIZE (lcn2-calc-v2.16.1.2_GH0.tar.gz) = 1310217
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gmake>=4.4.1 : devel/gmake
- Library dependencies:
-
- libreadline.so.8 : devel/readline
- This port is required by:
- for Run
-
- math/bcal
Configuration Options:
- ===> The following configuration options are available for calc-2.16.1.2:
FULL=on: Install all funcs/scripts/headers (OFF: just basic calculator)
HELP=on: Install calc help files
===> Use 'make config' to modify these settings
- Options name:
- math_calc
- USES:
- gmake tar:bzip2 readline
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|