diff options
author | 2009-12-04 19:05:23 +0000 | |
---|---|---|
committer | 2009-12-04 19:05:23 +0000 | |
commit | cfa9158cb57ba2c0410f36e80b1a0e8545576d28 (patch) | |
tree | f625a22e17276f8a57b0bb3978e4adf622683b12 /sci-visualization/xd3d/xd3d-8.3.1.ebuild | |
parent | Add support for Delivery Status Notifications (DSN) via external patch, bug #... (diff) | |
download | gentoo-2-cfa9158cb57ba2c0410f36e80b1a0e8545576d28.tar.gz gentoo-2-cfa9158cb57ba2c0410f36e80b1a0e8545576d28.tar.bz2 gentoo-2-cfa9158cb57ba2c0410f36e80b1a0e8545576d28.zip |
Fixed parallel building, no more forced stripping, added a missing header for QA, removed fortran eclass, switched to EAPI=2
(Portage version: 2.2_rc54/cvs/Linux x86_64)
Diffstat (limited to 'sci-visualization/xd3d/xd3d-8.3.1.ebuild')
-rw-r--r-- | sci-visualization/xd3d/xd3d-8.3.1.ebuild | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/sci-visualization/xd3d/xd3d-8.3.1.ebuild b/sci-visualization/xd3d/xd3d-8.3.1.ebuild index ae832b91862b..3974d26a083f 100644 --- a/sci-visualization/xd3d/xd3d-8.3.1.ebuild +++ b/sci-visualization/xd3d/xd3d-8.3.1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/xd3d/xd3d-8.3.1.ebuild,v 1.2 2008/04/04 10:10:12 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/xd3d/xd3d-8.3.1.ebuild,v 1.3 2009/12/04 19:05:23 bicatali Exp $ -inherit fortran toolchain-funcs multilib +EAPI=2 +inherit eutils toolchain-funcs DESCRIPTION="scientific visualization tool" HOMEPAGE="http://www.cmap.polytechnique.fr/~jouve/xd3d/" @@ -13,34 +14,29 @@ KEYWORDS="~ppc ~ppc64 ~x86 ~amd64" IUSE="" RDEPEND="x11-libs/libXpm" - DEPEND="${RDEPEND} app-shells/tcsh" -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { epatch "${FILESDIR}"/${P}-gentoo.diff + epatch "${FILESDIR}"/${P}-parallel.patch + epatch "${FILESDIR}"/${P}-rotated.patch } -src_compile() { +src_configure() { + export FC=$(tc-getFC) sed -e "s:##D##:${D}:" \ -e "s:##lib##:$(get_libdir):" \ - -e "s:##FC##:${FORTRANC}:" \ - -e "s:##CC##:$(tc-getCC):" \ - -e "s:##FFLAGS##:${FFLAGS}:" \ - -e "s:##CFLAGS##:${CFLAGS}:" \ -i RULES.gentoo \ || die "failed to set up RULES.gentoo" ./configure -arch=gentoo || die "configure failed." - emake || die "emake failed." } src_install() { dodir /usr/bin emake install || die "emake install failed" - dodoc BUGS CHANGELOG FAQ FORMATS INSTALL README || die + dodoc BUGS CHANGELOG FAQ FORMATS README insinto /usr/share/doc/${PF} doins Manuals/* || die |