Skip to content

Commit

Permalink
devel/root: Update to 6.30/06
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Jensen authored and nunotexbsd committed May 18, 2024
1 parent 8cb135f commit a68970e
Show file tree
Hide file tree
Showing 14 changed files with 7,121 additions and 24 deletions.
43 changes: 37 additions & 6 deletions devel/root/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
PORTNAME= root
DISTVERSION= 6.30.02
PORTREVISION= 3
DISTVERSION= 6.30.06
CATEGORIES= devel science math parallel python
MASTER_SITES= https://root.cern/download/
DISTFILES= ${PORTNAME}_v${DISTVERSION}.source${EXTRACT_SUFX}
Expand Down Expand Up @@ -33,10 +32,26 @@ USES= cmake compiler:c++17-lang desktop-file-utils \
gnome iconv shebangfix ssl
USE_GNOME= libxml2

SHEBANG_FILES= config/rootssh etc/dictpch/makepch.py etc/proof/utils/circle.sh \
etc/proof/utils/crypt etc/proof/utils/pps \
etc/proof/utils/proofctl.sh etc/proof/utils/proofinstall.sh \
SHEBANG_FILES= main/python/rootbrowse.py \
main/python/rootcp.py \
main/python/rootdrawtree.py \
main/python/rooteventselector.py \
main/python/rootls.py \
main/python/rootmkdir.py \
main/python/rootmv.py \
main/python/rootprint.py \
main/python/rootrm.py \
main/python/rootslimtree.py \
config/rootssh \
etc/dictpch/makepch.py \
etc/proof/utils/circle.sh \
etc/proof/utils/crypt \
etc/proof/utils/pps \
etc/proof/utils/proofctl.sh \
etc/proof/utils/proofinstall.sh \
etc/pdg_table_update.py
# add a port-specific shebang to be replaced
python_OLD_CMD+= "/usr/bin/env @python@"

# Flags and environment variables for building
CMAKE_ARGS= -DCMAKE_CXX_STANDARD=17
Expand All @@ -52,6 +67,7 @@ OPTIONS_SUB= yes

# Option: MYSQL
MYSQL_DESC= Enable MySQL bindings
MYSQL_LIB_DEPENDS= libunwind.so:devel/libunwind
MYSQL_USES= mysql
MYSQL_CMAKE_BOOL= mysql

Expand Down Expand Up @@ -95,12 +111,27 @@ PLIST_SUB+= SHLIB_SHVER="${DISTVERSION:R}" \
SHLIB_VER="${DISTVERSION}"

# Some .modulemap, .pcm and .idx files are not installed on aarch64, a few .pcm files are exclusive to aarch64 and files LIBRARY.pcm are renamed libLIBRARY_rdict.pcm on aarch64
.if ${ARCH} == "aarch64"
.if ${OPSYS} == FreeBSD && ${ARCH} == "aarch64"
PLIST_SUB+= NOT_INSTALLED_ON_AARCH64="@comment " ONLY_INSTALLED_ON_AARCH64="" AARCH64_PCM_PREFIX="lib" AARCH64_PCM_SUFFIX="_rdict"
.else
PLIST_SUB+= NOT_INSTALLED_ON_AARCH64="" ONLY_INSTALLED_ON_AARCH64="@comment " AARCH64_PCM_PREFIX="" AARCH64_PCM_SUFFIX=""
.endif

# std_config.pcm exclusive to FreeBSD 14
.if ${OPSYS} == FreeBSD && (1400000 <= ${OSVERSION} && ${OSVERSION} < 1500000)
PLIST_SUB+= ONLY_INSTALLED_ON_FBSD14=""
.else
PLIST_SUB+= ONLY_INSTALLED_ON_FBSD14="@comment "
.endif

# Port patch removes implicit use of system's module.modulemap and applies
# explicit use of the same module.modulemap, with modifications, provided
# by the port
post-patch:
${CP} \
${PATCHDIR}/interpreter-cling-include-cling-std__fbsd${OSREL}.modulemap \
${WRKSRC}/interpreter/cling/include/cling/std_fbsd.modulemap

# The following two files should not be staged. This happens even when PYROOT option is OFF.
post-install:
${RM} ${STAGEDIR}${PREFIX}/lib/root/__pycache__/cmdLineUtils.cpython-39.pyc
Expand Down
6 changes: 3 additions & 3 deletions devel/root/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1702064317
SHA256 (root_v6.30.02.source.tar.gz) = 7965a456d1ad1ee0d5fe4769bf5a8fec291af684ed93db0f3080a9c362435183
SIZE (root_v6.30.02.source.tar.gz) = 184758362
TIMESTAMP = 1712945107
SHA256 (root_v6.30.06.source.tar.gz) = 300db7ed1b678ed2fb9635ca675921a1945c7c2103da840033b493091f55700c
SIZE (root_v6.30.06.source.tar.gz) = 184791201

0 comments on commit a68970e

Please sign in to comment.