diff options
author | Justin Lecher <jlec@gentoo.org> | 2012-07-04 10:09:26 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2012-07-04 10:09:26 +0000 |
commit | 840f6a91c686e7da64efcab45590357c42cf1c5c (patch) | |
tree | f60855ec4d0aea7a833570abc5a95b476195cf02 /sci-biology | |
parent | Bump, add support for newer windowmaker, fix WINGs library detection, ebuild ... (diff) | |
download | gentoo-2-840f6a91c686e7da64efcab45590357c42cf1c5c.tar.gz gentoo-2-840f6a91c686e7da64efcab45590357c42cf1c5c.tar.bz2 gentoo-2-840f6a91c686e7da64efcab45590357c42cf1c5c.zip |
sci-biology/seaview: Version Bump imported from sci overlay, prepared by Martin Mokrejs, #351005; fixes also compilation with gcc47, #424727
(Portage version: 2.2.0_alpha115/cvs/Linux x86_64)
Diffstat (limited to 'sci-biology')
-rw-r--r-- | sci-biology/seaview/ChangeLog | 10 | ||||
-rw-r--r-- | sci-biology/seaview/seaview-4.3.3.ebuild | 71 |
2 files changed, 79 insertions, 2 deletions
diff --git a/sci-biology/seaview/ChangeLog b/sci-biology/seaview/ChangeLog index eb1631093b72..1e36f6455bb6 100644 --- a/sci-biology/seaview/ChangeLog +++ b/sci-biology/seaview/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-biology/seaview -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/seaview/ChangeLog,v 1.40 2011/03/20 20:02:27 jlec Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/seaview/ChangeLog,v 1.41 2012/07/04 10:09:26 jlec Exp $ + +*seaview-4.3.3 (04 Jul 2012) + + 04 Jul 2012; Justin Lecher <jlec@gentoo.org> +seaview-4.3.3.ebuild: + Version Bump imported from sci overlay, prepared by Martin Mokrejs, #351005; + fixes also compilation with gcc47, #424727 20 Mar 2011; Justin Lecher <jlec@gentoo.org> seaview-4.2.5.ebuild, seaview-4.2.12.ebuild: diff --git a/sci-biology/seaview/seaview-4.3.3.ebuild b/sci-biology/seaview/seaview-4.3.3.ebuild new file mode 100644 index 000000000000..5f3ab43a269e --- /dev/null +++ b/sci-biology/seaview/seaview-4.3.3.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/seaview/seaview-4.3.3.ebuild,v 1.1 2012/07/04 10:09:26 jlec Exp $ + +EAPI=4 + +inherit base eutils multilib toolchain-funcs + +DESCRIPTION="A graphical multiple sequence alignment editor" +HOMEPAGE="http://pbil.univ-lyon1.fr/software/seaview.html" +SRC_URI="ftp://pbil.univ-lyon1.fr/pub/mol_phylogeny/seaview/archive/${PN}_${PV}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+xft" + +DEPEND=" + x11-libs/fltk:1 + xft? ( + x11-libs/libXft + x11-libs/fltk:1[xft] )" +RDEPEND="${DEPEND} + sci-biology/clustalw + || ( sci-libs/libmuscle sci-biology/muscle ) + sci-biology/phyml" + +S="${WORKDIR}/${PN}" + +src_prepare() { + # respect CXXFLAGS (package uses them as CFLAGS) + sed \ + -e "s:^CXX.*:CXX = $(tc-getCXX):" \ + -e "s:\$(OPT):${CXXFLAGS}:" \ + -e "s:^OPT:#OPT:" \ + -e "s:^FLTK = /usr/include:FLTK = /usr/include/fltk-1:" \ + -e "s:^#IFLTK .*:IFLTK = $(fltk-config --use-images --cflags):" \ + -e "s:^#LFLTK .*:LFLTK = $(fltk-config --use-images --ldflags):" \ + -e "s:^USE_XFT:#USE_XFT:" \ + -e "s:^#HELPFILE:HELPFILE:" \ + -e "s:/usr/share/doc/seaview/seaview.htm:/usr/share/seaview/seaview.htm:" \ + -e "s:^#PHYMLNAME:PHYMLNAME:" \ + -i Makefile || die "sed failed while editing Makefile" + + if use xft; then + sed \ + -e "s:^#USE_XFT .*:USE_XFT = -DUSE_XFT $(pkg-config --cflags xft):" \ + -e "s:-lXft:$(pkg-config --libs xft):" \ + -i Makefile || die "sed failed while editing Makefile to enable xft" + else + sed -i -e "s:-lXft::" Makefile || die + fi + cd FL || die + ln -sf . FL + base_src_prepare +} + +src_install() { + dobin seaview + + # /usr/share/seaview/seaview.html is hardcoded in the binary, see Makefile + insinto /usr/share/seaview + doins example.nxs seaview.html + + insinto /usr/share/seaview/images + doins seaview.xpm + + make_desktop_entry seaview Seaview + + doman seaview.1 +} |