science/openmc: Remove port

Needs restricted access to upstream source code
This commit is contained in:
2025-04-27 20:17:22 +02:00
parent b86c087e18
commit f28b6955d7
7 changed files with 1 additions and 214 deletions
+1
View File
@@ -4930,6 +4930,7 @@ science/nifticlib
science/nlcglib
science/openbabel
science/openems
science/openmc
science/openmodelica
science/openmx
science/opensim-core
-1
View File
@@ -64,7 +64,6 @@
SUBDIR += ocean
SUBDIR += octopus
SUBDIR += openkim-models
SUBDIR += openmc
SUBDIR += openmolcas
SUBDIR += orthanc
SUBDIR += p5-Chemistry-3DBuilder
-55
View File
@@ -1,55 +0,0 @@
PORTNAME= openmc
DISTVERSIONPREFIX= v
DISTVERSION= 0.15.0
CATEGORIES= science
MAINTAINER= yuri@FreeBSD.org
COMMENT= Monte Carlo neutron and photon transport simulation code
WWW= https://openmc.org/ \
https://docs.openmc.org/en/stable/ \
https://github.com/openmc-dev/openmc
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_FreeBSD_15= compilation fails with clang-19, see https://github.com/openmc-dev/openmc/issues/3183
BUILD_DEPENDS= xtensor>0:math/xtensor
LIB_DEPENDS= libfmt.so:devel/libfmt \
libhdf5.so:science/hdf5 \
libpng16.so:graphics/png \
libpugixml.so:textproc/pugixml
USES= cmake:noninja,testing eigen:3 pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= ${PORTNAME}-dev
GH_TUPLE= catchorg:Catch2:5a40b22:catch2/vendor/Catch2 \
martinmoene:gsl-lite:913e86d:gsl_lite/vendor/gsl-lite # gsl-lite isn't ported yet
CMAKE_OFF= OPENMC_BUILD_TESTS
CMAKE_TESTING_ON= OPENMC_BUILD_TESTS # tests are broken, see https://github.com/openmc-dev/openmc/issues/2449
BINARY_ALIAS= git=false
OPTIONS_DEFINE= LIBMESH MPI OPENMP
OPTIONS_DEFAULT= MPI
LIBMESH_DESC= Support for libMesh unstructured mesh tallies
LIBMESH_CMAKE_BOOL= OPENMC_USE_LIBMESH
LIBMESH_LIB_DEPENDS= libmesh_opt.so:math/libmesh
MPI_VARS= CXX=${LOCALBASE}/bin/mpic++ # compilation breaks with OpenMPI-{3,4} and LIBMESH=ON
MPI_BUILD_DEPENDS= mpich>0:net/mpich
MPI_RUN_DEPENDS= mpich>0:net/mpich
OPENMP_CMAKE_BOOL= OPENMC_USE_OPENMP
.if exists(/usr/include/omp.h)
OPTIONS_DEFAULT+= OPENMP
.endif
post-install:
${RM} -r ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
-7
View File
@@ -1,7 +0,0 @@
TIMESTAMP = 1719035387
SHA256 (openmc-dev-openmc-v0.15.0_GH0.tar.gz) = 32517c1af1abee615e0b49330fd6eb6d704dd96d903b5b415091aea8aa52bbf0
SIZE (openmc-dev-openmc-v0.15.0_GH0.tar.gz) = 7810068
SHA256 (catchorg-Catch2-5a40b22_GH0.tar.gz) = 9f462dbbee9562a2a389755727baaa513fa8b1a7d7bbb97c38c304e2051a88d3
SIZE (catchorg-Catch2-5a40b22_GH0.tar.gz) = 1106343
SHA256 (martinmoene-gsl-lite-913e86d_GH0.tar.gz) = 53f4ad67e182d58161ec297593af4139ccb2a8fd712ba9cd77d129b6f87c6b3b
SIZE (martinmoene-gsl-lite-913e86d_GH0.tar.gz) = 105966
-11
View File
@@ -1,11 +0,0 @@
--- CMakeLists.txt.orig 2022-08-20 16:50:43 UTC
+++ CMakeLists.txt
@@ -211,7 +211,7 @@ if(GIT_FOUND AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.
endif()
# Check to see if submodules exist (by checking one)
-if(NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/vendor/pugixml/CMakeLists.txt")
+if(FALSE AND NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/vendor/pugixml/CMakeLists.txt")
message(FATAL_ERROR "The git submodules were not downloaded! GIT_SUBMODULE was \
turned off or failed. Please update submodules and try again.")
endif()
-8
View File
@@ -1,8 +0,0 @@
OpenMC is a community-developed Monte Carlo neutron and photon transport
simulation code. It is capable of performing fixed source, k-eigenvalue, and
subcritical multiplication calculations on models built using either a
constructive solid geometry or CAD representation. OpenMC supports both
continuous-energy and multigroup transport. The continuous-energy particle
interaction data is based on a native HDF5 format that can be generated from
ACE files produced by NJOY. Parallelism is enabled via a hybrid MPI and OpenMP
programming model.
-132
View File
@@ -1,132 +0,0 @@
bin/openmc
include/gsl-lite/gsl-lite.hpp
include/gsl/gsl-lite.hpp
include/openmc/angle_energy.h
include/openmc/array.h
include/openmc/bank.h
include/openmc/boundary_condition.h
include/openmc/bremsstrahlung.h
include/openmc/capi.h
include/openmc/cell.h
include/openmc/cmfd_solver.h
include/openmc/constants.h
include/openmc/container_util.h
include/openmc/cross_sections.h
include/openmc/dagmc.h
include/openmc/distribution.h
include/openmc/distribution_angle.h
include/openmc/distribution_energy.h
include/openmc/distribution_multi.h
include/openmc/distribution_spatial.h
include/openmc/eigenvalue.h
include/openmc/endf.h
include/openmc/error.h
include/openmc/event.h
include/openmc/external/Faddeeva.hh
include/openmc/external/quartic_solver.h
include/openmc/file_utils.h
include/openmc/finalize.h
include/openmc/geometry.h
include/openmc/geometry_aux.h
include/openmc/hdf5_interface.h
include/openmc/initialize.h
include/openmc/interpolate.h
include/openmc/lattice.h
include/openmc/material.h
include/openmc/math_functions.h
include/openmc/mcpl_interface.h
include/openmc/memory.h
include/openmc/mesh.h
include/openmc/message_passing.h
include/openmc/mgxs.h
include/openmc/mgxs_interface.h
include/openmc/ncrystal_interface.h
include/openmc/neighbor_list.h
include/openmc/nuclide.h
include/openmc/openmp_interface.h
include/openmc/output.h
include/openmc/particle.h
include/openmc/particle_data.h
include/openmc/particle_restart.h
include/openmc/photon.h
include/openmc/physics.h
include/openmc/physics_common.h
include/openmc/physics_mg.h
include/openmc/plot.h
include/openmc/position.h
include/openmc/progress_bar.h
include/openmc/random_dist.h
include/openmc/random_lcg.h
include/openmc/random_ray/flat_source_domain.h
include/openmc/random_ray/random_ray.h
include/openmc/random_ray/random_ray_simulation.h
include/openmc/reaction.h
include/openmc/reaction_product.h
include/openmc/scattdata.h
include/openmc/search.h
include/openmc/secondary_correlated.h
include/openmc/secondary_kalbach.h
include/openmc/secondary_nbody.h
include/openmc/secondary_thermal.h
include/openmc/secondary_uncorrelated.h
include/openmc/settings.h
include/openmc/shared_array.h
include/openmc/simulation.h
include/openmc/source.h
include/openmc/state_point.h
include/openmc/string_utils.h
include/openmc/summary.h
include/openmc/surface.h
include/openmc/tallies/derivative.h
include/openmc/tallies/filter.h
include/openmc/tallies/filter_azimuthal.h
include/openmc/tallies/filter_cell.h
include/openmc/tallies/filter_cell_instance.h
include/openmc/tallies/filter_cellborn.h
include/openmc/tallies/filter_cellfrom.h
include/openmc/tallies/filter_collision.h
include/openmc/tallies/filter_delayedgroup.h
include/openmc/tallies/filter_distribcell.h
include/openmc/tallies/filter_energy.h
include/openmc/tallies/filter_energyfunc.h
include/openmc/tallies/filter_legendre.h
include/openmc/tallies/filter_match.h
include/openmc/tallies/filter_material.h
include/openmc/tallies/filter_materialfrom.h
include/openmc/tallies/filter_mesh.h
include/openmc/tallies/filter_meshborn.h
include/openmc/tallies/filter_meshsurface.h
include/openmc/tallies/filter_mu.h
include/openmc/tallies/filter_particle.h
include/openmc/tallies/filter_polar.h
include/openmc/tallies/filter_sph_harm.h
include/openmc/tallies/filter_sptl_legendre.h
include/openmc/tallies/filter_surface.h
include/openmc/tallies/filter_time.h
include/openmc/tallies/filter_universe.h
include/openmc/tallies/filter_zernike.h
include/openmc/tallies/tally.h
include/openmc/tallies/tally_scoring.h
include/openmc/tallies/trigger.h
include/openmc/thermal.h
include/openmc/timer.h
include/openmc/track_output.h
include/openmc/universe.h
include/openmc/urr.h
include/openmc/vector.h
include/openmc/version.h
include/openmc/version.h.in
include/openmc/volume_calc.h
include/openmc/weight_windows.h
include/openmc/wmp.h
include/openmc/xml_interface.h
include/openmc/xsdata.h
lib/cmake/OpenMC/OpenMCConfig.cmake
lib/cmake/OpenMC/OpenMCConfigVersion.cmake
lib/cmake/OpenMC/OpenMCTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/OpenMC/OpenMCTargets.cmake
lib/cmake/gsl-lite/gsl-lite-config-version.cmake
lib/cmake/gsl-lite/gsl-lite-config.cmake
lib/cmake/gsl-lite/gsl-lite-targets.cmake
lib/libopenmc.so
share/man/man1/openmc.1.gz