From 66169f939590abc61c9b6d45efd3211d08af245e Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Mon, 6 Jan 2014 08:50:53 +0000 Subject: sci-biology/seaview: Punt base.eclass; Bump EAPI to 5; add missing dep for pkg-config; Give some PREFIX love; use tc-getPKG_CONFIG instead of plain pkg-config (Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!) --- sci-biology/seaview/ChangeLog | 8 ++++++-- sci-biology/seaview/seaview-4.3.5.ebuild | 24 ++++++++++++------------ 2 files changed, 18 insertions(+), 14 deletions(-) (limited to 'sci-biology/seaview') diff --git a/sci-biology/seaview/ChangeLog b/sci-biology/seaview/ChangeLog index ff4ea021fe9c..bac995239f83 100644 --- a/sci-biology/seaview/ChangeLog +++ b/sci-biology/seaview/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-biology/seaview -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/seaview/ChangeLog,v 1.48 2013/03/11 16:57:16 jlec Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/seaview/ChangeLog,v 1.49 2014/01/06 08:50:53 jlec Exp $ + + 06 Jan 2014; Justin Lecher seaview-4.3.5.ebuild: + Punt base.eclass; Bump EAPI to 5; add missing dep for pkg-config; Give some + PREFIX love; use tc-getPKG_CONFIG instead of plain pkg-config 11 Mar 2013; Justin Lecher metadata.xml: Drop Andrey as maintainer so that bugs get assigned to sci-biology directly diff --git a/sci-biology/seaview/seaview-4.3.5.ebuild b/sci-biology/seaview/seaview-4.3.5.ebuild index a69a5f304a7c..fe3709f11b1d 100644 --- a/sci-biology/seaview/seaview-4.3.5.ebuild +++ b/sci-biology/seaview/seaview-4.3.5.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/seaview/seaview-4.3.5.ebuild,v 1.3 2012/12/10 16:31:38 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/seaview/seaview-4.3.5.ebuild,v 1.4 2014/01/06 08:50:53 jlec Exp $ -EAPI=4 +EAPI=5 -inherit base eutils multilib toolchain-funcs +inherit eutils multilib toolchain-funcs DESCRIPTION="A graphical multiple sequence alignment editor" HOMEPAGE="http://pbil.univ-lyon1.fr/software/seaview.html" @@ -15,17 +15,19 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="+xft" -DEPEND=" +CDEPEND=" sys-libs/zlib x11-libs/fltk:1 x11-libs/libX11 xft? ( x11-libs/libXft x11-libs/fltk:1[xft] )" -RDEPEND="${DEPEND} +RDEPEND="${CDEPEND} sci-biology/clustalw || ( sci-libs/libmuscle sci-biology/muscle ) sci-biology/phyml" +DEPEND="${CDEPEND} + virtual/pkgconfig" S="${WORKDIR}/${PN}" @@ -36,12 +38,12 @@ src_prepare() { -e "s:^CXX.*:CXX = $(tc-getCXX):" \ -e "s:\$(OPT):${CXXFLAGS}:" \ -e "s:^OPT:#OPT:" \ - -e "s:^FLTK = .*$:FLTK = /usr/include/fltk-1:" \ + -e "s:^FLTK = .*$:FLTK = ${EPREFIX}/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:/usr/share/doc/seaview/seaview.htm:${EPREFIX}/usr/share/seaview/seaview.htm:" \ -e "s:^#PHYMLNAME:PHYMLNAME:" \ -e 's:-lXinerama::g' \ -e 's:-lpng::g' \ @@ -51,14 +53,12 @@ src_prepare() { if use xft; then sed \ - -e "s:^#USE_XFT .*:USE_XFT = -DUSE_XFT $(pkg-config --cflags xft):" \ - -e "s:-lXft:$(pkg-config --libs xft):" \ + -e "s:^#USE_XFT .*:USE_XFT = -DUSE_XFT $($(tc-getPKG_CONFIG) --cflags xft):" \ + -e "s:-lXft:$($(tc-getPKG_CONFIG) --libs xft):" \ -i Makefile || die "sed failed while editing Makefile to enable xft" else sed -i -e "s:-lXft::" Makefile || die fi - - base_src_prepare } src_install() { -- cgit v1.2.3-65-gdbad