# -*- 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: Portfile 115284 2013-12-30 19:51:57Z sean@macports.org $

PortSystem          1.0

name                numdiff
version             5.8.1
categories          science math
maintainers         sean openmaintainer
license             GFDL-1.3+

description         Compare files containing numerical fields.
long_description    When you compare a couple of such files, what you want to \
obtain usually is a list of the numerical fields in the second file which \
numerically differ from the corresponding fields in the first file. Well known \
tools like diff, cmp or wdiff can not be used to this purpose: they can not \
recognize whether a difference between two numerical fields is only due to the \
notation or is actually a difference of numerical values.

homepage            http://www.nongnu.org/numdiff/
platforms           darwin
master_sites        http://savannah.nongnu.org/download/numdiff/

checksums           rmd160  c0a2c569ca7f747678a5f39a09f9bfd7055a6133 \
                    sha256  99aebaadf63325f5658411c09c6dde60d2990c5f9a24a51a6851cb574a4af503

depends_lib         port:gmp

# do not install the natural language support
configure.args      --disable-nls

destroot.destdir    prefix=${destroot}${prefix}

livecheck.type      regexm
livecheck.url       ${homepage}
livecheck.regex     <B>New</B>\\s+<B>version</B>\\s+<B>(\\d+(?:\\.\\d+)*)</B>
