From 705ea26a36bede74b0070ac6dd086e42eed8e609 Mon Sep 17 00:00:00 2001 From: TAKATSU Tomonari Date: Mon, 10 Aug 2015 04:58:48 +0000 Subject: [PATCH] - Add new port: www/R-cran-httr Useful tools for working with HTTP organised by HTTP verbs (GET(), POST(), etc). Configuration functions make it easy to control additional request components (authenticate(), add_headers() and so on). WWW: https://cran.r-project.org/web/packages/httr/ --- www/Makefile | 1 + www/R-cran-httr/Makefile | 23 +++++++++++++++++++++++ www/R-cran-httr/distinfo | 2 ++ www/R-cran-httr/pkg-descr | 6 ++++++ 4 files changed, 32 insertions(+) create mode 100644 www/R-cran-httr/Makefile create mode 100644 www/R-cran-httr/distinfo create mode 100644 www/R-cran-httr/pkg-descr diff --git a/www/Makefile b/www/Makefile index 2b90cb9d9930..b4e739438f1c 100644 --- a/www/Makefile +++ b/www/Makefile @@ -7,6 +7,7 @@ SUBDIR += R-cran-RgoogleMaps SUBDIR += R-cran-Rpad SUBDIR += R-cran-httpuv + SUBDIR += R-cran-httr SUBDIR += R-cran-scrapeR SUBDIR += R-cran-shiny SUBDIR += WebMagick diff --git a/www/R-cran-httr/Makefile b/www/R-cran-httr/Makefile new file mode 100644 index 000000000000..4789554be6a3 --- /dev/null +++ b/www/R-cran-httr/Makefile @@ -0,0 +1,23 @@ +# Created by: TAKATSU Tomonari +# $FreeBSD$ + +PORTNAME= httr +PORTVERSION= 1.0.0 +CATEGORIES= www +DISTNAME= ${PORTNAME}_${PORTVERSION} + +MAINTAINER= tota@FreeBSD.org +COMMENT= Tools for Working with URLs and HTTP + +LICENSE= MIT + +RUN_DEPENDS= R-cran-digest>0:${PORTSDIR}/security/R-cran-digest \ + R-cran-jsonlite>0:${PORTSDIR}/converters/R-cran-jsonlite \ + R-cran-mime>0:${PORTSDIR}/misc/R-cran-mime \ + R-cran-curl>=0.6:${PORTSDIR}/ftp/R-cran-curl \ + R-cran-R6>0:${PORTSDIR}/devel/R-cran-R6 \ + R-cran-stringr>=0.6.1:${PORTSDIR}/textproc/R-cran-stringr + +USES= cran:auto-plist + +.include diff --git a/www/R-cran-httr/distinfo b/www/R-cran-httr/distinfo new file mode 100644 index 000000000000..77aae7b83c41 --- /dev/null +++ b/www/R-cran-httr/distinfo @@ -0,0 +1,2 @@ +SHA256 (httr_1.0.0.tar.gz) = 98a5e34a24954b5454c99ef9d72e0be505c91b0cef6d95a13402a0472ee2f9fa +SIZE (httr_1.0.0.tar.gz) = 245989 diff --git a/www/R-cran-httr/pkg-descr b/www/R-cran-httr/pkg-descr new file mode 100644 index 000000000000..821c9e160af7 --- /dev/null +++ b/www/R-cran-httr/pkg-descr @@ -0,0 +1,6 @@ +Useful tools for working with HTTP organised by HTTP verbs (GET(), +POST(), etc). Configuration functions make it easy to control +additional request components (authenticate(), add_headers() and +so on). + +WWW: https://cran.r-project.org/web/packages/httr/