From 020f767b43feae7048ee226a7a39d971106bc6de Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Tue, 26 May 2020 16:21:23 +0000 Subject: [PATCH] New port: science/hepmc3: Event record for High Energy Physics Monte Carlo generators/simulation --- science/Makefile | 1 + science/hepmc3/Makefile | 20 ++++++++ science/hepmc3/distinfo | 3 ++ science/hepmc3/files/patch-HepMC3-config.in | 8 +++ science/hepmc3/pkg-descr | 8 +++ science/hepmc3/pkg-plist | 54 +++++++++++++++++++++ 6 files changed, 94 insertions(+) create mode 100644 science/hepmc3/Makefile create mode 100644 science/hepmc3/distinfo create mode 100644 science/hepmc3/files/patch-HepMC3-config.in create mode 100644 science/hepmc3/pkg-descr create mode 100644 science/hepmc3/pkg-plist diff --git a/science/Makefile b/science/Makefile index e57eeafdde9a..3fcdb9758355 100644 --- a/science/Makefile +++ b/science/Makefile @@ -103,6 +103,7 @@ SUBDIR += hdf5 SUBDIR += hdf5-18 SUBDIR += healpix + SUBDIR += hepmc3 SUBDIR += highfive SUBDIR += hypre SUBDIR += iboview diff --git a/science/hepmc3/Makefile b/science/hepmc3/Makefile new file mode 100644 index 000000000000..79d9188bc4b8 --- /dev/null +++ b/science/hepmc3/Makefile @@ -0,0 +1,20 @@ +# $FreeBSD$ + +PORTNAME= hepmc3 +DISTVERSION= 3.2.1 +CATEGORIES= science +MASTER_SITES= http://hepmc.web.cern.ch/hepmc/releases/ +DISTNAME= HepMC3-${DISTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Event record for High Energy Physics Monte Carlo generators/simulation + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= cmake compiler:c++11-lang +USE_LDCONFIG= yes + +CMAKE_OFF= HEPMC3_ENABLE_PYTHON HEPMC3_BUILD_STATIC_LIBS HEPMC3_ENABLE_ROOTIO + +.include diff --git a/science/hepmc3/distinfo b/science/hepmc3/distinfo new file mode 100644 index 000000000000..c34be670700b --- /dev/null +++ b/science/hepmc3/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1590508907 +SHA256 (HepMC3-3.2.1.tar.gz) = 6e4e4bb5708af105d4bf74efc2745e6efe704e942d46a8042f7dcae37a4739fe +SIZE (HepMC3-3.2.1.tar.gz) = 8068277 diff --git a/science/hepmc3/files/patch-HepMC3-config.in b/science/hepmc3/files/patch-HepMC3-config.in new file mode 100644 index 000000000000..bc15f5a3a2a7 --- /dev/null +++ b/science/hepmc3/files/patch-HepMC3-config.in @@ -0,0 +1,8 @@ +--- HepMC3-config.in.orig 2020-05-26 16:09:08 UTC ++++ HepMC3-config.in +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/bin/sh + #Adopted from + #https://yoda.hepforge.org/trac/browser/bin/yoda-config.in + #Docs from https://cmake.org/cmake/help/v3.2/command/configure_file.html diff --git a/science/hepmc3/pkg-descr b/science/hepmc3/pkg-descr new file mode 100644 index 000000000000..cf3e57904c9b --- /dev/null +++ b/science/hepmc3/pkg-descr @@ -0,0 +1,8 @@ +The HepMC package is an object oriented, C++ event record for High Energy +Physics Monte Carlo generators and simulation. The original code was written +by M. Dobbs and J.B. Hansen (Comput. Phys. Commun. 134 (2001) 41). Since the +first implementation, the package has undergone several modifications and in +particular, the latest HepMC3 series is a completely new rewrite using +currently available C++11 techniques. + +WWW: http://hepmc.web.cern.ch/hepmc/ diff --git a/science/hepmc3/pkg-plist b/science/hepmc3/pkg-plist new file mode 100644 index 000000000000..f0c9d4399cff --- /dev/null +++ b/science/hepmc3/pkg-plist @@ -0,0 +1,54 @@ +bin/HepMC3-config +include/HepMC3/AssociatedParticle.h +include/HepMC3/Attribute.h +include/HepMC3/AttributeFeature.h +include/HepMC3/Data/GenEventData.h +include/HepMC3/Data/GenParticleData.h +include/HepMC3/Data/GenRunInfoData.h +include/HepMC3/Data/GenVertexData.h +include/HepMC3/Errors.h +include/HepMC3/Feature.h +include/HepMC3/Filter.h +include/HepMC3/FilterAttribute.h +include/HepMC3/FourVector.h +include/HepMC3/GenCrossSection.h +include/HepMC3/GenCrossSection_fwd.h +include/HepMC3/GenEvent.h +include/HepMC3/GenHeavyIon.h +include/HepMC3/GenHeavyIon_fwd.h +include/HepMC3/GenParticle.h +include/HepMC3/GenParticle_fwd.h +include/HepMC3/GenPdfInfo.h +include/HepMC3/GenPdfInfo_fwd.h +include/HepMC3/GenRunInfo.h +include/HepMC3/GenVertex.h +include/HepMC3/GenVertex_fwd.h +include/HepMC3/HEPEVT_Wrapper.h +include/HepMC3/HepMC3.h +include/HepMC3/LHEF.h +include/HepMC3/LHEFAttributes.h +include/HepMC3/Print.h +include/HepMC3/PrintStreams.h +include/HepMC3/Reader.h +include/HepMC3/ReaderAscii.h +include/HepMC3/ReaderAsciiHepMC2.h +include/HepMC3/ReaderFactory.h +include/HepMC3/ReaderHEPEVT.h +include/HepMC3/ReaderLHEF.h +include/HepMC3/ReaderPlugin.h +include/HepMC3/Relatives.h +include/HepMC3/Selector.h +include/HepMC3/Setup.h +include/HepMC3/Units.h +include/HepMC3/Version.h +include/HepMC3/Writer.h +include/HepMC3/WriterAscii.h +include/HepMC3/WriterAsciiHepMC2.h +include/HepMC3/WriterHEPEVT.h +include/HepMC3/WriterPlugin.h +lib/libHepMC3.so +lib/libHepMC3.so.3 +lib/libHepMC3search.so +lib/libHepMC3search.so.3 +share/HepMC3/cmake/HepMC3Config-version.cmake +share/HepMC3/cmake/HepMC3Config.cmake