Toolkit to simulate the particle interaction with matter.

This commit is contained in:
Hugo Rivera 2006-10-30 11:31:34 +00:00 committed by Thomas Klausner
parent c4b839f161
commit 3b9c4b184c
4 changed files with 10158 additions and 0 deletions

6
geant/DESCR Normal file
View file

@ -0,0 +1,6 @@
Geant4 is a toolkit for the simulation of the passage of particles through
matter. Its areas of application include high energy, nuclear and accelerator
physics, as well as studies in medical and space science. The two main
reference papers for Geant4 are published in Nuclear Instruments and Methods
in Physics Research A 506 (2003) 250-303, and IEEE Transactions on Nuclear
Science 53 No. 1 (2006) 270-278.

68
geant/Makefile Normal file
View file

@ -0,0 +1,68 @@
# $NetBSD: Makefile,v 1.1.1.1 2006/10/30 11:31:34 hugor Exp $
#
DISTNAME= geant4.8.1.p01
PKGNAME= geant-4.8.1p01
CATEGORIES= math
MASTER_SITES= http://geant4.web.cern.ch/geant4/support/source/
MAINTAINER= hugor@users.sourceforge.net
HOMEPAGE= http://geant4.web.cern.ch/geant4/
COMMENT= Toolkit for the simulation of the passage of particles through matter
WRKSRC= ${WRKDIR}/${DISTNAME}/source
MAKE_FILE= GNUmakefile
USE_TOOLS+= gmake
USE_LANGUAGES+= c c++
BUILD_TARGET= # empty
# Enviroment variables for building geant4
G4SYSTEM= Linux-g++
MAKE_ENV+= G4SYSTEM=Linux-g++
MAKE_ENV+= G4INSTALL=${WRKDIR}/${DISTNAME}
MAKE_ENV+= CLHEP_BASE_DIR=${LOCALBASE}
MAKE_ENV+= G4LIB_BUILD_STATIC=1
MAKE_ENV+= G4LIB_USE_GRANULAR=1
# Adding OpenGL support
MAKE_ENV+= G4VIS_USE_OPENGLX=1
MAKE_ENV+= G4VIS_BUILD_OPENGLX_DRIVER=1
MAKE_ENV+= OGLHOME=${LOCALBASE}
MAKE_ENV+= OGLFLAGS="-I${LOCALBASE}/include"
MAKE_ENV+= OGLLIBS="-L${LOCALBASE}/lib -lGLU -lGL"
# RayTracerX Visualization driver
MAKE_ENV+= G4VIS_USE_RAYTRACERX=1
MAKE_ENV+= G4VIS_BUILD_RAYTRACERX_DRIVER=1
# User Interface
MAKE_ENV+= G4UI_USE_TERMINAL=1
do-install:
${INSTALL_DATA_DIR} ${LOCALBASE}/geant
${INSTALL_DATA_DIR} ${LOCALBASE}/geant/config
${INSTALL_DATA_DIR} ${LOCALBASE}/geant/examples
${INSTALL_DATA_DIR} ${LOCALBASE}/geant/lib
${INSTALL_LIB_DIR} ${LOCALBASE}/geant/lib/${G4SYSTEM}
${INSTALL_DATA_DIR} ${LOCALBASE}/geant/physics_lists
${INSTALL_DATA_DIR} ${LOCALBASE}/geant/source
cd ${WRKDIR}/${DISTNAME}/config && pax -pp -rw . \
${LOCALBASE}/geant/config
cd ${WRKDIR}/${DISTNAME}/examples && pax -pp -rw . \
${LOCALBASE}/geant/examples
${INSTALL_LIB} ${WRKDIR}/${DISTNAME}/lib/${G4SYSTEM}/* \
${LOCALBASE}/geant/lib/${G4SYSTEM}
cd ${WRKDIR}/${DISTNAME}/physics_lists && pax -pp -rw . \
${LOCALBASE}/geant/physics_lists
cd ${WRKDIR}/${DISTNAME}/source && pax -pp -rw . \
${LOCALBASE}/geant/source
.include "../../wip/clhep/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../mk/x11.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

10079
geant/PLIST Normal file

File diff suppressed because it is too large Load diff

5
geant/distinfo Normal file
View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2006/10/30 11:31:34 hugor Exp $
SHA1 (geant4.8.1.p01.tar.gz) = ababbbf4e836127649b224a734b220851bd9d937
RMD160 (geant4.8.1.p01.tar.gz) = 19ec5a3ea9988d40c1bcced35b7d2915286ca997
Size (geant4.8.1.p01.tar.gz) = 17291964 bytes