diff options
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/R-cran-httpuv/Makefile | 26 | ||||
-rw-r--r-- | www/R-cran-httpuv/distinfo | 2 | ||||
-rw-r--r-- | www/R-cran-httpuv/files/patch-src-Makevars | 11 | ||||
-rw-r--r-- | www/R-cran-httpuv/pkg-descr | 8 |
5 files changed, 48 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index c25dca4ecf2c..e48cf9ab5847 100644 --- a/www/Makefile +++ b/www/Makefile @@ -6,6 +6,7 @@ SUBDIR += MT SUBDIR += R-cran-RgoogleMaps SUBDIR += R-cran-Rpad + SUBDIR += R-cran-httpuv SUBDIR += R-cran-scrapeR SUBDIR += WebMagick SUBDIR += abyssws diff --git a/www/R-cran-httpuv/Makefile b/www/R-cran-httpuv/Makefile new file mode 100644 index 000000000000..3e4469581c41 --- /dev/null +++ b/www/R-cran-httpuv/Makefile @@ -0,0 +1,26 @@ +# Created by: TAKATSU Tomonari <tota@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= httpuv +PORTVERSION= 1.0.5 +CATEGORIES= www +DISTNAME= ${PORTNAME}_${PORTVERSION} + +MAINTAINER= tota@FreeBSD.org +COMMENT= HTTP and WebSocket server library for R + +LICENSE= GPLv3 NODE +LICENSE_COMB= multi +LICENSE_NAME_NODE= Node's license +LICENSE_FILE_NODE= ${WRKSRC}/LICENSE +LICENSE_PERMS_NODE= auto-accept + +RUN_DEPENDS= R-cran-Rcpp>=0.10.2:${PORTSDIR}/devel/R-cran-Rcpp + +USE_GMAKE= yes +USE_R_MOD= yes +R_MOD_AUTOPLIST= yes + +MAKE_ENV= MAKE=${GMAKE} + +.include <bsd.port.mk> diff --git a/www/R-cran-httpuv/distinfo b/www/R-cran-httpuv/distinfo new file mode 100644 index 000000000000..0d7455a774c6 --- /dev/null +++ b/www/R-cran-httpuv/distinfo @@ -0,0 +1,2 @@ +SHA256 (httpuv_1.0.5.tar.gz) = 4d08d3a48823d5c0429cc5a4935c02aa3d59f6a1c579e0a0f53ed4727320880d +SIZE (httpuv_1.0.5.tar.gz) = 396568 diff --git a/www/R-cran-httpuv/files/patch-src-Makevars b/www/R-cran-httpuv/files/patch-src-Makevars new file mode 100644 index 000000000000..9b402cd2cf05 --- /dev/null +++ b/www/R-cran-httpuv/files/patch-src-Makevars @@ -0,0 +1,11 @@ +--- src/Makevars.orig 2013-03-11 14:39:17.000000000 +0900 ++++ src/Makevars 2013-05-11 17:48:34.000000000 +0900 +@@ -6,7 +6,7 @@ + FRAMEWORK = -framework CoreServices + endif + +-PKG_LIBS = `$(R_HOME)/bin/Rscript -e "Rcpp:::LdFlags()"` ./libuv/libuv.a ./http-parser/http_parser.o ./sha1/sha1.o ./base64/base64.o $(FRAMEWORK) ++PKG_LIBS = `$(R_HOME)/bin/Rscript -e "Rcpp:::LdFlags()"` ./libuv/libuv.a ./http-parser/http_parser.o ./sha1/sha1.o ./base64/base64.o $(FRAMEWORK) -lkvm + PKG_CPPFLAGS += -I./libuv/include -I./http-parser -I./sha1 -I./base64 + + .PHONY: all libuv.a http-parser.o diff --git a/www/R-cran-httpuv/pkg-descr b/www/R-cran-httpuv/pkg-descr new file mode 100644 index 000000000000..a4e077127f5a --- /dev/null +++ b/www/R-cran-httpuv/pkg-descr @@ -0,0 +1,8 @@ +httpuv provides low-level socket and protocol support for handling +HTTP and WebSocket requests directly from within R. It is primarily +intended as a building block for other packages, rather than making +it particularly easy to create complete web applications using +httpuv alone. httpuv is built on top of the libuv and http-parser +C libraries, both of which were developed by Joyent, Inc. + +WWW: http://cran.r-project.org/web/packages/httpuv/ |