Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Mar 2014 10:06:45 +0000 (UTC)
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346609 - in head/devel: . libuv libuv/files
Message-ID:  <201403011006.s21A6jqF097757@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thierry
Date: Sat Mar  1 10:06:45 2014
New Revision: 346609
URL: http://svnweb.freebsd.org/changeset/ports/346609
QAT: https://qat.redports.org/buildarchive/r346609/

Log:
  Adding libuv, a multi-platform support library with a focus on
  asynchronous I/O.

Added:
  head/devel/libuv/
  head/devel/libuv/Makefile   (contents, props changed)
  head/devel/libuv/distinfo   (contents, props changed)
  head/devel/libuv/files/
  head/devel/libuv/files/patch-Makefile.am   (contents, props changed)
  head/devel/libuv/files/patch-configure.ac   (contents, props changed)
  head/devel/libuv/pkg-descr   (contents, props changed)
  head/devel/libuv/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sat Mar  1 10:05:14 2014	(r346608)
+++ head/devel/Makefile	Sat Mar  1 10:06:45 2014	(r346609)
@@ -1134,6 +1134,7 @@
     SUBDIR += libuninum
     SUBDIR += libunistring
     SUBDIR += libunwind
+    SUBDIR += libuv
     SUBDIR += libvanessa_adt
     SUBDIR += libvanessa_logger
     SUBDIR += libvanessa_socket

Added: head/devel/libuv/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libuv/Makefile	Sat Mar  1 10:06:45 2014	(r346609)
@@ -0,0 +1,36 @@
+# Created by: Thierry Thomas <thierry@pompo.net>
+# $FreeBSD$
+
+PORTNAME=	libuv
+PORTVERSION=	0.11.21
+CATEGORIES=	devel
+MASTER_SITES=	http://libuv.org/dist/v${PORTVERSION}/
+DISTNAME=	${PORTNAME}-v${PORTVERSION}
+
+MAINTAINER=	thierry@FreeBSD.org
+COMMENT=	A multi-platform support library with a focus on asynchronous I/O
+
+LICENSE=	NODE
+LICENSE_NAME=	NODE
+LICENSE_FILE	=${WRKSRC}/LICENSE
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+TEST_DEPENDS=	gyp:${PORTSDIR}/devel/py-gyp-devel	\
+		gmake:${PORTSDIR}/devel/gmake
+
+USE_AUTOTOOLS=	aclocal automake autoconf libtoolize
+ACLOCAL_ARGS=	-I m4
+USES=		pkgconfig
+USE_LDCONFIG=	yes
+
+run-autotools:
+	cd ${CONFIGURE_WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./autogen.sh
+
+.if defined(MAINTAINER_MODE)
+regression-test:
+	(cd ${WRKSRC} && ./gyp_uv.py -f make &&	\
+	${SETENV} ${MAKE_ENV} ${GMAKE} -C out && \
+	./out/Debug/run-tests)
+.endif
+
+.include <bsd.port.mk>

Added: head/devel/libuv/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libuv/distinfo	Sat Mar  1 10:06:45 2014	(r346609)
@@ -0,0 +1,2 @@
+SHA256 (libuv-v0.11.21.tar.gz) = 8e3c5e7aa39bedb6e94dcb42126b1623baac054817fc7992597c6e52f5e9ed64
+SIZE (libuv-v0.11.21.tar.gz) = 376612

Added: head/devel/libuv/files/patch-Makefile.am
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libuv/files/patch-Makefile.am	Sat Mar  1 10:06:45 2014	(r346609)
@@ -0,0 +1,11 @@
+--- Makefile.am.orig	2014-01-29 18:43:38.000000000 +0100
++++ Makefile.am	2014-02-27 19:07:55.000000000 +0100
+@@ -273,7 +273,7 @@
+ endif
+ 
+ if HAVE_PKG_CONFIG
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = $(libdir)data/pkgconfig
+ pkgconfig_DATA = @PACKAGE_NAME@.pc
+ endif
+ 

Added: head/devel/libuv/files/patch-configure.ac
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libuv/files/patch-configure.ac	Sat Mar  1 10:06:45 2014	(r346609)
@@ -0,0 +1,13 @@
+--- configure.ac.orig	2014-02-27 03:04:23.000000000 +0100
++++ configure.ac	2014-02-28 22:03:02.000000000 +0100
+@@ -47,8 +47,8 @@
+ AM_CONDITIONAL([WINNT],   [AS_CASE([$host_os], [mingw*],   [true], [false])])
+ PANDORA_ENABLE_DTRACE
+ AC_CHECK_PROG(PKG_CONFIG, pkg-config, yes)
+-AM_CONDITIONAL([HAVE_PKG_CONFIG], [test "x$PKG_CONFIG" = "xyes"])
+-AS_IF([test "x$PKG_CONFIG" = "xyes"], [
++AM_CONDITIONAL([HAVE_PKG_CONFIG], [test "x$PKG_CONFIG" != "x"])
++AS_IF([test "x$PKG_CONFIG" != "x"], [
+     AC_CONFIG_FILES([libuv.pc])
+ ])
+ AC_CONFIG_FILES([Makefile])

Added: head/devel/libuv/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libuv/pkg-descr	Sat Mar  1 10:06:45 2014	(r346609)
@@ -0,0 +1,17 @@
+libuv is a multi-platform support library with a focus on asynchronous I/O.
+
+Feature highlights:
+ + Full-featured event loop backed by epoll, kqueue, IOCP, event ports.
+ + Asynchronous TCP and UDP sockets
+ + Asynchronous DNS resolution
+ + Asynchronous file and file system operations
+ + File system events
+ + ANSI escape code controlled TTY
+ + IPC with socket sharing, using Unix domain sockets or named pipes (Windows)
+ + Child processes
+ + Thread pool
+ + Signal handling
+ + High resolution clock
+ + Threading and synchronization primitives
+
+WWW: https://github.com/joyent/libuv

Added: head/devel/libuv/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libuv/pkg-plist	Sat Mar  1 10:06:45 2014	(r346609)
@@ -0,0 +1,10 @@
+include/uv-bsd.h
+include/uv-errno.h
+include/uv-unix.h
+include/uv-version.h
+include/uv.h
+lib/libuv.a
+lib/libuv.la
+lib/libuv.so
+lib/libuv.so.11
+libdata/pkgconfig/libuv.pc



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