Skip to content

Commit

Permalink
science/mcpl: New port: Monte Carlo Particle Lists library
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict committed Nov 9, 2023
1 parent 65e7275 commit 0db904a
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 0 deletions.
1 change: 1 addition & 0 deletions science/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@
SUBDIR += maeparser
SUBDIR += massxpert
SUBDIR += mbdyn
SUBDIR += mcpl
SUBDIR += mcstas
SUBDIR += mcstas-comps
SUBDIR += mctc-lib
Expand Down
22 changes: 22 additions & 0 deletions science/mcpl/Makefile
Original file line number Diff line number Diff line change
@@ -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 changes: 3 additions & 0 deletions science/mcpl/distinfo
Original file line number Diff line number Diff line change
@@ -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 changes: 7 additions & 0 deletions science/mcpl/pkg-descr
Original file line number Diff line number Diff line change
@@ -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 changes: 16 additions & 0 deletions science/mcpl/pkg-plist
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0db904a

Please sign in to comment.