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.
===> The following configuration options are available for units-2.27:
READLINE=on: Command line editing via libreadline
UNITS_CUR=off: Include gunits_cur(8) for updating currency exchange rates
===> Use 'make config' to modify these settings
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)
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)
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
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