mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
for pf in */*/Portfile
do
ed -s "$pf" <<-'EOF'
1,3g/^[[:space:]]*#[[:space:]]*\$Id.*\$[[:space:]]*$/d
1g/^[[:space:]]*$/d
w
q
EOF
done
32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
PortSystem 1.0
|
|
|
|
name ndiff
|
|
version 2.00
|
|
categories math
|
|
license GPL-2+
|
|
maintainers nomaintainer
|
|
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.diff
|
|
|
|
pre-test {
|
|
system "cd ${worksrcpath} && patch -p0 < ${filespath}/patch-Makefile.diff"
|
|
}
|
|
test.run yes
|
|
test.target check
|
|
|
|
destroot.destdir prefix=${destroot}${prefix}
|