Numdiff is a little program that can be used to compare putatively similar

files line by line and field by field, ignoring small numeric differences
or/and different numeric formats.

Equivalently, Numdiff is a program with the capability to appropriately
compare files containing numerical fields (and not only).

% numdiff file1 file2

WWW: http://www.nongnu.org/numdiff/

PR:		ports/104525
Submitted by:	Cheng-Lung Sung <clsung at FreeBSD.org>
This commit is contained in:
Alejandro Pulver 2006-10-31 17:29:35 +00:00
parent 2167f70327
commit d2ea05c769
5 changed files with 59 additions and 0 deletions

View file

@ -157,6 +157,7 @@
SUBDIR += ngraph
SUBDIR += nsc2ke
SUBDIR += ntl
SUBDIR += numdiff
SUBDIR += ocaml-ocamlgraph
SUBDIR += octave
SUBDIR += octave-devel

33
math/numdiff/Makefile Normal file
View file

@ -0,0 +1,33 @@
# New ports collection makefile for: numdiff
# Date created: 18 October 2006
# Whom: Cheng-Lung Sung <clsung@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= numdiff
PORTVERSION= 3.0.2
CATEGORIES= math textproc
MASTER_SITES= http://download.savannah.gnu.org/releases/numdiff/
MAINTAINER= clsung@FreeBSD.org
COMMENT= Compare putatively similar files, ignoring small numeric differences
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --exec-prefix=${PREFIX} --infodir=${PREFIX}/info LIBS=-lm
WRKSRC= ${WRKDIR}/${PORTNAME}
INFO= numdiff
pre-install:
.if defined(NOPORTDOCS)
${REINPLACE_CMD} -e 's,$$[(]MKDIR[)] $$[(]DOCDIR[)],,' \
-e 's,$$[(]INSTALL[)] $$[(]DOCS[)] $$[(]DOCDIR[)],,' \
${WRKSRC}/Makefile
.endif
post-configure:
${REINPLACE_CMD} -e 's,$$[(]prefix[)]/doc/$$[(]PACKAGE[)],${DOCSDIR},' \
${WRKSRC}/Makefile
.include <bsd.port.mk>

3
math/numdiff/distinfo Normal file
View file

@ -0,0 +1,3 @@
MD5 (numdiff-3.0.2.tar.gz) = 0744ff75a962709ce5241baedb0ee3e1
SHA256 (numdiff-3.0.2.tar.gz) = 4dcf77b8f7434f4558db8b93e8a92bbe8fa962838d3194de5b91575f50a650c2
SIZE (numdiff-3.0.2.tar.gz) = 650257

10
math/numdiff/pkg-descr Normal file
View file

@ -0,0 +1,10 @@
Numdiff is a little program that can be used to compare putatively similar
files line by line and field by field, ignoring small numeric differences
or/and different numeric formats.
Equivalently, Numdiff is a program with the capability to appropriately
compare files containing numerical fields (and not only).
% numdiff file1 file2
WWW: http://www.nongnu.org/numdiff/

12
math/numdiff/pkg-plist Normal file
View file

@ -0,0 +1,12 @@
bin/numdiff
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/BUGS
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/Changelog
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%%%DOCSDIR%%/numdiff.html
%%PORTDOCS%%%%DOCSDIR%%/numdiff.pdf
%%PORTDOCS%%%%DOCSDIR%%/numdiff.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%