Portfile

# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $

PortSystem 1.0
name ndiff
version 2.00
categories math
maintainers nomaintainer@macports.org
description compare putatively similar files
long_description \
ndiff assumes that you have two text files containing numerical \
values, and the two files are expected to be identical, or at least \
numerically similar. ndiff allows you to specify absolute and/or \
relative error tolerances for differences between numerical values \
in the two files, and then reports only the lines with values \
exceeding those tolerances. It also tells you by how much they \
differ.

homepage http://www.math.utah.edu/~beebe/software/ndiff/
platforms darwin
master_sites ftp://ftp.math.utah.edu/pub/misc/
checksums md5 885548b4dc26e72c5455bebb5ba6c16d

patchfiles patch-Makefile.in

pre-test {
cd ${worksrcpath}
system "patch -p0 < ${filespath}/patch-Makefile"
}
test.run yes
test.target check

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

files