summaryrefslogtreecommitdiff
path: root/math/R
diff options
context:
space:
mode:
Diffstat (limited to 'math/R')
-rw-r--r--math/R/Makefile9
-rw-r--r--math/R/distinfo6
-rw-r--r--math/R/files/patch-src_library_grDevices_src_devPS.c10
-rw-r--r--math/R/pkg-plist16
4 files changed, 34 insertions, 7 deletions
diff --git a/math/R/Makefile b/math/R/Makefile
index ee707f0d139d..630b3861c36e 100644
--- a/math/R/Makefile
+++ b/math/R/Makefile
@@ -1,5 +1,5 @@
PORTNAME= R
-DISTVERSION= 4.4.3
+DISTVERSION= 4.5.0
CATEGORIES= math lang
MASTER_SITES= CRAN/src/base/R-${PORTVERSION:C|\..*||}
@@ -14,7 +14,8 @@ ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc powerpc64 powerpc64le
BUILD_DEPENDS= texi2any:print/texinfo
LIB_DEPENDS= libcurl.so:ftp/curl \
libdeflate.so:archivers/libdeflate \
- libpcre2-8.so:devel/pcre2
+ libpcre2-8.so:devel/pcre2 \
+ libzstd.so:archivers/zstd
# R packages may require GNU make or cmake to build
RUN_DEPENDS= cmake:devel/cmake-core \
gmake:devel/gmake
@@ -25,7 +26,7 @@ RUN_DEPENDS= cmake:devel/cmake-core \
# - Create ports for each of the recommended packages
# - Create a meta-port for the recommended packages
-USES= compiler:c++11-lang cpe fortran gmake iconv libtool localbase \
+USES= compiler:c++23-lang cpe fortran gmake iconv libtool localbase \
pathfix perl5 readline
CPE_VENDOR= r-project
USE_LDCONFIG= ${PREFIX}/lib/R/lib
@@ -93,7 +94,7 @@ OPENBLAS_USES= blaslapack:openblas
OPENBLAS_CONFIGURE_ON= --disable-BLAS-shlib
OPENMP_CONFIGURE_ENABLE= openmp
PNG_IMPLIES= X11
-PNG_LIB_DEPENDS= libpng.so:graphics/png
+PNG_LIB_DEPENDS= libpng16.so:graphics/png
PNG_CONFIGURE_WITH= libpng
RBLAS_CONFIGURE_ON= --enable-BLAS-shlib \
--without-blas \
diff --git a/math/R/distinfo b/math/R/distinfo
index b352e2ddbee1..7aaf6a68fe54 100644
--- a/math/R/distinfo
+++ b/math/R/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1740868304
-SHA256 (R-4.4.3.tar.gz) = 0d93d224442dea253c2b086f088db6d0d3cfd9b592cd5496e8cb2143e90fc9e8
-SIZE (R-4.4.3.tar.gz) = 40234425
+TIMESTAMP = 1745889281
+SHA256 (R-4.5.0.tar.gz) = 3b33ea113e0d1ddc9793874d5949cec2c7386f66e4abfb1cef9aec22846c3ce1
+SIZE (R-4.5.0.tar.gz) = 40466335
diff --git a/math/R/files/patch-src_library_grDevices_src_devPS.c b/math/R/files/patch-src_library_grDevices_src_devPS.c
new file mode 100644
index 000000000000..10c527a43856
--- /dev/null
+++ b/math/R/files/patch-src_library_grDevices_src_devPS.c
@@ -0,0 +1,10 @@
+--- src/library/grDevices/src/devPS.c.orig 2025-04-29 02:15:09 UTC
++++ src/library/grDevices/src/devPS.c
+@@ -29,6 +29,7 @@
+ #include <ctype.h>
+ #include <limits.h> /* required for MB_LEN_MAX */
+ #include <string.h>
++#include <unistd.h>
+
+ #include <wchar.h>
+ #include <wctype.h>
diff --git a/math/R/pkg-plist b/math/R/pkg-plist
index 5d6315970735..172c87bd7f54 100644
--- a/math/R/pkg-plist
+++ b/math/R/pkg-plist
@@ -1245,6 +1245,7 @@ lib/R/library/tools/help/tools.rdx
lib/R/library/tools/html/00Index.html
lib/R/library/tools/html/R.css
lib/R/library/tools/libs/tools.so
+lib/R/library/tools/wre.txt
lib/R/library/translations/DESCRIPTION
%%NLS%%lib/R/library/translations/ar/LC_MESSAGES/R-base.mo
%%NLS%%lib/R/library/translations/ar/LC_MESSAGES/R-methods.mo
@@ -1394,20 +1395,26 @@ lib/R/library/translations/DESCRIPTION
%%NLS%%lib/R/library/translations/en_GB/LC_MESSAGES/tools.mo
%%NLS%%lib/R/library/translations/en_GB/LC_MESSAGES/utils.mo
%%NLS%%lib/R/library/translations/es/LC_MESSAGES/R-base.mo
+%%NLS%%lib/R/library/translations/es/LC_MESSAGES/R-compiler.mo
%%NLS%%lib/R/library/translations/es/LC_MESSAGES/R-grDevices.mo
%%NLS%%lib/R/library/translations/es/LC_MESSAGES/R-graphics.mo
%%NLS%%lib/R/library/translations/es/LC_MESSAGES/R-grid.mo
%%NLS%%lib/R/library/translations/es/LC_MESSAGES/R-methods.mo
%%NLS%%lib/R/library/translations/es/LC_MESSAGES/R-parallel.mo
+%%NLS%%lib/R/library/translations/es/LC_MESSAGES/R-splines.mo
%%NLS%%lib/R/library/translations/es/LC_MESSAGES/R-stats.mo
%%NLS%%lib/R/library/translations/es/LC_MESSAGES/R-stats4.mo
+%%NLS%%lib/R/library/translations/es/LC_MESSAGES/R-tcltk.mo
%%NLS%%lib/R/library/translations/es/LC_MESSAGES/R-tools.mo
%%NLS%%lib/R/library/translations/es/LC_MESSAGES/R-utils.mo
%%NLS%%lib/R/library/translations/es/LC_MESSAGES/R.mo
%%NLS%%lib/R/library/translations/es/LC_MESSAGES/RGui.mo
%%NLS%%lib/R/library/translations/es/LC_MESSAGES/grDevices.mo
%%NLS%%lib/R/library/translations/es/LC_MESSAGES/graphics.mo
+%%NLS%%lib/R/library/translations/es/LC_MESSAGES/grid.mo
+%%NLS%%lib/R/library/translations/es/LC_MESSAGES/methods.mo
%%NLS%%lib/R/library/translations/es/LC_MESSAGES/parallel.mo
+%%NLS%%lib/R/library/translations/es/LC_MESSAGES/splines.mo
%%NLS%%lib/R/library/translations/es/LC_MESSAGES/stats.mo
%%NLS%%lib/R/library/translations/es/LC_MESSAGES/tcltk.mo
%%NLS%%lib/R/library/translations/es/LC_MESSAGES/tools.mo
@@ -1457,10 +1464,13 @@ lib/R/library/translations/DESCRIPTION
%%NLS%%lib/R/library/translations/hi/LC_MESSAGES/tools.mo
%%NLS%%lib/R/library/translations/hi/LC_MESSAGES/utils.mo
%%NLS%%lib/R/library/translations/hu/LC_MESSAGES/R-base.mo
+%%NLS%%lib/R/library/translations/hu/LC_MESSAGES/R-compiler.mo
%%NLS%%lib/R/library/translations/hu/LC_MESSAGES/R-graphics.mo
+%%NLS%%lib/R/library/translations/hu/LC_MESSAGES/R-methods.mo
%%NLS%%lib/R/library/translations/hu/LC_MESSAGES/R-parallel.mo
%%NLS%%lib/R/library/translations/hu/LC_MESSAGES/R-splines.mo
%%NLS%%lib/R/library/translations/hu/LC_MESSAGES/R-stats.mo
+%%NLS%%lib/R/library/translations/hu/LC_MESSAGES/R-stats4.mo
%%NLS%%lib/R/library/translations/hu/LC_MESSAGES/R-tcltk.mo
%%NLS%%lib/R/library/translations/hu/LC_MESSAGES/R-tools.mo
%%NLS%%lib/R/library/translations/hu/LC_MESSAGES/R-utils.mo
@@ -1470,6 +1480,7 @@ lib/R/library/translations/DESCRIPTION
%%NLS%%lib/R/library/translations/hu/LC_MESSAGES/graphics.mo
%%NLS%%lib/R/library/translations/hu/LC_MESSAGES/grid.mo
%%NLS%%lib/R/library/translations/hu/LC_MESSAGES/parallel.mo
+%%NLS%%lib/R/library/translations/hu/LC_MESSAGES/splines.mo
%%NLS%%lib/R/library/translations/hu/LC_MESSAGES/stats.mo
%%NLS%%lib/R/library/translations/hu/LC_MESSAGES/tcltk.mo
%%NLS%%lib/R/library/translations/hu/LC_MESSAGES/tools.mo
@@ -1574,7 +1585,12 @@ lib/R/library/translations/DESCRIPTION
%%NLS%%lib/R/library/translations/lt/LC_MESSAGES/tcltk.mo
%%NLS%%lib/R/library/translations/lt/LC_MESSAGES/tools.mo
%%NLS%%lib/R/library/translations/lt/LC_MESSAGES/utils.mo
+%%NLS%%lib/R/library/translations/ne/LC_MESSAGES/R-base.mo
%%NLS%%lib/R/library/translations/ne/LC_MESSAGES/R-compiler.mo
+%%NLS%%lib/R/library/translations/ne/LC_MESSAGES/R-parallel.mo
+%%NLS%%lib/R/library/translations/ne/LC_MESSAGES/R-tcltk.mo
+%%NLS%%lib/R/library/translations/ne/LC_MESSAGES/R-tools.mo
+%%NLS%%lib/R/library/translations/ne/LC_MESSAGES/R-utils.mo
%%NLS%%lib/R/library/translations/ne/LC_MESSAGES/R.mo
%%NLS%%lib/R/library/translations/ne/LC_MESSAGES/RGui.mo
%%NLS%%lib/R/library/translations/nn/LC_MESSAGES/R-base.mo