summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTAKATSU Tomonari <tota@FreeBSD.org>2017-09-05 14:48:17 +0000
committerTAKATSU Tomonari <tota@FreeBSD.org>2017-09-05 14:48:17 +0000
commit2dc5a30fab752ef1276ba22ca6f69c34f95de2b2 (patch)
treee534fcd61bbdbc03b1f97336c1c1fd1c72599ea8
parent- Update to 3.5.11 (diff)
- Add new port: www/R-cran-downloader
Provides a wrapper for the download.file function, making it possible to download files over HTTPS on Windows, Mac OS X, and other Unix-like platforms. The 'RCurl' package provides this functionality (and much more) but can be difficult to install because it must be compiled with external dependencies. This package has no external dependencies, so it is much easier to install. WWW: https://cran.r-project.org/web/packages/downloader/
-rw-r--r--www/Makefile1
-rw-r--r--www/R-cran-downloader/Makefile20
-rw-r--r--www/R-cran-downloader/distinfo3
-rw-r--r--www/R-cran-downloader/pkg-descr8
4 files changed, 32 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 83b06cdbb970..fbe0e327de7e 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -5,6 +5,7 @@
SUBDIR += R-cran-RgoogleMaps
SUBDIR += R-cran-Rook
+ SUBDIR += R-cran-downloader
SUBDIR += R-cran-htmlwidgets
SUBDIR += R-cran-httpuv
SUBDIR += R-cran-httr
diff --git a/www/R-cran-downloader/Makefile b/www/R-cran-downloader/Makefile
new file mode 100644
index 000000000000..672dbd948ef2
--- /dev/null
+++ b/www/R-cran-downloader/Makefile
@@ -0,0 +1,20 @@
+# Created by: TAKATSU Tomonari <tota@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= downloader
+PORTVERSION= 0.4
+CATEGORIES= www
+DISTNAME= ${PORTNAME}_${PORTVERSION}
+
+MAINTAINER= tota@FreeBSD.org
+COMMENT= Download Files over HTTP and HTTPS
+
+LICENSE= GPLv2
+
+CRAN_DEPENDS= R-cran-digest>0:security/R-cran-digest
+BUILD_DEPENDS= ${CRAN_DEPENDS}
+RUN_DEPENDS= ${CRAN_DEPENDS}
+
+USES= cran:auto-plist
+
+.include <bsd.port.mk>
diff --git a/www/R-cran-downloader/distinfo b/www/R-cran-downloader/distinfo
new file mode 100644
index 000000000000..e41c2ed82037
--- /dev/null
+++ b/www/R-cran-downloader/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1504588337
+SHA256 (downloader_0.4.tar.gz) = 1890e75b028775154023f2135cafb3e3eed0fe908138ab4f7eff1fc1b47dafab
+SIZE (downloader_0.4.tar.gz) = 6808
diff --git a/www/R-cran-downloader/pkg-descr b/www/R-cran-downloader/pkg-descr
new file mode 100644
index 000000000000..ef6e49575c0b
--- /dev/null
+++ b/www/R-cran-downloader/pkg-descr
@@ -0,0 +1,8 @@
+Provides a wrapper for the download.file function, making it possible
+to download files over HTTPS on Windows, Mac OS X, and other Unix-like
+platforms. The 'RCurl' package provides this functionality (and
+much more) but can be difficult to install because it must be
+compiled with external dependencies. This package has no external
+dependencies, so it is much easier to install.
+
+WWW: https://cran.r-project.org/web/packages/downloader/