Gentoo Archives: gentoo-commits

From: Marc van der Sluys <linux@×××××××××××.nl>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-util/ndiff/
Date: Sun, 29 Jan 2012 16:57:44
Message-Id: a291954819bf3bd8e597191d8fd7099412245e39.marc_van_der_sluys@gentoo
1 commit: a291954819bf3bd8e597191d8fd7099412245e39
2 Author: Marc van der Sluys (AstroFloyd) <AstroFloyd <AT> gmail <DOT> com>
3 AuthorDate: Sun Jan 29 16:52:12 2012 +0000
4 Commit: Marc van der Sluys <linux <AT> vandersluys <DOT> nl>
5 CommitDate: Sun Jan 29 16:52:12 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=a2919548
7
8 Added an ebuild for ndiff-2.00
9
10 ---
11 dev-util/ndiff/ChangeLog | 11 +++++++++++
12 dev-util/ndiff/metadata.xml | 9 +++++++++
13 dev-util/ndiff/ndiff-2.00.ebuild | 33 +++++++++++++++++++++++++++++++++
14 3 files changed, 53 insertions(+), 0 deletions(-)
15
16 diff --git a/dev-util/ndiff/ChangeLog b/dev-util/ndiff/ChangeLog
17 new file mode 100644
18 index 0000000..de5d8a3
19 --- /dev/null
20 +++ b/dev-util/ndiff/ChangeLog
21 @@ -0,0 +1,11 @@
22 +# ChangeLog for dev-util/ndiff
23 +
24 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
25 +# $Header: $
26 +
27 +*ndiff-2.00 (29 Jan 2012)
28 +
29 + 29 Jan 2012; Marc van der Sluys <AstroFloyd@×××××.com> +ndiff-2.00.ebuild,
30 + +metadata.xml:
31 + Initial import
32 +
33
34 diff --git a/dev-util/ndiff/metadata.xml b/dev-util/ndiff/metadata.xml
35 new file mode 100644
36 index 0000000..d995315
37 --- /dev/null
38 +++ b/dev-util/ndiff/metadata.xml
39 @@ -0,0 +1,9 @@
40 +<?xml version="1.0" encoding="UTF-8"?>
41 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
42 +<pkgmetadata>
43 + <herd>sci</herd>
44 + <maintainer>
45 + <email>AstroFloyd@×××××.com</email>
46 + <name>Marc van der Sluys (AstroFloyd)</name>
47 + </maintainer>
48 +</pkgmetadata>
49
50 diff --git a/dev-util/ndiff/ndiff-2.00.ebuild b/dev-util/ndiff/ndiff-2.00.ebuild
51 new file mode 100644
52 index 0000000..7628f46
53 --- /dev/null
54 +++ b/dev-util/ndiff/ndiff-2.00.ebuild
55 @@ -0,0 +1,33 @@
56 +# Copyright 1999-2012 Gentoo Foundation
57 +# Distributed under the terms of the GNU General Public License v2
58 +# $Header: $
59 +
60 +EAPI=4
61 +
62 +DESCRIPTION="A diff program that ignores small numeric differences (actually called ndiff)"
63 +HOMEPAGE="http://www.math.utah.edu/~beebe/software/ndiff/"
64 +SRC_URI="ftp://ftp.math.utah.edu/pub/misc/${P}.tar.gz"
65 +
66 +LICENSE="GPL-2"
67 +SLOT="0"
68 +KEYWORDS="~amd64 ~x86"
69 +IUSE="doc"
70 +
71 +DEPEND="dev-libs/gmp"
72 +RDEPEND="${DEPEND}"
73 +
74 +# Rename the files from ndiff to numdiff, since /usr/bin/ndiff is already
75 +# provided by net-analyzer/nmap:
76 +src_install() {
77 + newbin ndiff numdiff
78 + dodoc README* INSTALL ChangeLog
79 + newman ndiff.man numdiff.1
80 + if use doc ; then
81 + newdoc ndiff.html numdiff.html
82 + newdoc ndiff.pdf numdiff.pdf
83 + newdoc ndiff.ps numdiff.ps
84 + newdoc ndiff.txt numdiff.txt
85 + fi
86 + insinto /usr/share/${P}
87 + newins ndiff.awk numdiff.awk
88 +}