source: trunk/dports/science/udunits2/Portfile

Last change on this file was 145910, checked in by takeshi@…, 21 months ago

udunits2: update to 2.2.20, closing #50590

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- 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
2# $Id: Portfile 145910 2016-02-20 05:14:23Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name            udunits2
7version         2.2.20
8distname        udunits-${version}
9maintainers     takeshi
10license         UCAR-Unidata
11platforms       darwin
12categories      science
13
14description     Improved Unidata unit conversion libraray
15long_description \
16    The UDUNITS package supports units of physical quantities           \
17    (e.g., meters, seconds).  Specifically, it supports conversion      \
18    between string and binary representations of units,                 \
19    arithmetic manipulation of units, and conversion of numeric values  \
20    between compatible units. The UDUNIT-2 package differs from         \
21    the original UDUNITS package in the following ways:                 \
22    support for non-ASCII characters, support for logarithmic units,    \
23    persistent value converters, improved API, XML unit database,       \
24    and no Fortran or Perl API.
25
26homepage        http://www.unidata.ucar.edu/software/udunits/
27
28master_sites    ftp://ftp.unidata.ucar.edu/pub/udunits/ \
29                http://www.gfd-dennou.org/arch-large1/ucar/unidata/pub/udunits
30checksums           rmd160  f7e32f47f2767be21d13fada5c121ab4795ce175 \
31                    sha256  f10a02014bc6a200d50d8719997bb3a6b3d364de688469d2f7d599688dd9d195
32
33depends_lib     port:expat
34
35pre-destroot {
36    reinplace "s|install-data-hook||" ${worksrcpath}/lib/Makefile
37}
38
39use_autoreconf      yes
40
41configure.args-append   --includedir=${prefix}/include/${name} \
42                        --disable-dependency-tracking
43
44livecheck.type  regex
45livecheck.url   ${homepage}/udunits-current/doc/udunits/CHANGE_LOG
46livecheck.regex {(^[0-9]+\.[0-9]+\.[0-9]+)} 
Note: See TracBrowser for help on using the repository browser.