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
units Unit conversion and calculation
2.16_3 math on this many watch lists=6 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_3Version of this port present on the latest quarterly branch.
Maintainer: jharris@widomaker.com search for ports maintained by this maintainer
Port Added: 2001-11-03 04:08:49
Last Update: 2024-02-26 20:38:50
Commit Hash: 2ac46c9
People watching this port, also watch:: t1lib, gmake, zsh, expat, libiconv
License: GPLv3+
WWW:
https://www.gnu.org/software/units/
Description:
The Free Software Foundation's "units" unit conversion and calculation utility. GNU units converts quantities expressed in various scales to their equivalents in other scales. Units can only handle multiplicative scale changes. For example, it cannot convert Celsius to Fahrenheit but it can convert temperature differences between those temperature scales. The units are defined externally in an extensive, well annotated data file that defines over 2000 units. You can also provide your own data file. Note that this port will install the utility with a 'g' prefix, e.g. gunits, but the texinfo documentation will refer to it without the 'g' prefix.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (11 items)
Collapse this list.
  1. /usr/local/share/licenses/units-2.16_3/catalog.mk
  2. /usr/local/share/licenses/units-2.16_3/LICENSE
  3. /usr/local/share/licenses/units-2.16_3/GPLv3+
  4. bin/gunits
  5. share/units/currency.units
  6. share/units/definitions.units
  7. share/units/locale_map.txt
  8. share/man/man1/gunits.1.gz
  9. @owner
  10. @group
  11. @mode
Collapse this list.
Dependency lines:
  • units>0:math/units
To install the port:
cd /usr/ports/math/units/ && make install clean
To add the package, run one of these commands:
  • pkg install math/units
  • pkg install units
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: units
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1529173998 SHA256 (units-2.16.tar.gz) = dcf3f78482a13b150fc6bf0f8d611510816a3424bc2b26229b85b1cadeb81686 SIZE (units-2.16.tar.gz) = 1178197

Packages (timestamps in pop-ups are UTC):
units
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.16_32.16_32.16_22.16_32.16_3-2.16_2-
FreeBSD:13:quarterly2.16_32.16_32.16_22.16_32.16_32.16_22.16_22.16_2
FreeBSD:14:latest2.16_32.16_32.16_22.16_32.16_32.16_2-2.16_2
FreeBSD:14:quarterly2.16_32.16_3-2.16_32.16_32.16_22.16_22.16_2
FreeBSD:15:latest2.16_32.16_3n/a2.16_3n/a2.16_22.16_22.16_2
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Runtime dependencies:
  1. indexinfo : print/indexinfo
Library dependencies:
  1. libreadline.so.8 : devel/readline
This port is required by:
for Run

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. math/gdcalc*
  2. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
===> The following configuration options are available for units-2.16_3: READLINE=on: Command line editing via libreadline ===> Use 'make config' to modify these settings
Options name:
math_units
USES:
readline
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (11 items)
Collapse this list.
  1. ftp://ftp.fu-berlin.de/unix/gnu/units/
  2. ftp://ftp.mirrorservice.org/sites/ftp.gnu.org/gnu/units/
  3. ftp://mirrors.rit.edu/gnu/units/
  4. http://ftp.halifax.rwth-aachen.de/gnu/units/
  5. http://ftp.kddilabs.jp/GNU/gnu/units/
  6. http://mirror.navercorp.com/gnu/units/
  7. https://ftp.gnu.org/gnu/units/
  8. https://ftpmirror.gnu.org/units/
  9. https://mirror.netcologne.de/gnu/units/
  10. https://mirrors.kernel.org/gnu/units/
  11. https://www.nic.funet.fi/pub/gnu/gnu/units/
Collapse this list.

Number of commits found: 34

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.16_3
26 Feb 2024 20:38:50
commit hash: 2ac46c92ab055d54a91c66baa1da0a64a0a4697ccommit hash: 2ac46c92ab055d54a91c66baa1da0a64a0a4697ccommit hash: 2ac46c92ab055d54a91c66baa1da0a64a0a4697ccommit hash: 2ac46c92ab055d54a91c66baa1da0a64a0a4697c files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
math/units: Moved man to share/man

