Gentoo Archives: gentoo-commits

From: "Jeffrey Gardner (je_fro)" <je_fro@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-biology/seaview: ChangeLog seaview-4.2.12.ebuild
Date: Tue, 01 Feb 2011 02:53:37
Message-Id: 20110201025326.AAC7420057@flycatcher.gentoo.org
1 je_fro 11/02/01 02:53:26
2
3 Modified: ChangeLog
4 Added: seaview-4.2.12.ebuild
5 Log:
6 Adding latest version.
7
8 (Portage version: 2.1.9.35/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.37 sci-biology/seaview/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/seaview/ChangeLog?rev=1.37&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/seaview/ChangeLog?rev=1.37&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/seaview/ChangeLog?r1=1.36&r2=1.37
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-biology/seaview/ChangeLog,v
20 retrieving revision 1.36
21 retrieving revision 1.37
22 diff -u -r1.36 -r1.37
23 --- ChangeLog 16 Jul 2010 22:05:28 -0000 1.36
24 +++ ChangeLog 1 Feb 2011 02:53:26 -0000 1.37
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sci-biology/seaview
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/seaview/ChangeLog,v 1.36 2010/07/16 22:05:28 hwoarang Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/seaview/ChangeLog,v 1.37 2011/02/01 02:53:26 je_fro Exp $
31 +
32 +*seaview-4.2.12 (01 Feb 2011)
33 +
34 + 01 Feb 2011; Jeff Gardner <je_fro@g.o> +seaview-4.2.12.ebuild:
35 + Adding latest version.
36
37 16 Jul 2010; Markos Chandras <hwoarang@g.o> seaview-4.2.5.ebuild:
38 Stable on amd64 wrt bug #328429
39
40
41
42 1.1 sci-biology/seaview/seaview-4.2.12.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/seaview/seaview-4.2.12.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/seaview/seaview-4.2.12.ebuild?rev=1.1&content-type=text/plain
46
47 Index: seaview-4.2.12.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-biology/seaview/seaview-4.2.12.ebuild,v 1.1 2011/02/01 02:53:26 je_fro Exp $
52
53 EAPI="2"
54
55 inherit toolchain-funcs multilib eutils base
56
57 DESCRIPTION="A graphical multiple sequence alignment editor"
58 HOMEPAGE="http://pbil.univ-lyon1.fr/software/seaview.html"
59 SRC_URI="ftp://pbil.univ-lyon1.fr/pub/mol_phylogeny/seaview/archive/${PN}_${PV}.tar.gz"
60
61 LICENSE="public-domain"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86"
64 IUSE="+pdf +xft"
65
66 DEPEND="x11-libs/fltk:1.1
67 pdf? ( media-libs/pdflib )
68 xft? ( x11-libs/libXft
69 x11-libs/fltk:1.1[xft] )"
70 RDEPEND="${DEPEND}
71 sci-biology/clustalw
72 || ( sci-libs/libmuscle sci-biology/muscle )
73 sci-biology/phyml"
74
75 S="${WORKDIR}/${PN}"
76
77 src_prepare() {
78 # respect CXXFLAGS (package uses them as CFLAGS)
79 sed -i \
80 -e "s:^CXX.*:CXX = $(tc-getCXX):" \
81 -e "s:\$(OPT):${CXXFLAGS}:" \
82 -e "s:^OPT:#OPT:" \
83 -e "s:^#IFLTK .*:IFLTK = $(fltk-config --use-images --cxxflags):" \
84 -e "s:^#LFLTK .*:LFLTK = $(fltk-config --use-images --ldflags):" \
85 -e "s:^USE_XFT:#USE_XFT:" \
86 -e "s:^#HELPFILE:HELPFILE:" \
87 -e "s:^#PHYMLNAME:PHYMLNAME:" \
88 Makefile || die "sed failed while editing Makefile"
89
90 if use pdf; then
91 sed -i \
92 -e "s:PDF_PS_FLAGS = -DNO_PDF:#PDF_PS_FLAGS = -DNO_PDF:" \
93 -e "s:PDF_PS = postscript:#PDF_PS = postscript:" \
94 -e "s:#PDF_INC = \$(HOME)/PDFlibLite:PDF_INC = /usr/include:" \
95 -e "s:#PDF_LIB = \$(HOME)/PDFlibLite:PDF_LIB = /usr/lib:" \
96 -e "s:#PDF_PS = pdf:PDF_PS = pdf:" \
97 -e "s:#PDF_PS_FLAGS = -I\$(PDF_INC):PDF_PS_FLAGS = -I\$(PDF_INC):" \
98 -e "s:#LPDF = -L\$(PDF_LIB) -lpdf:LPDF = -L\$(PDF_LIB) -lpdf:" \
99 Makefile || die "sed failed while editing Makefile to enable pdf output"
100 fi
101
102 if use xft; then
103 sed -i \
104 -e "s:^#USE_XFT .*:USE_XFT = -DUSE_XFT $(xft-config --cflags):" \
105 -e "s:-lXft:$(xft-config --libs):" \
106 Makefile || die "sed failed while editing Makefile to enable xft"
107 else
108 sed -i -e "s:-lXft::" Makefile || die
109 fi
110 base_src_prepare
111 }
112
113 src_install() {
114 dobin seaview || die
115
116 # /usr/share/seaview/seaview.html is hardcoded in the binary, see Makefile
117 insinto /usr/share/seaview
118 doins example.nxs seaview.html
119
120 insinto /usr/share/seaview/images
121 doins seaview.xpm || die
122
123 make_desktop_entry seaview Seaview
124
125 doman seaview.1 || die
126 }