# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name udunits2 version 2.2.20 distname udunits-${version} maintainers takeshi license UCAR-Unidata platforms darwin categories science description Improved Unidata unit conversion libraray long_description \ The UDUNITS package supports units of physical quantities \ (e.g., meters, seconds). Specifically, it supports conversion \ between string and binary representations of units, \ arithmetic manipulation of units, and conversion of numeric values \ between compatible units. The UDUNIT-2 package differs from \ the original UDUNITS package in the following ways: \ support for non-ASCII characters, support for logarithmic units, \ persistent value converters, improved API, XML unit database, \ and no Fortran or Perl API. homepage http://www.unidata.ucar.edu/software/udunits/ master_sites ftp://ftp.unidata.ucar.edu/pub/udunits/ \ http://www.gfd-dennou.org/arch-large1/ucar/unidata/pub/udunits checksums rmd160 f7e32f47f2767be21d13fada5c121ab4795ce175 \ sha256 f10a02014bc6a200d50d8719997bb3a6b3d364de688469d2f7d599688dd9d195 depends_lib port:expat pre-destroot { reinplace "s|install-data-hook||" ${worksrcpath}/lib/Makefile } use_autoreconf yes configure.args-append --includedir=${prefix}/include/${name} \ --disable-dependency-tracking livecheck.type regex livecheck.url ${homepage}/udunits-current/doc/udunits/CHANGE_LOG livecheck.regex {(^[0-9]+\.[0-9]+\.[0-9]+)}