Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-chemistry/moldy: ChangeLog moldy-2.16e.ebuild moldy-2.16e-r1.ebuild
Date: Wed, 17 Feb 2010 21:22:28
Message-Id: E1NhrLi-0007ov-QD@stork.gentoo.org
1 jlec 10/02/17 21:22:22
2
3 Modified: ChangeLog moldy-2.16e.ebuild
4 Added: moldy-2.16e-r1.ebuild
5 Log:
6 import prefix changes from the overlay, moved to EAPI=3
7 (Portage version: 2.2_rc62/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.17 sci-chemistry/moldy/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/moldy/ChangeLog?rev=1.17&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/moldy/ChangeLog?rev=1.17&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/moldy/ChangeLog?r1=1.16&r2=1.17
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/moldy/ChangeLog,v
19 retrieving revision 1.16
20 retrieving revision 1.17
21 diff -u -r1.16 -r1.17
22 --- ChangeLog 17 Feb 2010 21:15:22 -0000 1.16
23 +++ ChangeLog 17 Feb 2010 21:22:21 -0000 1.17
24 @@ -1,8 +1,11 @@
25 # ChangeLog for sci-chemistry/moldy
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/moldy/ChangeLog,v 1.16 2010/02/17 21:15:22 jlec Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/moldy/ChangeLog,v 1.17 2010/02/17 21:22:21 jlec Exp $
29
30 - 17 Feb 2010; Justin Lecher (jlec) <jlec@g.o> moldy-2.16e.ebuild:
31 +*moldy-2.16e-r1 (17 Feb 2010)
32 +
33 + 17 Feb 2010; Justin Lecher (jlec) <jlec@g.o> moldy-2.16e.ebuild,
34 + +moldy-2.16e-r1.ebuild:
35 import prefix changes from the overlay, moved to EAPI=3
36
37 23 Sep 2009; Patrick Lauer <patrick@g.o> moldy-2.16e.ebuild:
38
39
40
41 1.12 sci-chemistry/moldy/moldy-2.16e.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/moldy/moldy-2.16e.ebuild?rev=1.12&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/moldy/moldy-2.16e.ebuild?rev=1.12&content-type=text/plain
45 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/moldy/moldy-2.16e.ebuild?r1=1.11&r2=1.12
46
47 Index: moldy-2.16e.ebuild
48 ===================================================================
49 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/moldy/moldy-2.16e.ebuild,v
50 retrieving revision 1.11
51 retrieving revision 1.12
52 diff -u -r1.11 -r1.12
53 --- moldy-2.16e.ebuild 17 Feb 2010 21:15:22 -0000 1.11
54 +++ moldy-2.16e.ebuild 17 Feb 2010 21:22:21 -0000 1.12
55 @@ -1,8 +1,6 @@
56 # Copyright 1999-2010 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/moldy/moldy-2.16e.ebuild,v 1.11 2010/02/17 21:15:22 jlec Exp $
59 -
60 -EAPI="3"
61 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/moldy/moldy-2.16e.ebuild,v 1.12 2010/02/17 21:22:21 jlec Exp $
62
63 IUSE=""
64
65 @@ -14,11 +12,11 @@
66
67 LICENSE="GPL-2"
68 SLOT="0"
69 -KEYWORDS="x86 ~amd64 ~x86-linux ~ppc-macos"
70 +KEYWORDS="x86 ~amd64"
71
72 DEPEND="virtual/latex-base"
73
74 -src_configure() {
75 +src_compile() {
76 #Individuals may want to edit the OPT* variables below.
77 #From the READ.ME:
78 #You may need to "hand-tune" compiler or optimization options,
79 @@ -31,12 +29,10 @@
80 #and may be set to a lower level of optimization than OPT2.
81
82 OPT=${CFLAGS} OPT2=${CFLAGS} \
83 - ./configure --prefix="${EPREFIX}"/usr \
84 + ./configure --prefix=/usr \
85 --host=${CHOST} \
86 || die
87 -}
88
89 -src_compile() {
90 emake || die
91 # To prevent sandbox violations by metafont
92 VARTEXFONTS="${T}"/fonts make moldy.pdf || die
93 @@ -44,7 +40,7 @@
94
95 src_install() {
96 dodir /usr/bin
97 - make prefix="${ED}"/usr install || die
98 + make prefix="${D}"/usr install || die
99 rm Makefile.in configure.in config.h.in
100 insinto /usr/share/${PN}/examples/
101 doins *.in *.out control.*
102
103
104
105 1.1 sci-chemistry/moldy/moldy-2.16e-r1.ebuild
106
107 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/moldy/moldy-2.16e-r1.ebuild?rev=1.1&view=markup
108 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/moldy/moldy-2.16e-r1.ebuild?rev=1.1&content-type=text/plain
109
110 Index: moldy-2.16e-r1.ebuild
111 ===================================================================
112 # Copyright 1999-2010 Gentoo Foundation
113 # Distributed under the terms of the GNU General Public License v2
114 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/moldy/moldy-2.16e-r1.ebuild,v 1.1 2010/02/17 21:22:21 jlec Exp $
115
116 EAPI="3"
117
118 IUSE=""
119
120 S=${WORKDIR}
121 DESCRIPTION="Program for performing molecular dynamics simulations."
122 SRC_URI="ftp://ftp.earth.ox.ac.uk/pub/keith/${P}.tar.gz"
123 #For lack of a better homepage
124 HOMEPAGE="http://www.earth.ox.ac.uk/~keithr/moldy.html"
125
126 LICENSE="GPL-2"
127 SLOT="0"
128 KEYWORDS="~x86 ~amd64 ~x86-linux ~ppc-macos"
129
130 DEPEND="virtual/latex-base"
131
132 src_configure() {
133 #Individuals may want to edit the OPT* variables below.
134 #From the READ.ME:
135 #You may need to "hand-tune" compiler or optimization options,
136 #which may be specified by setting the OPT and OPT2 environment
137 #variables. OPT2 is used to compile only the most performance-critical
138 #modules and usually will select a very high level of optimization.
139 #It should be safe to select an optimization which means "treat all
140 #function arguments as restricted pointers which are not aliased to
141 #any other object". OPT is used for less preformance-critical modules
142 #and may be set to a lower level of optimization than OPT2.
143
144 OPT=${CFLAGS} OPT2=${CFLAGS} \
145 ./configure --prefix="${EPREFIX}"/usr \
146 --host=${CHOST} \
147 || die
148 }
149
150 src_compile() {
151 emake || die
152 # To prevent sandbox violations by metafont
153 VARTEXFONTS="${T}"/fonts make moldy.pdf || die
154 }
155
156 src_install() {
157 dodir /usr/bin
158 make prefix="${ED}"/usr install || die
159 rm Makefile.in configure.in config.h.in
160 insinto /usr/share/${PN}/examples/
161 doins *.in *.out control.*
162 dodoc BENCHMARK READ.ME RELNOTES
163 insinto /usr/share/doc/${P}/pdf
164 newins moldy.pdf moldy-manual.pdf
165 }