pkgsrc/math/udunits/Makefile
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

30 lines
886 B
Makefile

# $NetBSD: Makefile,v 1.14 2004/01/24 02:01:53 kristerw Exp $
DISTNAME= udunits
PKGNAME= udunits-1.12.1
CATEGORIES= math devel
MASTER_SITES= http://www.unidata.ucar.edu/packages/udunits/
EXTRACT_SUFX= .tar.Z
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.unidata.ucar.edu/packages/udunits/
COMMENT= Library and program for manipulating units of physical quantities
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}/src
DIST_SUBDIR= ${PKGNAME_NOREV}
USE_BUILDLINK2= yes
USE_PKGINSTALL= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -Df2cFortran -Dunix
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/UDUNITS/.packlist
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
EGDIR= ${PREFIX}/share/examples/udunits
CONF_FILES= ${EGDIR}/udunits.dat ${PKG_SYSCONFDIR}/udunits.dat
post-install:
${RM} -rf ${WRKSRC}/perl/blib/lib
.include "../../lang/perl5/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"