Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-biology/seaview: ChangeLog seaview-4.3.3.ebuild
Date: Wed, 04 Jul 2012 10:09:36
Message-Id: 20120704100926.7F85F2004B@flycatcher.gentoo.org
1 jlec 12/07/04 10:09:26
2
3 Modified: ChangeLog
4 Added: seaview-4.3.3.ebuild
5 Log:
6 sci-biology/seaview: Version Bump imported from sci overlay, prepared by Martin Mokrejs, #351005; fixes also compilation with gcc47, #424727
7
8 (Portage version: 2.2.0_alpha115/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.41 sci-biology/seaview/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/seaview/ChangeLog?rev=1.41&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/seaview/ChangeLog?rev=1.41&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/seaview/ChangeLog?r1=1.40&r2=1.41
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-biology/seaview/ChangeLog,v
20 retrieving revision 1.40
21 retrieving revision 1.41
22 diff -u -r1.40 -r1.41
23 --- ChangeLog 20 Mar 2011 20:02:27 -0000 1.40
24 +++ ChangeLog 4 Jul 2012 10:09:26 -0000 1.41
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sci-biology/seaview
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/seaview/ChangeLog,v 1.40 2011/03/20 20:02:27 jlec Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/seaview/ChangeLog,v 1.41 2012/07/04 10:09:26 jlec Exp $
31 +
32 +*seaview-4.3.3 (04 Jul 2012)
33 +
34 + 04 Jul 2012; Justin Lecher <jlec@g.o> +seaview-4.3.3.ebuild:
35 + Version Bump imported from sci overlay, prepared by Martin Mokrejs, #351005;
36 + fixes also compilation with gcc47, #424727
37
38 20 Mar 2011; Justin Lecher <jlec@g.o> seaview-4.2.5.ebuild,
39 seaview-4.2.12.ebuild:
40
41
42
43 1.1 sci-biology/seaview/seaview-4.3.3.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/seaview/seaview-4.3.3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/seaview/seaview-4.3.3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: seaview-4.3.3.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sci-biology/seaview/seaview-4.3.3.ebuild,v 1.1 2012/07/04 10:09:26 jlec Exp $
53
54 EAPI=4
55
56 inherit base eutils multilib toolchain-funcs
57
58 DESCRIPTION="A graphical multiple sequence alignment editor"
59 HOMEPAGE="http://pbil.univ-lyon1.fr/software/seaview.html"
60 SRC_URI="ftp://pbil.univ-lyon1.fr/pub/mol_phylogeny/seaview/archive/${PN}_${PV}.tar.gz"
61
62 LICENSE="public-domain"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE="+xft"
66
67 DEPEND="
68 x11-libs/fltk:1
69 xft? (
70 x11-libs/libXft
71 x11-libs/fltk:1[xft] )"
72 RDEPEND="${DEPEND}
73 sci-biology/clustalw
74 || ( sci-libs/libmuscle sci-biology/muscle )
75 sci-biology/phyml"
76
77 S="${WORKDIR}/${PN}"
78
79 src_prepare() {
80 # respect CXXFLAGS (package uses them as CFLAGS)
81 sed \
82 -e "s:^CXX.*:CXX = $(tc-getCXX):" \
83 -e "s:\$(OPT):${CXXFLAGS}:" \
84 -e "s:^OPT:#OPT:" \
85 -e "s:^FLTK = /usr/include:FLTK = /usr/include/fltk-1:" \
86 -e "s:^#IFLTK .*:IFLTK = $(fltk-config --use-images --cflags):" \
87 -e "s:^#LFLTK .*:LFLTK = $(fltk-config --use-images --ldflags):" \
88 -e "s:^USE_XFT:#USE_XFT:" \
89 -e "s:^#HELPFILE:HELPFILE:" \
90 -e "s:/usr/share/doc/seaview/seaview.htm:/usr/share/seaview/seaview.htm:" \
91 -e "s:^#PHYMLNAME:PHYMLNAME:" \
92 -i Makefile || die "sed failed while editing Makefile"
93
94 if use xft; then
95 sed \
96 -e "s:^#USE_XFT .*:USE_XFT = -DUSE_XFT $(pkg-config --cflags xft):" \
97 -e "s:-lXft:$(pkg-config --libs xft):" \
98 -i Makefile || die "sed failed while editing Makefile to enable xft"
99 else
100 sed -i -e "s:-lXft::" Makefile || die
101 fi
102 cd FL || die
103 ln -sf . FL
104 base_src_prepare
105 }
106
107 src_install() {
108 dobin seaview
109
110 # /usr/share/seaview/seaview.html is hardcoded in the binary, see Makefile
111 insinto /usr/share/seaview
112 doins example.nxs seaview.html
113
114 insinto /usr/share/seaview/images
115 doins seaview.xpm
116
117 make_desktop_entry seaview Seaview
118
119 doman seaview.1
120 }