FreeBSD Bugzilla – Attachment 39471 Details for
Bug 62221
New port: ndiff numerics diff utility
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
ndiff-pr.tmp
ndiff-pr.tmp (text/plain), 4.26 KB, created by
Stefan A. Deutscher
on 2004-02-01 15:10:22 UTC
(
hide
)
Description:
ndiff-pr.tmp
Filename:
MIME Type:
Creator:
Stefan A. Deutscher
Created:
2004-02-01 15:10:22 UTC
Size:
4.26 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># ndiff ># ndiff/pkg-plist ># ndiff/pkg-descr ># ndiff/Makefile ># ndiff/distinfo ># >echo c - ndiff >mkdir -p ndiff > /dev/null 2>&1 >echo x - ndiff/pkg-plist >sed 's/^X//' >ndiff/pkg-plist << 'END-of-ndiff/pkg-plist' >Xbin/ndiff >Xbin/ndiff-2.00 >Xshare/lib/ndiff/ndiff-2.00/ndiff.awk >X@dirrm share/lib/ndiff/ndiff-2.00 >X@dirrm share/lib/ndiff >X%%PORTDOCS%%share/doc/ndiff/ndiff.pdf >X%%PORTDOCS%%share/doc/ndiff/ndiff.ps >X%%PORTDOCS%%share/doc/ndiff/ndiff.html >X%%PORTDOCS%%@dirrm share/doc/ndiff >END-of-ndiff/pkg-plist >echo x - ndiff/pkg-descr >sed 's/^X//' >ndiff/pkg-descr << 'END-of-ndiff/pkg-descr' >Xndiff is a utility for comparing putatively similar files, ignoring small >Xnumeric differences. The utility is written by Nelson H. F. Beebe and >Xcovered by the GNU General Public License (GPL), version 2. It may be >Xbuilt with arbitrary precision support (more powerful) or using built-in >Xfloating point precision, see Makefile. >X >XAssessing the consistency of a numerical program run in multiple >Xenvironments (operating systems, architectures, or compilers) can be a >Xdifficult task for a human, as small differences in numerical output values >Xare expected. File differencing utilites, such as diff(1), will generally >Xproduce voluminous output, often longer than the original files. >X >Xndiff solves this problem. Taking two two text files expected to be >Xidentical, or at least numerically similar, it allows to specify absolute >Xand/or relative error tolerances for differences between numerical values >Xin the two files, and then reports only the lines with values exceeding >Xthose tolerances. It also tells by how much they differ. A simple example: >X >X% ndiff --relative-error 1.0e-3 test019.txt.1 test019.txt.2 >X### Maximum relative error in matching lines = 8.64e-51 at line 129 field 4 >X >XWWW: http://www.math.utah.edu/~beebe/software/ndiff/ >X >XHave fun. Stefan (sad@mailaps.org) >END-of-ndiff/pkg-descr >echo x - ndiff/Makefile >sed 's/^X//' >ndiff/Makefile << 'END-of-ndiff/Makefile' >X# New ports collection makefile for: ndiff >X# Date created: 31 January 2004 >X# Whom: Stefan A. Deutscher (sad@mailaps.org) >X# >X# $FreeBSD$ >X# >X >XPORTNAME= ndiff >XPORTVERSION= 2.00 >XCATEGORIES= math >XMASTER_SITES= ftp://ftp.math.utah.edu/pub/misc/ >XPKGNAMEPREFIX= >X >XMAINTAINER= ports@FreeBSD.org >XCOMMENT= Compare putatively similar files, ignoring small numeric differences >X >XLIB_DEPENDS= gmp:${PORTSDIR}/math/libgmp-freebsd >X >X# [If it extracts to a directory other than ${DISTNAME}...] >X# WRKSRC= ${WRKDIR}/ndiff-2.00 >XGNU_CONFIGURE= yes >X >XMAN1= ndiff.1 >XMANCOMPRESSED= no >X >X# non-standard variables to be used in the rules below >XSLEEP?= /bin/sleep >X >X# the special rules, in the order they are called >Xpre-fetch: >X @${ECHO} This port checks for and installs also libgmp, the GNU library for arbitrary >X @${ECHO} precision mathematics, a small download that may take some time to build. It >X @${ECHO} is not absolutely needed, but enhances ndiff\'s functionality significantly. >X @${ECHO} >X @${ECHO} If you wish to build without this library, put a comment sign \(hash mark\) in >X @${ECHO} front of the line LIB_DEPENDS= in this Makefile before building. >X @${ECHO} >X @${ECHO} Sleeping 15 seconds so you can read this ... >X ${SLEEP} 15 >X >Xpost-patch: >X # i need to do something after patch, great >X >Xpost-build: >X @${ECHO} Now running \'make check\' in the build directory to test the build ... >X ( cd ${WRKSRC} && ${MAKE} -f ${WRKSRC}/Makefile check ) >X @${ECHO} Provided the above looks good to you, type \'make install\' to, well, install >X >Xpre-install: >X # and then some more stuff before installing, wow >X >Xpost-install: >X.if !defined(NOPORTDOCS) >X ${MKDIR} ${DOCSDIR} >X ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.pdf ${DOCSDIR} >X ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.ps ${DOCSDIR} >X ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.html ${DOCSDIR} >X.endif >X >X.include <bsd.port.mk> >END-of-ndiff/Makefile >echo x - ndiff/distinfo >sed 's/^X//' >ndiff/distinfo << 'END-of-ndiff/distinfo' >XMD5 (ndiff-2.00.tar.gz) = 885548b4dc26e72c5455bebb5ba6c16d >END-of-ndiff/distinfo >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 62221
: 39471