amadio      15/03/30 20:46:18

  Modified:             ChangeLog geant-4.10.01.ebuild
  Log:
  Fix examples install location
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
0xF0DE108F)

Revision  Changes    Path
1.82                 sci-physics/geant/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant/ChangeLog?rev=1.82&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant/ChangeLog?rev=1.82&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant/ChangeLog?r1=1.81&r2=1.82

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-physics/geant/ChangeLog,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -r1.81 -r1.82
--- ChangeLog   5 Mar 2015 01:05:38 -0000       1.81
+++ ChangeLog   30 Mar 2015 20:46:18 -0000      1.82
@@ -1,6 +1,9 @@
 # ChangeLog for sci-physics/geant
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/ChangeLog,v 1.81 
2015/03/05 01:05:38 heroxbd Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/ChangeLog,v 1.82 
2015/03/30 20:46:18 amadio Exp $
+
+  30 Mar 2015; Guilherme Amadio <[email protected]> geant-4.10.01.ebuild:
+  Fix examples install location
 
   05 Mar 2015; Benda Xu <[email protected]> geant-4.10.00.ebuild,
   geant-4.10.00_p01.ebuild, geant-4.10.01.ebuild, geant-4.9.6_p02-r1.ebuild:



1.3                  sci-physics/geant/geant-4.10.01.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant/geant-4.10.01.ebuild?rev=1.3&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant/geant-4.10.01.ebuild?rev=1.3&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant/geant-4.10.01.ebuild?r1=1.2&r2=1.3

Index: geant-4.10.01.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-physics/geant/geant-4.10.01.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- geant-4.10.01.ebuild        5 Mar 2015 01:05:38 -0000       1.2
+++ geant-4.10.01.ebuild        30 Mar 2015 20:46:18 -0000      1.3
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/geant-4.10.01.ebuild,v 
1.2 2015/03/05 01:05:38 heroxbd Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/geant-4.10.01.ebuild,v 
1.3 2015/03/30 20:46:18 amadio Exp $
 
 EAPI=5
 
@@ -40,7 +40,9 @@
 
 S="${WORKDIR}/${MYP}"
 
-PATCHES=( "${FILESDIR}"/${PN}-4.10.0-no-examples.patch )
+src_prepare() {
+       use examples || epatch "${FILESDIR}"/${PN}-4.10.0-no-examples.patch
+}
 
 src_configure() {
        local mycmakeargs=(
@@ -75,9 +77,8 @@
        cmake-utils_src_install
        insinto /usr/share/doc/${PF}
        doins ReleaseNotes/ReleaseNotes${PV1}.${PV2}.${SPV3}.html
-       [[ -e ReleaseNotes/Patch${PV1}.${PV2}.${SPV3}-1.txt ]] && \
+       [[ -f ReleaseNotes/Patch${PV1}.${PV2}.${SPV3}-1.txt ]] && \
                dodoc ReleaseNotes/Patch${mypv}-*.txt
-       use examples && doins -r examples
 }
 
 pkg_postinst() {




Reply via email to