aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc van der Sluys (AstroFloyd) <AstroFloyd@gmail.com>2012-01-29 17:52:12 +0100
committerMarc van der Sluys (AstroFloyd) <AstroFloyd@gmail.com>2012-01-29 17:52:12 +0100
commita291954819bf3bd8e597191d8fd7099412245e39 (patch)
tree40f817723f48fe5f8876d7fd14d1ced1cf04d59f /dev-util/ndiff/ndiff-2.00.ebuild
parentsync with tree and bug #400999#c7 (diff)
downloadsci-a291954819bf3bd8e597191d8fd7099412245e39.tar.gz
sci-a291954819bf3bd8e597191d8fd7099412245e39.tar.bz2
sci-a291954819bf3bd8e597191d8fd7099412245e39.zip
Added an ebuild for ndiff-2.00
Diffstat (limited to 'dev-util/ndiff/ndiff-2.00.ebuild')
-rw-r--r--dev-util/ndiff/ndiff-2.00.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-util/ndiff/ndiff-2.00.ebuild b/dev-util/ndiff/ndiff-2.00.ebuild
new file mode 100644
index 000000000..7628f46d0
--- /dev/null
+++ b/dev-util/ndiff/ndiff-2.00.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+DESCRIPTION="A diff program that ignores small numeric differences (actually called ndiff)"
+HOMEPAGE="http://www.math.utah.edu/~beebe/software/ndiff/"
+SRC_URI="ftp://ftp.math.utah.edu/pub/misc/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND="dev-libs/gmp"
+RDEPEND="${DEPEND}"
+
+# Rename the files from ndiff to numdiff, since /usr/bin/ndiff is already
+# provided by net-analyzer/nmap:
+src_install() {
+ newbin ndiff numdiff
+ dodoc README* INSTALL ChangeLog
+ newman ndiff.man numdiff.1
+ if use doc ; then
+ newdoc ndiff.html numdiff.html
+ newdoc ndiff.pdf numdiff.pdf
+ newdoc ndiff.ps numdiff.ps
+ newdoc ndiff.txt numdiff.txt
+ fi
+ insinto /usr/share/${P}
+ newins ndiff.awk numdiff.awk
+}