Lines 1-6
Link Here
|
1 |
PORTNAME= root |
1 |
PORTNAME= root |
2 |
DISTVERSION= 6.30.02 |
2 |
DISTVERSION= 6.30.04 |
3 |
PORTREVISION= 1 |
|
|
4 |
CATEGORIES= devel science math parallel python |
3 |
CATEGORIES= devel science math parallel python |
5 |
MASTER_SITES= https://root.cern/download/ |
4 |
MASTER_SITES= https://root.cern/download/ |
6 |
DISTFILES= ${PORTNAME}_v${DISTVERSION}.source${EXTRACT_SUFX} |
5 |
DISTFILES= ${PORTNAME}_v${DISTVERSION}.source${EXTRACT_SUFX} |
Lines 30-42
LIB_DEPENDS= libcfitsio.so:astro/cfitsio \
Link Here
|
30 |
RUN_DEPENDS= ${BUILD_AND_RUN_DEPENDS} |
29 |
RUN_DEPENDS= ${BUILD_AND_RUN_DEPENDS} |
31 |
|
30 |
|
32 |
USES= cmake compiler:c++17-lang desktop-file-utils \ |
31 |
USES= cmake compiler:c++17-lang desktop-file-utils \ |
33 |
gnome iconv shebangfix ssl |
32 |
gnome iconv llvm:min=14,max=16 shebangfix ssl |
34 |
USE_GNOME= libxml2 |
33 |
USE_GNOME= libxml2 |
35 |
|
34 |
|
36 |
SHEBANG_FILES= config/rootssh etc/dictpch/makepch.py etc/proof/utils/circle.sh \ |
35 |
SHEBANG_FILES= main/python/rootbrowse.py \ |
37 |
etc/proof/utils/crypt etc/proof/utils/pps \ |
36 |
main/python/rootcp.py \ |
38 |
etc/proof/utils/proofctl.sh etc/proof/utils/proofinstall.sh \ |
37 |
main/python/rootdrawtree.py \ |
|
|
38 |
main/python/rooteventselector.py \ |
39 |
main/python/rootls.py \ |
40 |
main/python/rootmkdir.py \ |
41 |
main/python/rootmv.py \ |
42 |
main/python/rootprint.py \ |
43 |
main/python/rootrm.py \ |
44 |
main/python/rootslimtree.py \ |
45 |
config/rootssh \ |
46 |
etc/dictpch/makepch.py \ |
47 |
etc/proof/utils/circle.sh \ |
48 |
etc/proof/utils/crypt \ |
49 |
etc/proof/utils/pps \ |
50 |
etc/proof/utils/proofctl.sh \ |
51 |
etc/proof/utils/proofinstall.sh \ |
39 |
etc/pdg_table_update.py |
52 |
etc/pdg_table_update.py |
|
|
53 |
# add a port-specific shebang to be replaced |
54 |
python_OLD_CMD+= "/usr/bin/env @python@" |
40 |
|
55 |
|
41 |
# Flags and environment variables for building |
56 |
# Flags and environment variables for building |
42 |
CMAKE_ARGS= -DCMAKE_CXX_STANDARD=17 |
57 |
CMAKE_ARGS= -DCMAKE_CXX_STANDARD=17 |
Lines 52-57
OPTIONS_SUB= yes
Link Here
|
52 |
|
67 |
|
53 |
# Option: MYSQL |
68 |
# Option: MYSQL |
54 |
MYSQL_DESC= Enable MySQL bindings |
69 |
MYSQL_DESC= Enable MySQL bindings |
|
|
70 |
MYSQL_LIB_DEPENDS= libunwind.so:devel/libunwind |
55 |
MYSQL_USES= mysql |
71 |
MYSQL_USES= mysql |
56 |
MYSQL_CMAKE_BOOL= mysql |
72 |
MYSQL_CMAKE_BOOL= mysql |
57 |
|
73 |
|
Lines 95-106
PLIST_SUB+= SHLIB_SHVER="${DISTVERSION:R}" \
Link Here
|
95 |
SHLIB_VER="${DISTVERSION}" |
111 |
SHLIB_VER="${DISTVERSION}" |
96 |
|
112 |
|
97 |
# 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 |
113 |
# 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 |
98 |
.if ${ARCH} == "aarch64" |
114 |
.if ${OPSYS} == FreeBSD && ${ARCH} == "aarch64" |
99 |
PLIST_SUB+= NOT_INSTALLED_ON_AARCH64="@comment " ONLY_INSTALLED_ON_AARCH64="" AARCH64_PCM_PREFIX="lib" AARCH64_PCM_SUFFIX="_rdict" |
115 |
PLIST_SUB+= NOT_INSTALLED_ON_AARCH64="@comment " ONLY_INSTALLED_ON_AARCH64="" AARCH64_PCM_PREFIX="lib" AARCH64_PCM_SUFFIX="_rdict" |
100 |
.else |
116 |
.else |
101 |
PLIST_SUB+= NOT_INSTALLED_ON_AARCH64="" ONLY_INSTALLED_ON_AARCH64="@comment " AARCH64_PCM_PREFIX="" AARCH64_PCM_SUFFIX="" |
117 |
PLIST_SUB+= NOT_INSTALLED_ON_AARCH64="" ONLY_INSTALLED_ON_AARCH64="@comment " AARCH64_PCM_PREFIX="" AARCH64_PCM_SUFFIX="" |
102 |
.endif |
118 |
.endif |
103 |
|
119 |
|
|
|
120 |
# std_config.pcm exclusive to FreeBSD 14+ |
121 |
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400000 |
122 |
PLIST_SUB+= NOT_INSTALLED_ON_FBSD13="@comment " |
123 |
.else |
124 |
PLIST_SUB+= NOT_INSTALLED_ON_FBSD13="" |
125 |
.endif |
126 |
|
104 |
# The following two files should not be staged. This happens even when PYROOT option is OFF. |
127 |
# The following two files should not be staged. This happens even when PYROOT option is OFF. |
105 |
post-install: |
128 |
post-install: |
106 |
${RM} ${STAGEDIR}${PREFIX}/lib/root/__pycache__/cmdLineUtils.cpython-39.pyc |
129 |
${RM} ${STAGEDIR}${PREFIX}/lib/root/__pycache__/cmdLineUtils.cpython-39.pyc |