From nobody Thu Nov 09 05:44:01 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SQrVT281Fz500xQ; Thu, 9 Nov 2023 05:44:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SQrVT1gmvz4StJ; Thu, 9 Nov 2023 05:44:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699508641; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gLYV0qSGlCzfMBMwXlyqB7zXuEa0PFiXrmkhYXH5rDs=; b=bZGowj5sCiKkCA3/6St4XQpoSriCmCUgF+668iXQ/wj6Ce7c+RYJWTcEVEGPbbUhjQBV3l 9neYdC90fLZroEVEdbU+bFxho9TJkQnxA4VAGjNpxCclAyGaljxIJ9f076CZ6qO36w7idu cv5CsfHkDTTQ8oKVQ2LM6ucVPofnATcz/0JBHbLyZolEwMXl8V3qWG7hxqQIQ6rLBUuZfh mNgdphcQXBhaJwKRshb9Q6lMNhIbM44TtjOdHkkexWIDqlkPQ2GuEifiN3245YEK5XM9+B uRuGANoivYVaqyFRf32k1daBlcliJiIrYenYtYNdFHw6whYObvdi/mYFUytQfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699508641; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gLYV0qSGlCzfMBMwXlyqB7zXuEa0PFiXrmkhYXH5rDs=; b=dvDE/T0ukcCDB3bumVbt4GgM3vSJ+RMu8a9o4PJ18/pEPQy6hg6eewMm/5K09TJStOiGmV 6IDp655SisXZrrC194Cs+HujrsAp5TCB1KJPoQHbzd7HBaUY7DE26oZrX0p2XNyucJwPSn RvCWjMixeEARgJ74geoH31hT5zwDFEG3yWuJWMxbFwHJcT9vvChMjcj/b2PcYqPlC1I8g6 HMuO69CfNwVecJqGY6mRO1wU85HZihsomtEIzedlmyB/4rr8oA9XH9zgcXjAw0pt/bWJSu qzXWw6i9V7J/M/HRHrGOefvS7pgzKixuUaz3+/qoXgYSZ62QAy1aH/RUycLygQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699508641; a=rsa-sha256; cv=none; b=tKNnsogORPDZ8h62kZYH+Cgf3syfTd863uNc1HsstcoLUxLFv7wxa38y3YQpQ5xNXqS+2t Ta92dDvCd3YI75g2MXd3zdzS2hydi8mg6gPbk1XSyHNCcEC0c2Rgoa/BCODUi65CMMhRiT +0B275JLA27fQa9jkIxAFJB8Dy5WRRx+mQnebQWzoMQR5fC0aYUMQ01P29mzKSjR2aFvdS WLW+IXFDFgYVg7ZNSEJgoRVqKzy4KHhayciUVvcg8GRh8POR82dypQ2kYulAN6CMJW0sCn 1PbukAdg93eOSCfdXqRDTszcajTXZ3HGElbomPcovviyHI7efAGXi598JtdguA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SQrVT0l2kz12pF; Thu, 9 Nov 2023 05:44:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3A95i1MV079737; Thu, 9 Nov 2023 05:44:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3A95i1HW079734; Thu, 9 Nov 2023 05:44:01 GMT (envelope-from git) Date: Thu, 9 Nov 2023 05:44:01 GMT Message-Id: <202311090544.3A95i1HW079734@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 0db904aa60ec - main - science/mcpl: New port: Monte Carlo Particle Lists library List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0db904aa60ec673eee18b52d0d48ab4780d13518 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=0db904aa60ec673eee18b52d0d48ab4780d13518 commit 0db904aa60ec673eee18b52d0d48ab4780d13518 Author: Yuri Victorovich AuthorDate: 2023-11-09 04:33:38 +0000 Commit: Yuri Victorovich CommitDate: 2023-11-09 05:43:56 +0000 science/mcpl: New port: Monte Carlo Particle Lists library --- science/Makefile | 1 + science/mcpl/Makefile | 22 ++++++++++++++++++++++ science/mcpl/distinfo | 3 +++ science/mcpl/pkg-descr | 7 +++++++ science/mcpl/pkg-plist | 16 ++++++++++++++++ 5 files changed, 49 insertions(+) diff --git a/science/Makefile b/science/Makefile index 2c091da790bd..f1da020fbb7f 100644 --- a/science/Makefile +++ b/science/Makefile @@ -175,6 +175,7 @@ SUBDIR += maeparser SUBDIR += massxpert SUBDIR += mbdyn + SUBDIR += mcpl SUBDIR += mcstas SUBDIR += mcstas-comps SUBDIR += mctc-lib diff --git a/science/mcpl/Makefile b/science/mcpl/Makefile new file mode 100644 index 000000000000..dc33b9d36a3e --- /dev/null +++ b/science/mcpl/Makefile @@ -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 diff --git a/science/mcpl/distinfo b/science/mcpl/distinfo new file mode 100644 index 000000000000..815384a71e3e --- /dev/null +++ b/science/mcpl/distinfo @@ -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 diff --git a/science/mcpl/pkg-descr b/science/mcpl/pkg-descr new file mode 100644 index 000000000000..1f1c245979b0 --- /dev/null +++ b/science/mcpl/pkg-descr @@ -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. diff --git a/science/mcpl/pkg-plist b/science/mcpl/pkg-plist new file mode 100644 index 000000000000..f758f64b50a3 --- /dev/null +++ b/science/mcpl/pkg-plist @@ -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