diff options
author | Alejandro Pulver <alepulver@FreeBSD.org> | 2006-10-31 17:29:35 +0000 |
---|---|---|
committer | Alejandro Pulver <alepulver@FreeBSD.org> | 2006-10-31 17:29:35 +0000 |
commit | d2ea05c7699001971d9519af511c9a58487884f0 (patch) | |
tree | 9b7a7d4d45ca7c2f355cddce808467f10d50559b | |
parent | 2167f7032763161a98412fffa1eccad0a7ecdde6 (diff) | |
download | ports-d2ea05c7699001971d9519af511c9a58487884f0.tar.gz ports-d2ea05c7699001971d9519af511c9a58487884f0.zip |
Notes
-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 0ac4e03cea57..8e48950ee533 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 000000000000..f2c69a8e9835 --- /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 000000000000..3cd639d578b2 --- /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 000000000000..ced494b47f06 --- /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 000000000000..9dc11e2921d6 --- /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%% |