| Port details |
- calc Interactive CLI arbitrary-precision calculator
- 2.17.0.2 math
=15 2.17.0.0Version of this port present on the latest quarterly branch. - Maintainer: adamw@FreeBSD.org
 - Port Added: unknown
- Last Update: 2026-09-30 05:10:54
- Commit Hash: f28a0ad
- People watching this port, also watch:: unzip, gmake, gettext, libiconv, expat
- 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 = 1790744999
SHA256 (lcn2-calc-v2.17.0.2_GH0.tar.gz) = 12471c2c23ae6b8a010be7472ef58e877a94022bd2e8c172cb60bede98b6417f
SIZE (lcn2-calc-v2.17.0.2_GH0.tar.gz) = 1309892
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
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for calc-2.17.0.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:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
2.11.5_1 04 Nov 2002 21:09:01
 |
jmz  |
Upgrade to version 2.11.5t4.5
PR: ports/44132
Submitted by: Sergey A.Osokin <osa@FreeBSD.org.ru> |
27 Jul 2001 03:28:53
    |
jmz  |
Remove pre-install target - nothing is installed in ${PREFIX}/lib/calc/ |
08 Jul 2001 03:11:50
    |
jmz  |
Upgrade to version 2.11.5. Install associated files in ${PREFIX}/share instead
of ${PREFIX}/lib |
07 Feb 2001 23:34:54
    |
jmz  |
Upgrade to version 2.11.2 Update MASTER_SITES |
09 Nov 2000 04:58:30
    |
jmz  |
#include <sys/types.h> before <machine/endian.h> |
08 Oct 2000 04:10:26
    |
asami  |
Convert category math to new layout. |