Commit graph

6 commits

Author SHA1 Message Date
brook
fed8d9530b math/udunits: update to udunits2 v2.2.26.
The UDUNITS-2 package differs from the previous UDUNITS package in the
following ways:

    Support for non-ASCII characters. The original UDUNITS package only
    supports the ASCII character set. The UDUNITS-2 package supports
    the following character sets: ASCII, ISO 8859-1 (Latin 1), and the
    UTF-8 encoding of ISO 10646 (Unicode). This means that unit string
    specifications like "µ°F·Ω⁻¹" are now supported (your viewer
    must support UTF-8 to display this string correctly).

    Support for logarithmic units. The unit string specification
    "0.1 lg(re 1 mW)" specifies a deciBel unit with a one milliwatt
    reference level.  Meteorologists should note that the unit "dBZ"
    (i.e., "0.1 lg(re um^3)") is now supported.

    Persistent value converters. It is now possible to obtain a converter
    data-object, which can be used to convert numeric values in one
    unit to numeric values in another, compatible unit. The values can
    be float, double, or one-dimensional arrays of floats or doubles.

    Improved API. Due to the above changes, it was not possible to keep
    the application programming interface of the original UDUNITS
    package.  Beginning with version 2.1.0, however, the package
    contains a thin UDUNITS API to the UDUNITS-2 library, so code
    written to the original API can simply be recompiled and relinked
    against the new package.  Because the original UDUNITS API uses the
    "utUnit" data-structure and the UDUNITS-2 API uses pointers to
    "ut_unit" data-structures, a small memory-leak is possible in code
    that creates many units.  This leak can be avoided by calling the
    new method utFree(utUnit*) when the unit is no longer needed.

    XML unit database. The unit database is encoded using human-readable
    XML rather than a custom format. The XML parser included in the
    package supports an <import> element to allow easy and convenient
    customization.

One thing that has not changed is that all unit string specifications
understood by the original UDUNITS package are also understood by the
new UDUNITS-2 package.
2020-08-08 21:55:54 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
jlam
cdc3f61df1 Fix the installation of udunits using perl58 by including module.mk
(to note that this package installs a Perl module).  While I'm here,
bl3ify the package.
2004-03-22 17:29:02 +00:00
kristerw
6792f6a5fe Update udunits to version 1.12.1.
Changes since version 1.11.7:

1.12.1  2003-12-01
  Corrected omission of file "lib/udunits.inc.in" from
  distribution.

  Ported to Mac OSX (I hope).

1.12.0  2003-08-29
  Corrected definition of "apothecary_pound".

  Corrected documentation of "common_year" in the units
  database.

  Modified the syntax of a couple of statements in
  file "src/utlib.c" to accomodate the, apparently,
  non-conforming C/SX C compiler on NEC SX-4 SUPER-UX
  systems, which can't dereference a pointer returned by a
  function.

  Added "mi" to database as alias for "mile".

  Corrected documentation on origin-shift in unit
  specifications.

  Ported to systems with sizeof(double) <
  sizeof(DOUBLE PRECISION).

  Added determination of Fortran type equivalent to C pointer
  to configuration script.

  Added utIsInit() and utisopen() to the API.

  Corrected Hertz symbol: changed from "hz" to "Hz".

  Corrected reference to udunits(3) library in udunitsperl(1)
  manual-page.

  Added support for Absoft Fortran.
2004-01-24 02:01:53 +00:00
jmmv
89891d9632 Make udunits install its configuration file under the examples directory
and use bsd.pkg.install.mk to copy it to PKG_SYSCONFDIR.
Fix this package so that it can be cleaned as a regular user.
Bump PKGREVISION to 1.
2002-12-24 17:21:03 +00:00
zuntum
98cf373d36 Move pkg/ files into package's toplevel directory 2001-11-01 00:32:23 +00:00
Renamed from math/udunits/pkg/PLIST (Browse further)