Approved by:    portmgr (blanket)
2.16_2
08 Sep 2022 15:46:38
commit hash: ade2a047e0eb835f7f42682496614cfd259757eacommit hash: ade2a047e0eb835f7f42682496614cfd259757eacommit hash: ade2a047e0eb835f7f42682496614cfd259757eacommit hash: ade2a047e0eb835f7f42682496614cfd259757ea files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW lines that have been moved into Makefiles

Approved by:	portmgr (implicit)
2.16_2
08 Sep 2022 15:43:21
commit hash: 986beaaabc71b9e7e29e7e89e0f36405b687216fcommit hash: 986beaaabc71b9e7e29e7e89e0f36405b687216fcommit hash: 986beaaabc71b9e7e29e7e89e0f36405b687216fcommit hash: 986beaaabc71b9e7e29e7e89e0f36405b687216f files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Move more WWW entries from pkg-descr files into Makefiles

The WWW: lines in the pkg-descr files of these ports where not at the
end of those files and have been missed in prior conversion runs.

Approved by:	portmgr (implicit)
2.16_2
20 Jul 2022 14:22:24
commit hash: f53eb28489aa8f30712cd8772d1a0e05c394a5dacommit hash: f53eb28489aa8f30712cd8772d1a0e05c394a5dacommit hash: f53eb28489aa8f30712cd8772d1a0e05c394a5dacommit hash: f53eb28489aa8f30712cd8772d1a0e05c394a5da files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
math: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Alessando Sagratini <ale_sagra@hotmail.com>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Amarendra Godbole <amarendra.godbole@gmail.com>
  *  Anders Nordby <anders@FreeBSD.org>
  *  Andreas Fehlner (fehlner@gmx.de)
  *  Andrew L. Neporada <andrew@chg.ru>
  *  Andrey <gugu@zoo.rambler.ru>
  *  Andrey Zakhvatov
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.16_2
15 May 2021 07:14:04
commit hash: 9671981826f7ef8b1e7fb0a430ee24d4a1f0acf2commit hash: 9671981826f7ef8b1e7fb0a430ee24d4a1f0acf2commit hash: 9671981826f7ef8b1e7fb0a430ee24d4a1f0acf2commit hash: 9671981826f7ef8b1e7fb0a430ee24d4a1f0acf2 files touched by this commit
Tobias Kortkamp (tobik) search for other commits by this committer
Author: Yasuhiro Kimura
*: Remove unnecessary 'port' argument from USES=readline

PR:		248459
Exp-run by:	antoine
2.16_2
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
2.16_2
19 Aug 2020 11:16:40
Revision:545314Original commit files touched by this commit
lwhsu search for other commits by this committer
Better to put OPTIONS_DEFINE before OPTIONS_DEFAULT
2.16_2
19 Aug 2020 11:14:30
Revision:545313Original commit files touched by this commit
lwhsu search for other commits by this committer
math/units: Add a default option READLINE to tuggle readline support

This makes sure the readline support is tuggled in the build time and not
affected by the libreadline installed or not during build/run time.

PR:		248631
Submitted by:	ports-units@shalott.net
Approved by:	jharris@widomaker.com (maintainer)
MFH:		2020Q3 (blanket: build, run, dependency fix)
2.16_1
10 Nov 2018 18:12:58
Revision:484628Original commit files touched by this commit
bapt search for other commits by this committer
Install texinfo files (GNU info) into ${PREFIX}/share/info

After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.

Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.

Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them

Bump revision of all impacted ports

PR:		232907
exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D17816
2.16
16 Jun 2018 19:04:49
Revision:472564Original commit files touched by this commit
krion search for other commits by this committer
Update to 2.16

PR:		229070
Submitted by:	maintainer
2.13
26 Jul 2016 15:54:16
Revision:419120Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Update to 2.13
- While here, fix LICENSE

PR:		211131
Submitted by:	jharris@widomaker.com (maintainer)
2.11
19 May 2016 10:44:12
Revision:415499Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Fix trailing whitespace in pkg-descrs, categories [g-n]*

Approved by:	portmgr blanket
2.11
14 May 2015 10:15:09
Revision:386312Original commit files touched by this commit
mat search for other commits by this committer
MASTER_SITES cleanup.

- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2.11
14 Nov 2014 09:39:21
Revision:372555Original commit files touched by this commit
antoine search for other commits by this committer
Cleanup plist
2.11
12 May 2014 12:35:07
Revision:353812Original commit files touched by this commit
ak search for other commits by this committer
- Update to 2.11

