* [gentoo-commits] gentoo-x86 commit in sci-biology/seaview: ChangeLog seaview-4.2.ebuild
@ 2009-10-18 22:49 Andrey Kislyuk (weaver)
0 siblings, 0 replies; only message in thread
From: Andrey Kislyuk (weaver) @ 2009-10-18 22:49 UTC (permalink / raw
To: gentoo-commits
weaver 09/10/18 22:49:14
Modified: ChangeLog
Added: seaview-4.2.ebuild
Log:
Version bump
(Portage version: 2.2_rc30/cvs/Linux x86_64)
Revision Changes Path
1.30 sci-biology/seaview/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/seaview/ChangeLog?rev=1.30&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/seaview/ChangeLog?rev=1.30&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/seaview/ChangeLog?r1=1.29&r2=1.30
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-biology/seaview/ChangeLog,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- ChangeLog 7 Oct 2009 18:36:07 -0000 1.29
+++ ChangeLog 18 Oct 2009 22:49:14 -0000 1.30
@@ -1,6 +1,12 @@
# ChangeLog for sci-biology/seaview
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/seaview/ChangeLog,v 1.29 2009/10/07 18:36:07 weaver Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/seaview/ChangeLog,v 1.30 2009/10/18 22:49:14 weaver Exp $
+
+*seaview-4.2 (18 Oct 2009)
+
+ 18 Oct 2009; Andrey Kislyuk <weaver@gentoo.org>
+ +files/seaview-4.2-gcc44.patch, +seaview-4.2.ebuild:
+ Version bump and gcc-4.4 patch
07 Oct 2009; Andrey Kislyuk <weaver@gentoo.org> metadata.xml,
+seaview-4.1.ebuild, seaview-20071113.ebuild:
1.1 sci-biology/seaview/seaview-4.2.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/seaview/seaview-4.2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/seaview/seaview-4.2.ebuild?rev=1.1&content-type=text/plain
Index: seaview-4.2.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/seaview/seaview-4.2.ebuild,v 1.1 2009/10/18 22:49:14 weaver Exp $
EAPI="2"
inherit toolchain-funcs multilib eutils base
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="+pdf +xft"
DEPEND="x11-libs/fltk:1.1
pdf? ( media-libs/pdflib )
xft? ( x11-libs/libXft
x11-libs/fltk[xft] )"
RDEPEND="${DEPEND}
sci-biology/clustalw
|| ( sci-libs/libmuscle sci-biology/muscle )
sci-biology/phyml"
S="${WORKDIR}/${PN}"
PATCHES=( "${FILESDIR}/seaview-4.2-gcc44.patch" )
src_prepare() {
# respect CXXFLAGS (package uses them as CFLAGS)
sed -i \
-e "s:^CXX.*:CXX = $(tc-getCXX):" \
-e "s:\$(OPT):${CXXFLAGS}:" \
-e "s:^OPT:#OPT:" \
-e "s:^#IFLTK .*:IFLTK = $(fltk-config --use-images --cxxflags):" \
-e "s:^#LFLTK .*:LFLTK = $(fltk-config --use-images --ldflags):" \
-e "s:^USE_XFT:#USE_XFT:" \
-e "s:^#HELPFILE:HELPFILE:" \
-e "s:^#PHYMLNAME:PHYMLNAME:" \
Makefile || die "sed failed while editing Makefile"
if use pdf; then
sed -i \
-e "s:PDF_PS_FLAGS = -DNO_PDF:#PDF_PS_FLAGS = -DNO_PDF:" \
-e "s:PDF_PS = postscript:#PDF_PS = postscript:" \
-e "s:#PDF_INC = \$(HOME)/PDFlibLite:PDF_INC = /usr/include:" \
-e "s:#PDF_LIB = \$(HOME)/PDFlibLite:PDF_LIB = /usr/lib:" \
-e "s:#PDF_PS = pdf:PDF_PS = pdf:" \
-e "s:#PDF_PS_FLAGS = -I\$(PDF_INC):PDF_PS_FLAGS = -I\$(PDF_INC):" \
-e "s:#LPDF = -L\$(PDF_LIB) -lpdf:LPDF = -L\$(PDF_LIB) -lpdf:" \
Makefile || die "sed failed while editing Makefile to enable pdf output"
fi
if use xft; then
sed -i \
-e "s:^#USE_XFT .*:USE_XFT = -DUSE_XFT $(xft-config --cflags):" \
-e "s:-lXft:$(xft-config --libs):" \
Makefile || die "sed failed while editing Makefile to enable xft"
else
sed -i -e "s:-lXft::" Makefile || die
fi
base_src_prepare
}
src_install() {
dobin seaview || die
# /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 || die
make_desktop_entry seaview Seaview /usr/share/pixmaps/seaview.xpm || die
doman seaview.1 || die
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-10-18 22:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-18 22:49 [gentoo-commits] gentoo-x86 commit in sci-biology/seaview: ChangeLog seaview-4.2.ebuild Andrey Kislyuk (weaver)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox