notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
calc Interactive CLI arbitrary-precision calculator
2.16.1.2 math on this many watch lists=17 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.16.0.3Version of this port present on the latest quarterly branch.
Maintainer: adamw@FreeBSD.org search for ports maintained by this maintainer
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).
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

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:
  • calc>0:math/calc
Conflicts:
CONFLICTS_INSTALL:
  • schilyutils
  • calc-tiny
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):
calc
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.16.0.32.16.1.22.12.7.2_12.16.0.02.16.1.2n/an/an/a
FreeBSD:13:quarterly2.16.0.02.16.0.02.14.1.62.15.1.12.16.0.0n/an/an/a
FreeBSD:14:latest2.16.0.32.16.1.22.14.1.22.16.0.02.16.1.22.14.1.6-2.14.1.6
FreeBSD:14:quarterly2.16.0.02.16.0.0-2.15.1.12.16.0.02.15.0.42.15.0.42.15.0.4
FreeBSD:15:latest2.16.1.22.16.1.2n/a2.16.0.0n/an/a2.15.0.52.15.0.6
FreeBSD:15:quarterly2.16.0.02.16.0.0n/a-n/an/a--
FreeBSD:16:latest2.16.0.02.16.1.2n/a-n/an/a--
 

calc-tiny
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.16.0.32.16.1.2--2.16.1.2n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest2.16.0.32.16.1.2--2.16.1.2---
FreeBSD:14:quarterly--------
FreeBSD:15:latest2.16.1.22.16.1.2n/a-n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest-2.16.1.2n/a-n/an/a--
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gmake>=4.4.1 : devel/gmake
Library dependencies:
  1. libreadline.so.8 : devel/readline
This port is required by:
for Run
  1. 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:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/lcn2/calc/tar.gz/v2.16.1.2?dummy=/
Collapse this list.

Number of commits found: 102 (showing only 2 on this page)

«  1 | 2 

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
09 Nov 2000 04:58:30
commit hash: fp1.6176@dev.null.freshports.orgcommit hash: fp1.6176@dev.null.freshports.orgcommit hash: fp1.6176@dev.null.freshports.orgcommit hash: fp1.6176@dev.null.freshports.org files touched by this commit
jmz search for other commits by this committer
#include <sys/types.h> before <machine/endian.h>    
08 Oct 2000 04:10:26
commit hash: fp1.4777@dev.null.freshports.orgcommit hash: fp1.4777@dev.null.freshports.orgcommit hash: fp1.4777@dev.null.freshports.orgcommit hash: fp1.4777@dev.null.freshports.org files touched by this commit
asami search for other commits by this committer
Convert category math to new layout.  

Number of commits found: 102 (showing only 2 on this page)

«  1 | 2