Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/cluster/
Date: Fri, 08 Jun 2012 12:52:47
Message-Id: 1339082449.8927b259cb574e45ed114fc99fdbd4d3726bbb4d.jlec@gentoo
1 commit: 8927b259cb574e45ed114fc99fdbd4d3726bbb4d
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 7 15:20:49 2012 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 7 15:20:49 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=8927b259
7
8 sci-biology/cluster: Rename cluster to cluster3, #419999
9
10 (Portage version: 2.2.0_alpha110/git/Linux x86_64, unsigned Manifest commit)
11
12 ---
13 sci-biology/cluster/ChangeLog | 5 ++
14 sci-biology/cluster/cluster-1.50-r1.ebuild | 56 ++++++++++++++++++++++++++++
15 2 files changed, 61 insertions(+), 0 deletions(-)
16
17 diff --git a/sci-biology/cluster/ChangeLog b/sci-biology/cluster/ChangeLog
18 index df03336..b0888e5 100644
19 --- a/sci-biology/cluster/ChangeLog
20 +++ b/sci-biology/cluster/ChangeLog
21 @@ -2,6 +2,11 @@
22 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
23 # $Header: $
24
25 +*cluster-1.50-r1 (07 Jun 2012)
26 +
27 + 07 Jun 2012; Justin Lecher <jlec@g.o> +cluster-1.50-r1.ebuild:
28 + Rename cluster to cluster3, #419999
29 +
30 *cluster-1.50 (24 May 2012)
31
32 24 May 2012; Justin Lecher <jlec@g.o> -cluster-1.38.ebuild,
33
34 diff --git a/sci-biology/cluster/cluster-1.50-r1.ebuild b/sci-biology/cluster/cluster-1.50-r1.ebuild
35 new file mode 100644
36 index 0000000..85fb43b
37 --- /dev/null
38 +++ b/sci-biology/cluster/cluster-1.50-r1.ebuild
39 @@ -0,0 +1,56 @@
40 +# Copyright 1999-2012 Gentoo Foundation
41 +# Distributed under the terms of the GNU General Public License v2
42 +# $Header: $
43 +
44 +EAPI=4
45 +
46 +DESCRIPTION="Clustering software for microarray analysis"
47 +HOMEPAGE="http://bonsai.ims.u-tokyo.ac.jp/~mdehoon/software/cluster/software.htm#ctv"
48 +SRC_URI="${P}.tar.gz"
49 +
50 +LICENSE="Eisen"
51 +SLOT="0"
52 +KEYWORDS="~amd64 ~x86"
53 +IUSE="X"
54 +
55 +DEPEND="X? ( x11-libs/openmotif )"
56 +RDEPEND="
57 + !>=media-gfx/graphviz-2.28.0
58 + X? ( x11-misc/xdg-utils app-text/mupdf )"
59 +
60 +RESTRICT="fetch"
61 +
62 +pkg_nofetch() {
63 + einfo "Please obtain ${P}.tar.gz from ${HOMEPAGE} and place it in ${DISTDIR}"
64 +}
65 +
66 +src_prepare() {
67 + sed -i \
68 + -e 's:^docdir = .*$:docdir = @docdir@:' \
69 + -e 's:^htmldir = .*$:htmldir = @htmldir@:' \
70 + -e 's:^imagedir = .*$:imagedir = @htmldir@/images:' \
71 + -e 's:^fileformatdir = .*$:fileformatdir = @docdir@:' \
72 + X11/Makefile.in || die "sed failed"
73 +}
74 +
75 +src_configure() {
76 + econf \
77 + $(use_with X x) \
78 + --docdir="/usr/share/doc/${P}" \
79 + --htmldir="/usr/share/doc/${P}/html"
80 +}
81 +
82 +src_install() {
83 + default
84 +
85 + mv "${ED}"/usr/bin/cluster{,3}
86 +
87 + insinto /usr/share/doc/${P}/examples
88 + doins example/example.c example/README
89 + insinto /usr/share/doc/${PR}
90 + doins doc/cluster.pdf
91 +}
92 +
93 +pkg_postinst() {
94 + elog "We renamed the cluster binary to cluster3"
95 +}