ports/104525: [NEW PORT] math/numdiff: Compare putatively similar files, ignoring small numeric differences
Cheng-Lung Sung
clsung at FreeBSD.org
Wed Oct 18 09:00:37 UTC 2006
>Number: 104525
>Category: ports
>Synopsis: [NEW PORT] math/numdiff: Compare putatively similar files, ignoring small numeric differences
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Oct 18 09:00:34 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Cheng-Lung Sung
>Release: FreeBSD 6.2-PRERELEASE i386
>Organization:
FreeBSD @ Taiwan
>Environment:
System: FreeBSD going04.iis.sinica.edu.tw 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #21: Wed Sep 13 17:54:15 CST 2006
>Description:
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/
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- numdiff-3.0.2.shar begins here ---
# 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:
#
# numdiff
# numdiff/Makefile
# numdiff/distinfo
# numdiff/pkg-descr
# numdiff/pkg-plist
#
echo c - numdiff
mkdir -p numdiff > /dev/null 2>&1
echo x - numdiff/Makefile
sed 's/^X//' >numdiff/Makefile << 'END-of-numdiff/Makefile'
X# New ports collection makefile for: numdiff
X# Date created: 18 October 2006
X# Whom: Cheng-Lung Sung <clsung at FreeBSD.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME= numdiff
XPORTVERSION= 3.0.2
XCATEGORIES= math textproc
XMASTER_SITES= http://download.savannah.gnu.org/releases/numdiff/
X
XMAINTAINER= clsung at FreeBSD.org
XCOMMENT= Compare putatively similar files, ignoring small numeric differences
X
XHAS_CONFIGURE= yes
XCONFIGURE_ARGS+= --exec-prefix=${PREFIX} --infodir=${PREFIX}/info LIBS=-lm
XWRKSRC= ${WRKDIR}/${PORTNAME}
X
XINFO= numdiff
X
Xpre-install:
X.if defined(NOPORTDOCS)
X ${REINPLACE_CMD} -e 's,$$[(]MKDIR[)] $$[(]DOCDIR[)],,' \
X -e 's,$$[(]INSTALL[)] $$[(]DOCS[)] $$[(]DOCDIR[)],,' \
X ${WRKSRC}/Makefile
X.endif
X
Xpost-configure:
X ${REINPLACE_CMD} -e 's,$$[(]prefix[)]/doc/$$[(]PACKAGE[)],${DOCSDIR},' \
X ${WRKSRC}/Makefile
X
X.include <bsd.port.mk>
END-of-numdiff/Makefile
echo x - numdiff/distinfo
sed 's/^X//' >numdiff/distinfo << 'END-of-numdiff/distinfo'
XMD5 (numdiff-3.0.2.tar.gz) = 0744ff75a962709ce5241baedb0ee3e1
XSHA256 (numdiff-3.0.2.tar.gz) = 4dcf77b8f7434f4558db8b93e8a92bbe8fa962838d3194de5b91575f50a650c2
XSIZE (numdiff-3.0.2.tar.gz) = 650257
END-of-numdiff/distinfo
echo x - numdiff/pkg-descr
sed 's/^X//' >numdiff/pkg-descr << 'END-of-numdiff/pkg-descr'
XNumdiff is a little program that can be used to compare putatively similar
Xfiles line by line and field by field, ignoring small numeric differences
Xor/and different numeric formats.
X
XEquivalently, Numdiff is a program with the capability to appropriately
Xcompare files containing numerical fields (and not only).
X
X% numdiff file1 file2
X
XWWW: http://www.nongnu.org/numdiff/
END-of-numdiff/pkg-descr
echo x - numdiff/pkg-plist
sed 's/^X//' >numdiff/pkg-plist << 'END-of-numdiff/pkg-plist'
Xbin/numdiff
X%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
X%%PORTDOCS%%%%DOCSDIR%%/BUGS
X%%PORTDOCS%%%%DOCSDIR%%/COPYING
X%%PORTDOCS%%%%DOCSDIR%%/Changelog
X%%PORTDOCS%%%%DOCSDIR%%/INSTALL
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/TODO
X%%PORTDOCS%%%%DOCSDIR%%/numdiff.html
X%%PORTDOCS%%%%DOCSDIR%%/numdiff.pdf
X%%PORTDOCS%%%%DOCSDIR%%/numdiff.txt
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-numdiff/pkg-plist
exit
--- numdiff-3.0.2.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list