aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Fabbro <bicatali@gentoo.org>2013-01-18 15:41:09 -0800
committerSébastien Fabbro <bicatali@gentoo.org>2013-01-18 15:41:09 -0800
commitcbe2936641c0b7b442fc89247dc892adc8d61b6d (patch)
tree0302dd874a959d45df3c89eb1b28b368c7057369
parentsci-physics/geant-vmc: Initial import (diff)
downloadsci-cbe2936641c0b7b442fc89247dc892adc8d61b6d.tar.gz
sci-cbe2936641c0b7b442fc89247dc892adc8d61b6d.tar.bz2
sci-cbe2936641c0b7b442fc89247dc892adc8d61b6d.zip
virtual/geant:3 work
Package-Manager: portage-2.2.01.21580-prefix
-rw-r--r--sci-physics/geant/ChangeLog353
-rw-r--r--sci-physics/geant/Manifest2
-rw-r--r--sci-physics/geant/geant-3.21.14-r4.ebuild70
-rw-r--r--sci-physics/geant/metadata.xml14
4 files changed, 439 insertions, 0 deletions
diff --git a/sci-physics/geant/ChangeLog b/sci-physics/geant/ChangeLog
new file mode 100644
index 000000000..457ebb007
--- /dev/null
+++ b/sci-physics/geant/ChangeLog
@@ -0,0 +1,353 @@
+# ChangeLog for sci-physics/geant
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/ChangeLog,v 1.68 2012/12/14 16:51:50 bicatali Exp $
+
+*geant-3.21.14-r4 (18 Jan 2013)
+
+ 18 Jan 2013; Sébastien Fabbro <bicatali@gentoo.org>
+ +geant-3.21.14-r4.ebuild, +metadata.xml:
+ Introducing virtual/geant:3. Updating debian patch. Ebuild clean. Keyword
+ amd64-linux, x86-linux
+
+*geant-4.9.5_p02 (14 Dec 2012)
+*geant-4.9.6 (14 Dec 2012)
+
+ 14 Dec 2012; Sébastien Fabbro <bicatali@gentoo.org> +geant-4.9.5_p02.ebuild,
+ +geant-4.9.6.ebuild, -geant-4.9.2_p02.ebuild, -geant-4.9.5-r1.ebuild,
+ -geant-4.9.5_p01.ebuild, metadata.xml:
+ Version bumps. Tests are not in tar ball anymore. Might have to re-apply patch
+ for data environment variables
+
+ 24 Oct 2012; Ulrich Müller <ulm@gentoo.org> geant-3.21.14-r2.ebuild,
+ geant-3.21.14-r3.ebuild, geant-4.9.2_p02.ebuild, geant-4.9.5-r1.ebuild,
+ geant-4.9.5_p01.ebuild:
+ Update dependency after package move from x11-libs/openmotif to
+ x11-libs/motif.
+
+ 16 Oct 2012; Justin Lecher <jlec@gentoo.org> geant-3.21.14-r2.ebuild,
+ geant-3.21.14-r3.ebuild, geant-4.9.2_p02.ebuild, geant-4.9.4_p03.ebuild,
+ geant-4.9.5-r1.ebuild, geant-4.9.5_p01.ebuild:
+ Remove virtual/fortran and always call fortran-2_pkg_setup as intend by the
+ updated fortran-2.eclass
+
+ 04 Jul 2012; Jeff Horelick <jdhore@gentoo.org> geant-4.9.4_p03.ebuild:
+ marked x86 per bug 420295
+
+ 16 Jun 2012; Agostino Sarubbo <ago@gentoo.org> geant-4.9.4_p03.ebuild:
+ Stable for amd64, wrt bug #420295
+
+ 20 May 2012; Benda Xu <heroxbd@gentoo.org> geant-4.9.5-r1.ebuild,
+ geant-4.9.5_p01.ebuild:
+ I have massed up the keywords and Changelog with blind rsync with my overlay.
+ This is just a fix.
+
+ 20 May 2012; Benda Xu <heroxbd@gentoo.org> +geant-4.9.5-r1.ebuild,
+ +files/geant-4.9.5_p01-scripts-only-dataenv.patch,
+ files/geant-4.9.5-scripts-only-dataenv.patch:
+ add back geant-4.9.5-r1.ebuild because geant-python cannot function correctly
+ with 4.9.5_p01, upstream http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1317
+
+*geant-4.9.5_p01 (19 May 2012)
+
+ 19 May 2012; Benda Xu <heroxbd@gentoo.org> +geant-4.9.5_p01.ebuild,
+ -geant-4.9.5-r1.ebuild, files/geant-4.9.4-zlib.patch,
+ files/geant-4.9.5-scripts-only-dataenv.patch:
+ version bump to 4.9.5_p01
+
+ 19 May 2012; Benda Xu <heroxbd@gentoo.org> geant-4.9.5-r1.ebuild:
+ delete the wrong sed phrase.
+
+ 18 May 2012; Benda Xu <heroxbd@gentoo.org>
+ +files/geant-4.9.5-scripts-only-dataenv.patch, geant-4.9.5-r1.ebuild:
+ keyword amd64-linux and x86-linux; handle data dir via envd; fix clhep linking
+
+ 16 Mar 2012; Sébastien Fabbro <bicatali@gentoo.org> -geant-4.9.5.ebuild,
+ geant-4.9.5-r1.ebuild:
+ Fix for openinventor to use SGI OpenInventor in portage instead of SoXt, bug
+ #408187
+
+*geant-4.9.5-r1 (13 Mar 2012)
+
+ 13 Mar 2012; Sébastien Fabbro <bicatali@gentoo.org>
+ files/geant-4.9.4-zlib.patch, +geant-4.9.5-r1.ebuild:
+ Fixed more zlib issues. The geant3 flag is now only for unit conversion (if
+ geant3 is needed, geant:3 has to be installed from user). The data is now
+ fetched (building needs network) to ease maintenance and set up the proper
+ env variables in the geant4*sh scripts. Removed a use dawn duplicate. Thanks
+ Marek Szuba for his suggestions (bug #407517 and bug #359673). Added a
+ message for backward compatibility (bug #360285)
+
+*geant-4.9.5 (18 Dec 2011)
+*geant-4.9.4_p03 (18 Dec 2011)
+
+ 18 Dec 2011; Sébastien Fabbro <bicatali@gentoo.org>
+ -geant-4.9.3_p02-r1.ebuild, -geant-4.9.4_p01.ebuild, +geant-4.9.4_p03.ebuild,
+ +files/geant-4.9.4-trajectory.patch, files/geant-4.9.4-zlib.patch,
+ +geant-4.9.5.ebuild:
+ Version bumps. Re-introduced some older flags and fixed linking of
+ zlib. Added patch for source trajectory example (bug #365171), thanks Matthias Nagl.
+
+ 02 Aug 2011; Matt Turner <mattst88@gentoo.org> geant-4.9.2_p02.ebuild,
+ geant-4.9.3_p02-r1.ebuild:
+ Renamed x11-libs/Xaw3d to x11-libs/libXaw3d.
+
+*geant-3.21.14-r3 (21 Jul 2011)
+
+ 21 Jul 2011; Sébastien Fabbro <bicatali@gentoo.org>
+ +geant-3.21.14-r3.ebuild:
+ New debian patch set. Switch to EAPI4
+
+ 28 Jun 2011; Justin Lecher <jlec@gentoo.org> geant-3.21.14-r2.ebuild,
+ geant-4.9.2_p02.ebuild, geant-4.9.3_p02-r1.ebuild, geant-4.9.4_p01.ebuild,
+ metadata.xml:
+ Fix sed on *FLAGS from : to |, EAPI bump
+
+ 21 Jun 2011; Justin Lecher <jlec@gentoo.org> geant-3.21.14-r2.ebuild,
+ geant-4.9.2_p02.ebuild, geant-4.9.3_p02-r1.ebuild, geant-4.9.4_p01.ebuild:
+ Add dependency on virtual/fortran
+
+ 21 Jun 2011; Justin Lecher <jlec@gentoo.org> geant-3.21.14-r2.ebuild,
+ geant-4.9.2_p02.ebuild, geant-4.9.3_p02-r1.ebuild, geant-4.9.4_p01.ebuild:
+ Added fortran-2.eclass support
+
+ 07 Jun 2011; Jeroen Roovers <jer@gentoo.org> geant-3.21.14-r2.ebuild,
+ geant-4.9.2_p02.ebuild, geant-4.9.3_p02-r1.ebuild, geant-4.9.4_p01.ebuild:
+ Drop HPPA keywording.
+
+ 22 Mar 2011; Sébastien Fabbro <bicatali@gentoo.org> geant-4.9.4_p01.ebuild:
+ Proper CMake optional use bug #359437 thanks Rafal Lalik
+
+*geant-4.9.4_p01 (18 Mar 2011)
+
+ 18 Mar 2011; Sébastien Fabbro <bicatali@gentoo.org> -geant-4.9.4.ebuild,
+ +geant-4.9.4_p01.ebuild:
+ Version bump. Unm Unmasking.
+
+ 13 Feb 2011; Raúl Porcel <armin76@gentoo.org> geant-3.21.14-r2.ebuild,
+ geant-4.9.2_p02.ebuild, geant-4.9.3_p02-r1.ebuild, geant-4.9.4.ebuild:
+ Drop sparc keywords
+
+ 07 Feb 2011; Sébastien Fabbro <bicatali@gentoo.org> geant-4.9.4.ebuild:
+ Fixed a forgotten flag, thanks Rafal Lalik bug #353740
+
+*geant-4.9.4 (22 Jan 2011)
+
+ 22 Jan 2011; Sébastien Fabbro <bicatali@gentoo.org>
+ geant-4.9.3_p02-r1.ebuild, files/geant-4.9.3-zlib.patch, +geant-4.9.4.ebuild,
+ +files/geant-4.9.4-datadir.patch, +files/geant-4.9.4-libdir.patch,
+ +files/geant-4.9.4-no-benchmarks.patch, +files/geant-4.9.4-no-examples.patch,
+ +files/geant-4.9.4-zlib.patch, metadata.xml:
+ Version bump, switched to cmake. Fixed Qt drivers bug #263450, bug #347279.
+ Removed G4WORKDIR bug #345855.
+
+*geant-4.9.3_p02-r1 (07 Nov 2010)
+
+ 07 Nov 2010; Kacper Kowalik <xarthisius@gentoo.org>
+ -geant-4.9.3_p01.ebuild, -geant-4.9.3_p02.ebuild,
+ +geant-4.9.3_p02-r1.ebuild, +files/geant-4.9.3-respect_flags.patch:
+ Fix building with --as-needed wrt bug 344119, respect CXX. Drop old.
+
+ 10 Oct 2010; Ulrich Mueller <ulm@gentoo.org> geant-3.21.14-r2.ebuild,
+ geant-4.9.2_p02.ebuild, geant-4.9.3_p01.ebuild, geant-4.9.3_p02.ebuild:
+ Fix openmotif dependency.
+
+*geant-4.9.3_p02 (29 Sep 2010)
+
+ 29 Sep 2010; Sébastien Fabbro <bicatali@gentoo.org>
+ +geant-4.9.3_p02.ebuild:
+ Version bump
+
+ 12 Aug 2010; Sébastien Fabbro <bicatali@gentoo.org>
+ geant-4.9.2_p02.ebuild, -geant-4.9.3.ebuild, geant-4.9.3_p01.ebuild:
+ Change clhep dependency, clhep-2.1 api incompatible
+
+*geant-4.9.3_p01 (27 Apr 2010)
+
+ 27 Apr 2010; Sébastien Fabbro <bicatali@gentoo.org>
+ +geant-4.9.3_p01.ebuild:
+ Version bump. Switched static flag to static-libs
+
+*geant-4.9.3 (08 Jan 2010)
+
+ 08 Jan 2010; Sébastien Fabbro <bicatali@gentoo.org>
+ -geant-4.9.2-r2.ebuild, +geant-4.9.3.ebuild,
+ +files/geant-4.9.3-zlib.patch:
+ Version bump, thanks Ben Bannier
+
+ 26 Dec 2009; Raúl Porcel <armin76@gentoo.org> geant-4.9.2_p02.ebuild:
+ sparc stable wrt #294442
+
+ 10 Dec 2009; Sébastien Fabbro <bicatali@gentoo.org>
+ geant-4.9.2_p02.ebuild:
+ Propagate compiler correctly, bug #296043
+
+ 07 Dec 2009; Jeroen Roovers <jer@gentoo.org> geant-3.21.14-r2.ebuild,
+ geant-4.9.2_p02.ebuild:
+ Stable for HPPA (bug #294442).
+
+ 04 Dec 2009; Sébastien Fabbro <bicatali@gentoo.org>
+ geant-3.21.14-r2.ebuild:
+ Re-changing to old style patching at least until patch-2.6 is not buggy
+ and masked
+
+ 26 Nov 2009; Markus Meier <maekke@gentoo.org> geant-4.9.2_p02.ebuild:
+ amd64 stable, bug #294442
+
+ 26 Nov 2009; Sébastien Fabbro <bicatali@gentoo.org>
+ geant-3.21.14-r2.ebuild:
+ Fixing patch application with more recent versions
+
+ 26 Nov 2009; Christian Faulhammer <fauli@gentoo.org>
+ geant-4.9.2_p02.ebuild:
+ stable x86, bug 294442
+
+ 06 Oct 2009; Dominik Kapusta <ayoy@gentoo.org> geant-4.9.2-r2.ebuild,
+ geant-4.9.2_p02.ebuild:
+ Removed alternative dependency on Qt metapackage
+
+*geant-4.9.2_p02 (23 Sep 2009)
+
+ 23 Sep 2009; Sébastien Fabbro <bicatali@gentoo.org>
+ -geant-4.9.1_p03.ebuild, -geant-4.9.2_p01.ebuild, +geant-4.9.2_p02.ebuild,
+ metadata.xml:
+ Version bump. Added aida USE flag, fixed Qt and GDML build options,
+ hopefully fixing examples compiling (bug #260102), thanks Matej and
+ Giovanni Fattori for their input
+
+ 05 May 2009; Christian Faulhammer <fauli@gentoo.org>
+ geant-3.21.14-r2.ebuild, geant-4.9.2-r2.ebuild:
+ stable x86, bug 245875
+
+ 17 Apr 2009; Sébastien Fabbro <bicatali@gentoo.org> geant-3.21.14-r2:
+ Fixed some latex font generation and made ebuild consistent with other
+ cernlib ebuilds
+
+ 23 Mar 2009; Sébastien Fabbro <bicatali@gentoo.org>
+ geant-4.9.2-r2.ebuild:
+ Added building of opengl qt4 driver, thanks merkel@kph.uni-mainz.de (bug
+ #263450) for noticing
+
+ 22 Mar 2009; Jeremy Olexa <darkside@gentoo.org> geant-4.9.2-r2.ebuild:
+ amd64 stable, bug 245875
+
+ 22 Mar 2009; Jeremy Olexa <darkside@gentoo.org> geant-3.21.14-r2.ebuild:
+ amd64 stable, bug 245875
+
+*geant-4.9.2_p01 (18 Mar 2009)
+
+ 18 Mar 2009; Sébastien Fabbro <bicatali@gentoo.org>
+ geant-3.21.14-r2.ebuild, +geant-4.9.2_p01.ebuild:
+ Version bump (bug fixes only)
+
+ 05 Mar 2009; Ferris McCormick <fmccor@gentoo.org> geant-4.9.2-r2.ebuild:
+ Sparc stable, although early. See Bug #245875 --- needed for gcc-4.3 (Bug
+ #245160).
+
+ 05 Mar 2009; Sébastien Fabbro <bicatali@gentoo.org>
+ geant-4.9.2-r2.ebuild:
+ Fixed linking qt4 libraries, added G4WORKDIR to make it work on paludis
+ and a bit of ebuild cleaning
+
+ 03 Mar 2009; Ferris McCormick <fmccor@gentoo.org> geant-3.21.14-r2.ebuild:
+ Sparc stable, part of Bug #245875.
+
+*geant-4.9.2-r2 (27 Feb 2009)
+
+ 27 Feb 2009; Sébastien Fabbro <bicatali@gentoo.org> -geant-4.9.2.ebuild,
+ -geant-4.9.2-r1.ebuild, +geant-4.9.2-r2.ebuild:
+ Adding fixes from Benjamin Bannier to include linking when building
+ examples, and a syntax error caught by Matej Batic, see bug #260102
+
+*geant-4.9.2-r1 (19 Jan 2009)
+
+ 19 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/geant-4.9.2-zlib.patch, +geant-4.9.2-r1.ebuild:
+ Added a patch to avoid linking to G4zlib, closing bug #255017, thanks to
+ Benjamin Bannier for the hint
+
+*geant-4.9.2 (10 Jan 2009)
+
+ 10 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org> +geant-4.9.2.ebuild:
+ Version bump. Switched to EAPI=2, added qt4 support, updated data files,
+ updated minimum dependencies, and now propagate LDFLAGS. Closing bug #253769.
+
+ 24 Nov 2008; Sébastien Fabbro <bicatali@gentoo.org>
+ -geant-4.9.1_p02.ebuild, geant-4.9.1_p03.ebuild:
+ Removed bundled zlib, closing bug #248423
+
+*geant-4.9.1_p03 (23 Sep 2008)
+
+ 23 Sep 2008; Sébastien Fabbro <bicatali@gentoo.org>
+ +geant-4.9.1_p03.ebuild:
+ Version bump. Closing bug #238132.
+
+ 06 Aug 2008; Ulrich Mueller <ulm@gentoo.org> metadata.xml:
+ Add USE flag description to metadata wrt GLEP 56.
+
+ 17 Jul 2008; Sébastien Fabbro <bicatali@gentoo.org>
+ geant-4.9.1_p02.ebuild:
+ Fixed the make global step to not remove previous built granula libaries,
+ see bug #231314, thanks Benjamin Bannier.
+
+ 15 Jul 2008; Ferris McCormick <fmccor@gentoo.org> geant-4.9.1_p02.ebuild:
+ Add ~sparc for testing and for sci-physics/root --- Bug #230716 which see
+ for comments.
+
+ 15 Jul 2008; Ferris McCormick <fmccor@gentoo.org> geant-3.21.14-r2.ebuild:
+ Add ~sparc for testing, dependency required for Bug #230716.
+
+ 15 Jul 2008; Jeroen Roovers <jer@gentoo.org> geant-4.9.1_p02.ebuild:
+ Marked ~hppa (bug #230716).
+
+ 14 Jul 2008; Jeroen Roovers <jer@gentoo.org> geant-3.21.14-r2.ebuild:
+ Marked ~hppa (bug #230716).
+
+ 10 Jul 2008; Sébastien Fabbro <bicatali@gentoo.org>
+ geant-4.9.1_p02.ebuild:
+ Fix some global libraries issues, see bug #231314, thanks Benjamin Bannier
+ for his patch.
+
+ 06 Jul 2008; Jeroen Roovers <jer@gentoo.org> geant-3.21.14-r1.ebuild:
+ Fix duplicate KEYWORDS definition.
+
+ 06 Jul 2008; Jeroen Roovers <jer@gentoo.org> geant-3.21.14-r2.ebuild:
+ Fix duplicate KEYWORDS definition.
+
+ 29 Jun 2008; Torsten Veller <tove@gentoo.org> geant-3.21.14-r1.ebuild,
+ geant-3.21.14-r2.ebuild:
+ Add missing die: || "..." -> || die "..."
+
+ 27 Jun 2008; Ulrich Mueller <ulm@gentoo.org> geant-3.21.14-r1.ebuild,
+ geant-3.21.14-r2.ebuild, geant-4.9.1_p02.ebuild:
+ Change dependency from virtual/motif to x11-libs/openmotif, bug 224749.
+
+*geant-4.9.1_p02 (06 Jun 2008)
+*geant-3.21.14-r2 (06 Jun 2008)
+
+ 06 Jun 2008; Sébastien Fabbro <bicatali@gentoo.org> metadata.xml,
+ -geant-3.21.14.ebuild, +geant-3.21.14-r2.ebuild, +geant-4.9.1_p02.ebuild:
+ Added major version bump for geant-4, slotted. Thanks much to Benjamin
+ Bennier for his work (bug #212221). Now geant-3 is also slotted, and got a
+ revision bump
+
+*geant-4.9.1_p02 (06 Jun 2008)
+*geant-3.21.14-r2 (06 Jun 2008)
+
+ 06 Jun 2008; Sébastien Fabbro <bicatali@gentoo.org> metadata.xml,
+ -geant-3.21.14.ebuild, +geant-3.21.14-r2.ebuild, +geant-4.9.1_p02.ebuild:
+ Added major version bump for geant-4, slotted. Thanks much to Benjamin
+ Bennier for his work (bug #212221). Now geant-3 is also slotted, and got a
+ revision bump
+
+*geant-3.21.14-r1 (11 Mar 2008)
+
+ 11 Mar 2008; Sébastien Fabbro <bicatali@gentoo.org>
+ +geant-3.21.14-r1.ebuild:
+ New series of patches from Debian, more compatible with gfortran and better
+ tests. Much ebuild cleaning.
+
+*geant-3.21.14 (24 Aug 2007)
+
+ 24 Aug 2007; Sébastien Fabbro <bicatali@gentoo.org> +metadata.xml,
+ +geant-3.21.14.ebuild:
+ Initial import.
diff --git a/sci-physics/geant/Manifest b/sci-physics/geant/Manifest
new file mode 100644
index 000000000..04c8801c9
--- /dev/null
+++ b/sci-physics/geant/Manifest
@@ -0,0 +1,2 @@
+DIST geant321_3.21.14.dfsg-10.diff.gz 46221 SHA256 a148234b0b09c74e7cd2afe3348adfdcce84d7db41fcf483f09fb52443949df2 SHA512 c0b1da38c966e8bff356726afba344cff953e902fff7e728bd5fce9472d7562701fceae482b8d6cba81bc78ccf5027229aee0379e1b59787c957b88b94ce8cb4 WHIRLPOOL ea1ae564f36ffb93ea8c57125ca21f55d640bc7ca03aa4457bfcecebe93500a66e3e63b43d1b28583d40319f52f0093149a1e868717ea1c855ebae12cf0d638d
+DIST geant321_3.21.14.dfsg.orig.tar.gz 10922928 SHA256 186fe98a08ad1de39f68698a09a46e7c2f14c37b22f8f990257b0bd66215c5b4 SHA512 733a77e529ecfe17c35d1e0bf44cf9062dbd9f2e3880e12cbfabf7372e6c60ea9690df010574094b44aef6fe306dfd85dfd4f42641b8f03efda3938a50313734 WHIRLPOOL fc2b230e1bf2ae1157cf9c92f474ff72fc1f3158e5db5a8f1a7d4f7c983fae9b886dc1aeb148019cb961bc602abc629d75a1aa728d66b10887daa45de040def6
diff --git a/sci-physics/geant/geant-3.21.14-r4.ebuild b/sci-physics/geant/geant-3.21.14-r4.ebuild
new file mode 100644
index 000000000..8df507faf
--- /dev/null
+++ b/sci-physics/geant/geant-3.21.14-r4.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/geant-3.21.14-r3.ebuild,v 1.3 2012/10/24 19:42:46 ulm Exp $
+
+EAPI=5
+
+inherit eutils fortran-2 alternatives-2
+
+DEB_PN=geant321
+DEB_PV=${PV}.dfsg
+DEB_PR=10
+DEB_P=${DEB_PN}_${DEB_PV}
+
+DESCRIPTION="CERN's detector description and simulation Tool"
+HOMEPAGE="http://wwwasd.web.cern.ch/wwwasd/geant/"
+SRC_URI="
+ mirror://debian/pool/main/${DEB_PN:0:1}/${DEB_PN}/${DEB_P}.orig.tar.gz
+ mirror://debian/pool/main/${DEB_PN:0:1}/${DEB_PN}/${DEB_P}-${DEB_PR}.diff.gz"
+
+SLOT="3"
+LICENSE="GPL-2 LGPL-2 BSD"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+ x11-libs/motif:0
+ dev-lang/cfortran
+ sci-physics/cernlib
+ sci-physics/paw
+ !sci-physics/geant-vmc:3"
+DEPEND="${RDEPEND}
+ virtual/latex-base
+ x11-misc/imake
+ x11-misc/makedepend"
+
+S="${WORKDIR}/${DEB_PN}-${DEB_PV}.orig"
+
+src_prepare() {
+ cd "${WORKDIR}"
+ sed -i -e 's:/tmp/dp.*/cern:cern:g' ${DEB_P}-${DEB_PR}.diff || die
+ epatch ${DEB_P}-${DEB_PR}.diff
+ cd "${S}"
+ cp debian/add-ons/Makefile . || die
+ export DEB_BUILD_OPTIONS="$(tc-getFC) nostrip nocheck"
+ sed -i \
+ -e "s:/usr/local:${EROOT}/usr:g" \
+ Makefile || die "sed'ing the Makefile failed"
+ einfo "Applying Debian patches"
+ emake -j1 patch
+
+ # since we depend on cfortran, do not use the one from cernlib
+ rm src/include/cfortran/cfortran.h || die
+}
+
+src_compile() {
+ # create local LaTeX cache directory
+ VARTEXFONTS="${T}"/fonts
+ emake -j1 cernlib-indep cernlib-arch
+}
+
+src_test_() {
+ LD_LIBRARY_PATH="${S}"/shlib emake -j1 cernlib-test
+}
+
+src_install() {
+ default
+ cd debian
+ dodoc changelog README.* deadpool.txt NEWS copyright
+ newdoc add-ons/README README.add-ons
+}
diff --git a/sci-physics/geant/metadata.xml b/sci-physics/geant/metadata.xml
new file mode 100644
index 000000000..c32b134f3
--- /dev/null
+++ b/sci-physics/geant/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci-physics</herd>
+<longdescription lang="en">
+ Geant simulates the passage of subatomic particles through matter, for
+ instance, particle detectors. Geant 3 simulations are performed by
+ linking Fortran code supplied by the user with the Geant libraries,
+ then running the resulting executable. This package includes gxint,
+ the script used to perform this linking step.
+ Geant 4 is a complete rewrite in C++ with addition of other modern
+ features and detectors.
+</longdescription>
+</pkgmetadata>