1 |
amadio 15/03/30 20:46:18 |
2 |
|
3 |
Modified: ChangeLog geant-4.10.01.ebuild |
4 |
Log: |
5 |
Fix examples install location |
6 |
|
7 |
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0xF0DE108F) |
8 |
|
9 |
Revision Changes Path |
10 |
1.82 sci-physics/geant/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant/ChangeLog?rev=1.82&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant/ChangeLog?rev=1.82&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant/ChangeLog?r1=1.81&r2=1.82 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sci-physics/geant/ChangeLog,v |
19 |
retrieving revision 1.81 |
20 |
retrieving revision 1.82 |
21 |
diff -u -r1.81 -r1.82 |
22 |
--- ChangeLog 5 Mar 2015 01:05:38 -0000 1.81 |
23 |
+++ ChangeLog 30 Mar 2015 20:46:18 -0000 1.82 |
24 |
@@ -1,6 +1,9 @@ |
25 |
# ChangeLog for sci-physics/geant |
26 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/ChangeLog,v 1.81 2015/03/05 01:05:38 heroxbd Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/ChangeLog,v 1.82 2015/03/30 20:46:18 amadio Exp $ |
29 |
+ |
30 |
+ 30 Mar 2015; Guilherme Amadio <amadio@g.o> geant-4.10.01.ebuild: |
31 |
+ Fix examples install location |
32 |
|
33 |
05 Mar 2015; Benda Xu <heroxbd@g.o> geant-4.10.00.ebuild, |
34 |
geant-4.10.00_p01.ebuild, geant-4.10.01.ebuild, geant-4.9.6_p02-r1.ebuild: |
35 |
|
36 |
|
37 |
|
38 |
1.3 sci-physics/geant/geant-4.10.01.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant/geant-4.10.01.ebuild?rev=1.3&view=markup |
41 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant/geant-4.10.01.ebuild?rev=1.3&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant/geant-4.10.01.ebuild?r1=1.2&r2=1.3 |
43 |
|
44 |
Index: geant-4.10.01.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/sci-physics/geant/geant-4.10.01.ebuild,v |
47 |
retrieving revision 1.2 |
48 |
retrieving revision 1.3 |
49 |
diff -u -r1.2 -r1.3 |
50 |
--- geant-4.10.01.ebuild 5 Mar 2015 01:05:38 -0000 1.2 |
51 |
+++ geant-4.10.01.ebuild 30 Mar 2015 20:46:18 -0000 1.3 |
52 |
@@ -1,6 +1,6 @@ |
53 |
# Copyright 1999-2015 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/geant-4.10.01.ebuild,v 1.2 2015/03/05 01:05:38 heroxbd Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/geant-4.10.01.ebuild,v 1.3 2015/03/30 20:46:18 amadio Exp $ |
57 |
|
58 |
EAPI=5 |
59 |
|
60 |
@@ -40,7 +40,9 @@ |
61 |
|
62 |
S="${WORKDIR}/${MYP}" |
63 |
|
64 |
-PATCHES=( "${FILESDIR}"/${PN}-4.10.0-no-examples.patch ) |
65 |
+src_prepare() { |
66 |
+ use examples || epatch "${FILESDIR}"/${PN}-4.10.0-no-examples.patch |
67 |
+} |
68 |
|
69 |
src_configure() { |
70 |
local mycmakeargs=( |
71 |
@@ -75,9 +77,8 @@ |
72 |
cmake-utils_src_install |
73 |
insinto /usr/share/doc/${PF} |
74 |
doins ReleaseNotes/ReleaseNotes${PV1}.${PV2}.${SPV3}.html |
75 |
- [[ -e ReleaseNotes/Patch${PV1}.${PV2}.${SPV3}-1.txt ]] && \ |
76 |
+ [[ -f ReleaseNotes/Patch${PV1}.${PV2}.${SPV3}-1.txt ]] && \ |
77 |
dodoc ReleaseNotes/Patch${mypv}-*.txt |
78 |
- use examples && doins -r examples |
79 |
} |
80 |
|
81 |
pkg_postinst() { |