science/mcpl: New port: Monte Carlo Particle Lists library

2024Q1
Yuri Victorovich 2023-11-08 20:33:38 -08:00
parent 65e72753aa
commit 0db904aa60
5 changed files with 49 additions and 0 deletions

View File

@ -175,6 +175,7 @@
SUBDIR += maeparser
SUBDIR += massxpert
SUBDIR += mbdyn
SUBDIR += mcpl
SUBDIR += mcstas
SUBDIR += mcstas-comps
SUBDIR += mctc-lib

22
science/mcpl/Makefile Normal file
View File

@ -0,0 +1,22 @@
PORTNAME= mcpl
DISTVERSIONPREFIX= v
DISTVERSION= 1.6.2
CATEGORIES= science # physics
MAINTAINER= yuri@FreeBSD.org
COMMENT= Monte Carlo Particle Lists library
WWW= https://mctools.github.io/mcpl/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake python shebangfix
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= mctools
SHEBANG_FILES= src/python/pymcpltool \
cmake/mcpl-config.in
.include <bsd.port.mk>

3
science/mcpl/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1699499204
SHA256 (mctools-mcpl-v1.6.2_GH0.tar.gz) = 02ec79505ae57a8850ce11734e36f4fb451823e599c679d26d2f200500ca51b2
SIZE (mctools-mcpl-v1.6.2_GH0.tar.gz) = 1092526

7
science/mcpl/pkg-descr Normal file
View File

@ -0,0 +1,7 @@
MCPL is a binary file format for usage in physics simulations.
MCPL files contain lists of particle state information, and allows for easy
storage and interchange of particles between various Monte Carlo simulation
applications. It is implemented in portable C code and is made available to
the scientific community, along with converters and plugins for several popular
simulation packages.

16
science/mcpl/pkg-plist Normal file
View File

@ -0,0 +1,16 @@
bin/mcpl-config
bin/mcpl2phits
bin/mcpl2ssw
bin/mcpltool
bin/phits2mcpl
bin/pymcpltool
bin/ssw2mcpl
include/mcpl.h
lib/cmake/MCPL/MCPLConfig.cmake
lib/cmake/MCPL/MCPLConfigVersion.cmake
lib/cmake/MCPL/MCPLTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/MCPL/MCPLTargets.cmake
lib/libmcpl.so
lib/libphitsmcpl.so
lib/libsswmcpl.so
share/MCPL/python/mcpl.py