diff options
-rw-r--r-- | math/Makefile | 1 | ||||
-rw-r--r-- | math/numdiff/Makefile | 33 | ||||
-rw-r--r-- | math/numdiff/distinfo | 3 | ||||
-rw-r--r-- | math/numdiff/pkg-descr | 10 | ||||
-rw-r--r-- | math/numdiff/pkg-plist | 12 |
5 files changed, 59 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile index 0ac4e03..8e48950 100644 --- a/math/Makefile +++ b/math/Makefile @@ -157,6 +157,7 @@ SUBDIR += ngraph SUBDIR += nsc2ke SUBDIR += ntl + SUBDIR += numdiff SUBDIR += ocaml-ocamlgraph SUBDIR += octave SUBDIR += octave-devel diff --git a/math/numdiff/Makefile b/math/numdiff/Makefile new file mode 100644 index 0000000..f2c69a8 --- /dev/null +++ b/math/numdiff/Makefile @@ -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> diff --git a/math/numdiff/distinfo b/math/numdiff/distinfo new file mode 100644 index 0000000..3cd639d --- /dev/null +++ b/math/numdiff/distinfo @@ -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 diff --git a/math/numdiff/pkg-descr b/math/numdiff/pkg-descr new file mode 100644 index 0000000..ced494b --- /dev/null +++ b/math/numdiff/pkg-descr @@ -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/ diff --git a/math/numdiff/pkg-plist b/math/numdiff/pkg-plist new file mode 100644 index 0000000..9dc11e2 --- /dev/null +++ b/math/numdiff/pkg-plist @@ -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%% |