1
0
forked from ports/contrib

r: clean up dependencies

This commit is contained in:
Tim Biermann 2019-08-16 16:02:42 +00:00
parent 574fab8c3f
commit 9f7f597660
Signed by untrusted user: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 10 additions and 14 deletions

View File

@ -778,7 +778,6 @@ drwxr-xr-x root/root usr/lib/R/library/grDevices/icc/
-rw-r--r-- root/root usr/lib/R/library/grDevices/icc/srgb -rw-r--r-- root/root usr/lib/R/library/grDevices/icc/srgb
-rw-r--r-- root/root usr/lib/R/library/grDevices/icc/srgb.flate -rw-r--r-- root/root usr/lib/R/library/grDevices/icc/srgb.flate
drwxr-xr-x root/root usr/lib/R/library/grDevices/libs/ drwxr-xr-x root/root usr/lib/R/library/grDevices/libs/
-rwxr-xr-x root/root usr/lib/R/library/grDevices/libs/cairo.so
-rwxr-xr-x root/root usr/lib/R/library/grDevices/libs/grDevices.so -rwxr-xr-x root/root usr/lib/R/library/grDevices/libs/grDevices.so
drwxr-xr-x root/root usr/lib/R/library/graphics/ drwxr-xr-x root/root usr/lib/R/library/graphics/
-rw-r--r-- root/root usr/lib/R/library/graphics/DESCRIPTION -rw-r--r-- root/root usr/lib/R/library/graphics/DESCRIPTION
@ -1849,8 +1848,6 @@ drwxr-xr-x root/root usr/lib/R/library/utils/misc/
-rw-r--r-- root/root usr/lib/R/library/utils/misc/exDIF.csv -rw-r--r-- root/root usr/lib/R/library/utils/misc/exDIF.csv
-rw-r--r-- root/root usr/lib/R/library/utils/misc/exDIF.dif -rw-r--r-- root/root usr/lib/R/library/utils/misc/exDIF.dif
drwxr-xr-x root/root usr/lib/R/modules/ drwxr-xr-x root/root usr/lib/R/modules/
-rwxr-xr-x root/root usr/lib/R/modules/R_X11.so
-rwxr-xr-x root/root usr/lib/R/modules/R_de.so
-rwxr-xr-x root/root usr/lib/R/modules/internet.so -rwxr-xr-x root/root usr/lib/R/modules/internet.so
-rwxr-xr-x root/root usr/lib/R/modules/lapack.so -rwxr-xr-x root/root usr/lib/R/modules/lapack.so
-rwxr-xr-x root/root usr/lib/libRmath.so -rwxr-xr-x root/root usr/lib/libRmath.so

View File

@ -1,7 +1,7 @@
untrusted comment: verify with /etc/ports/contrib.pub untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF33/Z3cMFn6ucuCN2VBe6sWuaBCpanKglgGOuWkIfndGTHcG7FGl8yiUrptUGux3WxNWvHQyKjLQZ2ZjvAdW1fQg= RWSagIOpLGJF3xgy83CtPVrOMcf6cZOJ5elrExcud4eUyusViI6zjuGdsWN0RePaq9sUXoN4yYEFbaqQvDprLGhZBrNCr9JdUAc=
SHA256 (Pkgfile) = 455d13f963cd02017185e879d68c095d8e750208f61d374e7b9acc506a5689a5 SHA256 (Pkgfile) = f53c14e3a59d436e7393c6da5f248f4969c1d82b9a674fed1540a7ed5df4cdcf
SHA256 (.footprint) = 3d941e7963f088fd1445b55cd7a99c12a4ea6f498790073e672ed28f77f50401 SHA256 (.footprint) = 62858cf2eb104a51165ffaf00c60fe586bc24787ae76b456e34868ec36c63cfd
SHA256 (R-3.6.1.tar.gz) = 5baa9ebd3e71acecdcc3da31d9042fb174d55a42829f8315f2457080978b1389 SHA256 (R-3.6.1.tar.gz) = 5baa9ebd3e71acecdcc3da31d9042fb174d55a42829f8315f2457080978b1389
SHA256 (r.desktop) = 25b01ea93fa704884b65ba002d44d4e99725bd826997e8c73b6467df9f23c798 SHA256 (r.desktop) = 25b01ea93fa704884b65ba002d44d4e99725bd826997e8c73b6467df9f23c798
SHA256 (r.png) = 465b623f15d8144fb30b52791047a22302c275d51f749d8732454e4496c1a989 SHA256 (r.png) = 465b623f15d8144fb30b52791047a22302c275d51f749d8732454e4496c1a989

View File

@ -1,27 +1,26 @@
# Description: R is a free software environment for statistical computing and graphics # Description: R is a free software environment for statistical computing and graphics
# URL: https://www.r-project.org/ # URL: https://www.r-project.org/
# Maintainer: Tim Biermann, tbier at posteo dot de # Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: brotli gnutls graphite2 icu keyutils krb5 libpcre2 libpsl libwebp openblas openldap pango rtmpdump xorg-libxmu zstd openjdk8 # Depends on: openblas zstd
# Optional: texlive tk
name=r name=r
version=3.6.1 version=3.6.1
release=1 release=1
source=(https://cran.r-project.org/src/base/R-3/R-$version.tar.gz source=(https://cran.r-project.org/src/base/R-3/R-$version.tar.gz
r.desktop r.desktop r.png R.conf)
r.png
R.conf
)
build() { build() {
cd R-$version cd R-$version
[[ -e /usr/lib/pkgconfig/tk.pc ]] && PKGMK_R+=" --with-x=yes" || PKGMK_R+=" --with-x=no"
sed -i 's|$(rsharedir)/texmf|${datarootdir}/texmf|' share/Makefile.in sed -i 's|$(rsharedir)/texmf|${datarootdir}/texmf|' share/Makefile.in
./configure --prefix=/usr \ ./configure $PKGMK_R \
--prefix=/usr \
--libdir=/usr/lib \ --libdir=/usr/lib \
--sysconfdir=/etc/R \ --sysconfdir=/etc/R \
--datarootdir=/usr/share \ --datarootdir=/usr/share \
rsharedir=/usr/share/R/ \ rsharedir=/usr/share/R/ \
rincludedir=/usr/include/R/ \ rincludedir=/usr/include/R/ \
--with-x \
--enable-R-shlib \ --enable-R-shlib \
--with-lapack \ --with-lapack \
--with-blas \ --with-blas \
@ -66,6 +65,6 @@ build() {
-iname '*LICENSE*' -o \ -iname '*LICENSE*' -o \
-iname '*CHANGELOG*' \ -iname '*CHANGELOG*' \
\) -exec rm '{}' \+ || true \) -exec rm '{}' \+ || true
#doh! don't remove INSTALl or you won't be able to install R packages #doh! don't remove INSTALL or you won't be able to install R packages
#-iname '*INSTALL*' -o \ #-iname '*INSTALL*' -o \
} }