Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 May 2013 21:31:07 +0000 (UTC)
From:      TAKATSU Tomonari <tota@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r318201 - in head/www: . R-cran-httpuv R-cran-httpuv/files
Message-ID:  <201305142131.r4ELV77a005563@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tota
Date: Tue May 14 21:31:07 2013
New Revision: 318201
URL: http://svnweb.freebsd.org/changeset/ports/318201

Log:
  - 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/

Added:
  head/www/R-cran-httpuv/
  head/www/R-cran-httpuv/Makefile   (contents, props changed)
  head/www/R-cran-httpuv/distinfo   (contents, props changed)
  head/www/R-cran-httpuv/files/
  head/www/R-cran-httpuv/files/patch-src-Makevars   (contents, props changed)
  head/www/R-cran-httpuv/pkg-descr   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Tue May 14 21:10:15 2013	(r318200)
+++ head/www/Makefile	Tue May 14 21:31:07 2013	(r318201)
@@ -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

Added: head/www/R-cran-httpuv/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/R-cran-httpuv/Makefile	Tue May 14 21:31:07 2013	(r318201)
@@ -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>

Added: head/www/R-cran-httpuv/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/R-cran-httpuv/distinfo	Tue May 14 21:31:07 2013	(r318201)
@@ -0,0 +1,2 @@
+SHA256 (httpuv_1.0.5.tar.gz) = 4d08d3a48823d5c0429cc5a4935c02aa3d59f6a1c579e0a0f53ed4727320880d
+SIZE (httpuv_1.0.5.tar.gz) = 396568

Added: head/www/R-cran-httpuv/files/patch-src-Makevars
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/R-cran-httpuv/files/patch-src-Makevars	Tue May 14 21:31:07 2013	(r318201)
@@ -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

Added: head/www/R-cran-httpuv/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/R-cran-httpuv/pkg-descr	Tue May 14 21:31:07 2013	(r318201)
@@ -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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305142131.r4ELV77a005563>