Gentoo Archives: gentoo-commits

From: "Markus Dittrich (markusle)" <markusle@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-chemistry/raster3d: ChangeLog raster3d-2.7d.ebuild
Date: Mon, 10 Sep 2007 13:02:58
Message-Id: E1IUio3-0002cI-ID@stork.gentoo.org
1 markusle 07/09/10 12:55:59
2
3 Modified: ChangeLog
4 Added: raster3d-2.7d.ebuild
5 Log:
6 Fixed gcc patch to work with gcc-4.2 and bumped raster3d to new version (see bug #190511).
7 (Portage version: 2.1.3.7)
8
9 Revision Changes Path
10 1.13 sci-chemistry/raster3d/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/raster3d/ChangeLog?rev=1.13&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/raster3d/ChangeLog?rev=1.13&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/raster3d/ChangeLog?r1=1.12&r2=1.13
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/raster3d/ChangeLog,v
19 retrieving revision 1.12
20 retrieving revision 1.13
21 diff -u -r1.12 -r1.13
22 --- ChangeLog 22 Jul 2007 07:25:12 -0000 1.12
23 +++ ChangeLog 10 Sep 2007 12:55:59 -0000 1.13
24 @@ -1,6 +1,14 @@
25 # ChangeLog for sci-chemistry/raster3d
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/raster3d/ChangeLog,v 1.12 2007/07/22 07:25:12 dberkholz Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/raster3d/ChangeLog,v 1.13 2007/09/10 12:55:59 markusle Exp $
29 +
30 +*raster3d-2.7d (08 Sep 2007)
31 +
32 + 08 Sep 2007; Markus Dittrich <markusle@g.o>
33 + +files/raster3d-2.7d-gcc4-gentoo.patch,
34 + files/raster3d-gcc-4.1-gentoo.patch, +raster3d-2.7d.ebuild:
35 + Fixed gcc patch to work with gcc-4.2 and bumped raster3d to new
36 + version (see bug #190511).
37
38 22 Jul 2007; Donnie Berkholz <dberkholz@g.o>; raster3d-2.7c.ebuild:
39 Drop virtual/x11 references.
40
41
42
43 1.1 sci-chemistry/raster3d/raster3d-2.7d.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/raster3d/raster3d-2.7d.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/raster3d/raster3d-2.7d.ebuild?rev=1.1&content-type=text/plain
47
48 Index: raster3d-2.7d.ebuild
49 ===================================================================
50 # Copyright 1999-2007 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/raster3d/raster3d-2.7d.ebuild,v 1.1 2007/09/10 12:55:59 markusle Exp $
53
54 inherit toolchain-funcs fortran
55
56 NAME="Raster3D"
57
58 DESCRIPTION="a set of tools for generating high quality raster images of proteins or other molecules"
59 LICENSE="as-is"
60 HOMEPAGE="http://www.bmsc.washington.edu/raster3d/raster3d.html"
61 SRC_URI="http://www.bmsc.washington.edu/${PN}/${NAME}_${PV}.tar.gz"
62
63 SLOT="0"
64 IUSE=""
65 KEYWORDS="~ppc ~x86"
66
67 RDEPEND="media-libs/jpeg
68 media-libs/libpng
69 media-libs/tiff"
70
71 DEPEND="${RDEPEND}
72 x11-misc/imake"
73
74 S="${WORKDIR}/${NAME}_${PV}"
75
76 src_unpack() {
77 unpack ${A}
78 epatch "${FILESDIR}"/${P}-gcc4-gentoo.patch
79 }
80
81 src_compile() {
82 cd "${S}"
83
84 # fix Makefile to honor user's CFLAGS/FFLAGS
85 sed -e "s:gcc:$(tc-getCC):" \
86 -e "s:g77:${FORTRANC}:" \
87 -e "s:-g -m486 -w:${CFLAGS}:" \
88 -e "s:-g -O -w -malign-double:${FFLAGS} -w:" \
89 -i Makefile || die "Failed to patch makefile"
90
91 sed -e "s:prefix = /usr/local:prefix = /usr:" \
92 -i Makefile.template || \
93 die "Failed to patch makefile.template"
94
95 make linux || die "Failed to make linux target."
96 make all || die "Failed to make all target."
97 }
98
99 src_install() {
100 emake prefix="${D}"/usr \
101 bindir="${D}"/usr/bin \
102 datadir="${D}"/usr/share/Raster3D/materials \
103 mandir="${D}"/usr/share/man/man1 \
104 htmldir="${D}"/usr/share/Raster3D/html \
105 examdir="${D}"/usr/share/Raster3D/examples \
106 install || die "Failed to install application."
107
108 dodir /etc/env.d
109 echo -e "R3D_LIB=/usr/share/${NAME}/materials" > \
110 "${D}"/etc/env.d/10raster3d || \
111 die "Failed to install env file."
112 }
113
114
115
116 --
117 gentoo-commits@g.o mailing list