Sat Aug 8 19:40:37 2009 UTC ()
Importing package for libev-3.7 (recommended dependency for p5
module AnyEvent).

Libev is modelled (very losely) after libevent and the Event perl
module, but is faster, scales better and is more correct, and also more
featureful. And also smaller. Yay.

Some of the specialties of libev not commonly found elsewhere are:

- extensive and detailed, readable documentation (not doxygen garbage).
- fully supports fork, can detect fork in various ways and automatically
  re-arms kernel mechanisms that do not support fork.
- highly optimised select, poll, epoll, kqueue and event ports backends.
- filesystem object (path) watching (with optional linux inotify support).
- wallclock-based times (using absolute time, cron-like).
- relative timers/timeouts (handle time jumps).
- fast intra-thread communication between multiple
  event loops (with optional fast linux eventfd backend).
- extremely easy to embed.
- very small codebase, no bloated library.
- fully extensible by being able to plug into the event loop,
  integrate other event loops, integrate other event loop users.
- very little memory use (small watchers, small event loop data).
- optional C++ interface allowing method and function callbacks
  at no extra memory or runtime overhead.
- optional Perl interface with similar characteristics (capable
  of running Glib/Gtk2 on libev, interfaces with Net::SNMP and
  libadns).
- support for other languages (multiple C++ interfaces, D, Ruby,
  Python) available from third-parties.

Examples of programs that embed libev: the EV perl module,
rxvt-unicode, gvpe (GNU Virtual Private Ethernet), the Deliantra MMORPG
server (http://www.deliantra.net/), Rubinius (a next-generation Ruby
VM), the Ebb web server, the Rev event toolkit.

Status:

Vendor Tag:	TNF
Release Tags:	pkgsrc-base


(sno)
diff -r0 -r1.1.1.1 pkgsrc/devel/libev/buildlink3.mk
diff -r0 -r1.1.1.1 pkgsrc/devel/libev/distinfo
diff -r0 -r1.1.1.1 pkgsrc/devel/libev/Makefile
diff -r0 -r1.1.1.1 pkgsrc/devel/libev/PLIST
diff -r0 -r1.1.1.1 pkgsrc/devel/libev/DESCR

File Added: pkgsrc/devel/libev/buildlink3.mk
# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/08/08 19:40:37 sno Exp $

BUILDLINK_TREE+=	libev

.if !defined(LIBEV_BUILDLINK3_MK)
LIBEV_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.libev+=libev>=3.7
BUILDLINK_ABI_DEPENDS.libev+=libev>=3.7
BUILDLINK_PKGSRCDIR.libev?=	../../devel/libev
.endif # LIBEV_BUILDLINK3_MK

BUILDLINK_TREE+=	-libev

File Added: pkgsrc/devel/libev/distinfo
$NetBSD: distinfo,v 1.1.1.1 2009/08/08 19:40:37 sno Exp $

SHA1 (libev-3.7.tar.gz) = eefd99ef01b15a64c32bf36a1955d2f13bd06e21
RMD160 (libev-3.7.tar.gz) = 464c5b3ec097495f7c31ea5a108c9c6f839c1ab5
Size (libev-3.7.tar.gz) = 463344 bytes

File Added: pkgsrc/devel/libev/Makefile
# $NetBSD: Makefile,v 1.1.1.1 2009/08/08 19:40:37 sno Exp $

DISTNAME=	libev-3.7
PKGNAME=	${DISTNAME}
CATEGORIES=	devel
MASTER_SITES=	http://dist.schmorp.de/libev/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://software.schmorp.de/pkg/libev.html
COMMENT=	A full-featured and high-performance event loop
LICENSE=	modified-bsd OR gnu-gpl-v2 # NOTE: 2-clause BSD

GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes
#TEST_TARGET=	verify

PKG_DESTDIR_SUPPORT=	user-destdir

.include "../../mk/bsd.prefs.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/devel/libev/PLIST
@comment $NetBSD: PLIST,v 1.1.1.1 2009/08/08 19:40:37 sno Exp $
include/ev++.h
include/ev.h
include/event.h
lib/libev.la
man/man3/ev.3

File Added: pkgsrc/devel/libev/DESCR
Libev is modelled (very losely) after libevent and the Event perl
module, but is faster, scales better and is more correct, and also more
featureful. And also smaller. Yay.

Some of the specialties of libev not commonly found elsewhere are:

- extensive and detailed, readable documentation (not doxygen garbage).
- fully supports fork, can detect fork in various ways and automatically
  re-arms kernel mechanisms that do not support fork.
- highly optimised select, poll, epoll, kqueue and event ports backends.
- filesystem object (path) watching (with optional linux inotify support).
- wallclock-based times (using absolute time, cron-like).
- relative timers/timeouts (handle time jumps).
- fast intra-thread communication between multiple
  event loops (with optional fast linux eventfd backend).
- extremely easy to embed.
- very small codebase, no bloated library.
- fully extensible by being able to plug into the event loop,
  integrate other event loops, integrate other event loop users.
- very little memory use (small watchers, small event loop data).
- optional C++ interface allowing method and function callbacks
  at no extra memory or runtime overhead.
- optional Perl interface with similar characteristics (capable
  of running Glib/Gtk2 on libev, interfaces with Net::SNMP and
  libadns).
- support for other languages (multiple C++ interfaces, D, Ruby,
  Python) available from third-parties.

Examples of programs that embed libev: the EV perl module,
rxvt-unicode, gvpe (GNU Virtual Private Ethernet), the Deliantra MMORPG
server (http://www.deliantra.net/), Rubinius (a next-generation Ruby
VM), the Ebb web server, the Rev event toolkit.