# -*- 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

PortSystem          1.0

name                numdiff
version             5.9.0
categories          science math
maintainers         nomaintainer
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            https://www.nongnu.org/numdiff/
platforms           darwin
master_sites        https://savannah.nongnu.org/download/numdiff/

checksums           rmd160  f6fb3a6bc046861f02575ce1cf55b12e19ed99f4 \
                    sha256  87284a117944723eebbf077f857a0a114d818f8b5b54d289d59e73581194f5ef

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>