PR:	ports/189679
Submitted by:	Jason Harris <jharris@widomaker.com> (maintainer)
2.10_1
06 Apr 2014 13:43:14
Revision:350357Original commit files touched by this commit
ak search for other commits by this committer
- Fix plist
2.10
06 Apr 2014 11:54:17
Revision:350353Original commit files touched by this commit
ak search for other commits by this committer
- Update to 2.10

PR:	ports/188085
Submitted by:	Jason Harris <jharris@widomaker.com> (maintainer)
2.02
16 Feb 2014 16:16:42
Revision:344600Original commit files touched by this commit
miwi search for other commits by this committer
- Stage support
2.02
20 Sep 2013 20:55:06
Revision:327746Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
math)
2.02
17 Jul 2013 13:14:08
Revision:323165Original commit files touched by this commit
wg search for other commits by this committer
math/units: update to 2.02

- Update to 2.02

PR:		ports/180491
Submitted by:	Jason Harris <jharris widomaker.com> (maintainer)
2.01
25 Oct 2012 12:42:17
Revision:306382Original commit files touched by this commit
culot search for other commits by this committer
- Update to 2.01

PR:		ports/173048
Submitted by:	Jason Harris <jharris@widomaker.com> (maintainer)
Feature safe:	yes
2.00
03 Aug 2012 17:20:30
Original commit files touched by this commit
scheidell search for other commits by this committer
- Update to 2.00

PR:		ports/169917
Submitted by:	Klaus Aehlig <aehlig@linta.de>
Approved by:	maintainer (timeout, 17 days)
1.88
20 Mar 2011 12:54:45
Original commit files touched by this commit
miwi search for other commits by this committer
- Get Rid MD5 support
1.88
11 Aug 2010 03:30:41
Original commit files touched by this commit
sahil search for other commits by this committer
- Update to 1.88

PR:             ports/148932
Submitted by:   Klaus Aehlig <aehlig@linta.de>
Approved by:    Jason Harris <jharris@widomaker.com> (maintainer)
1.87
10 May 2010 13:09:06
Original commit files touched by this commit
makc search for other commits by this committer
Update to 1.87

PR:             ports/143742
Submitted by:   Rob Farmer <rfarmer at predatorlabs.net>
Aproved by:     maintainer timeout (3 months)
1.85
22 Jan 2006 12:56:47
Original commit files touched by this commit
edwin search for other commits by this committer
SHA256ify

Approved by: krion@
1.85
25 May 2005 00:07:38
Original commit files touched by this commit
jylefort search for other commits by this committer
Update to 1.85

PR:             ports/81365
Submitted by:   maintainer
1.80
21 Jul 2004 14:52:54
Original commit files touched by this commit
osa search for other commits by this committer
Move pkg's files to Makefile, remove pkg-plist.

Approved by:    Jason Harris jharris at widomaker dot com (maintainer)
1.80
31 Mar 2004 03:12:58
Original commit files touched by this commit
trevor search for other commits by this committer
SIZEify (maintainer timeout)
1.80
03 Dec 2003 19:49:19
Original commit files touched by this commit
pav search for other commits by this committer
- Fix build with gcc 3.3
- Use INFO macro

PR:             ports/59866
Submitted by:   Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
Approved by:    maintainer
Approved by:    marcus (portmgr)
1.80
21 Feb 2003 12:44:05
Original commit files touched by this commit
knu search for other commits by this committer
De-pkg-comment.
1.80
29 Jun 2002 19:59:46
Original commit files touched by this commit
ijliao search for other commits by this committer
upgrade to 1.80

PR:             40008
Submitted by:   maintainer
1.74
02 Apr 2002 02:43:29
Original commit files touched by this commit
ijliao search for other commits by this committer
take over maintainership

PR:             36632
Submitted by:   Jason Harris <jharris@widomaker.com>
03 Nov 2001 07:08:49
commit hash: fp1.20359@dev.null.freshports.orgcommit hash: fp1.20359@dev.null.freshports.orgcommit hash: fp1.20359@dev.null.freshports.orgcommit hash: fp1.20359@dev.null.freshports.org files touched by this commit
petef search for other commits by this committer
Add units-1.74, the GNU version of the units program: unit conversion and  
calculation    

Number of commits found: 34