diff options
author | TAKATSU Tomonari <tota@FreeBSD.org> | 2013-05-14 21:31:07 +0000 |
---|---|---|
committer | TAKATSU Tomonari <tota@FreeBSD.org> | 2013-05-14 21:31:07 +0000 |
commit | f0d066c8ab36d47e26dabb769a600f81ad118146 (patch) | |
tree | 95c2ec73a1fdd4c55e554b7c03d53528e17e569c /www/R-cran-httpuv | |
parent | 217593e8de3b3015393d2afaade0aa1ccea49b7a (diff) | |
download | ports-f0d066c8ab36d47e26dabb769a600f81ad118146.tar.gz ports-f0d066c8ab36d47e26dabb769a600f81ad118146.zip |
- Add new port: www/R-cran-httpuv
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/
Notes
Notes:
svn path=/head/; revision=318201
Diffstat (limited to 'www/R-cran-httpuv')
-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 |
4 files changed, 47 insertions, 0 deletions
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/ |