From dd95f7e2d0dff1e0ac20889b2eb19a96f3a1024d Mon Sep 17 00:00:00 2001 From: obache Date: Wed, 6 Apr 2011 13:09:52 +0000 Subject: Import zeromq-2.0.11 as net/zeromq. The 0MQ lightweight messaging kernel is a library which extends the standard socket interfaces with features traditionally provided by specialised messaging middleware products. 0MQ sockets provide an abstraction of asynchronous message queues, multiple messaging patterns, message filtering (subscriptions), seamless access to multiple transport protocols and more. --- net/zeromq/DESCR | 6 ++++++ net/zeromq/Makefile | 28 ++++++++++++++++++++++++++++ net/zeromq/PLIST | 39 +++++++++++++++++++++++++++++++++++++++ net/zeromq/buildlink3.mk | 20 ++++++++++++++++++++ net/zeromq/distinfo | 5 +++++ 5 files changed, 98 insertions(+) create mode 100644 net/zeromq/DESCR create mode 100644 net/zeromq/Makefile create mode 100644 net/zeromq/PLIST create mode 100644 net/zeromq/buildlink3.mk create mode 100644 net/zeromq/distinfo (limited to 'net') diff --git a/net/zeromq/DESCR b/net/zeromq/DESCR new file mode 100644 index 00000000000..5f7f074b47c --- /dev/null +++ b/net/zeromq/DESCR @@ -0,0 +1,6 @@ +The 0MQ lightweight messaging kernel is a library which extends the +standard socket interfaces with features traditionally provided by +specialised messaging middleware products. 0MQ sockets provide an +abstraction of asynchronous message queues, multiple messaging +patterns, message filtering (subscriptions), seamless access to +multiple transport protocols and more. diff --git a/net/zeromq/Makefile b/net/zeromq/Makefile new file mode 100644 index 00000000000..400d725534e --- /dev/null +++ b/net/zeromq/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1.1.1 2011/04/06 13:09:52 obache Exp $ +# + +DISTNAME= zeromq-2.0.11 +CATEGORIES= net devel +MASTER_SITES= http://download.zeromq.org/ + +MAINTAINER= obache@NetBSD.org +HOMEPAGE= http://download.zeromq.org/ +COMMENT= The ZeroMQ messaging library +LICENSE= gnu-lgpl-v3 + +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes +USE_TOOLS+= pkg-config +USE_LANGUAGES= c c++ +USE_LIBTOOL= yes + +PKGCONFIG_OVERRIDE+= src/libzmq.pc.in + +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS" +.include "../../devel/libuuid/buildlink3.mk" +.endif + +.include "../../mk/bsd.pkg.mk" diff --git a/net/zeromq/PLIST b/net/zeromq/PLIST new file mode 100644 index 00000000000..3c95caf465f --- /dev/null +++ b/net/zeromq/PLIST @@ -0,0 +1,39 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2011/04/06 13:09:52 obache Exp $ +bin/zmq_forwarder +bin/zmq_queue +bin/zmq_streamer +include/zmq.h +include/zmq.hpp +include/zmq_utils.h +lib/libzmq.la +lib/pkgconfig/libzmq.pc +man/man3/zmq_bind.3 +man/man3/zmq_close.3 +man/man3/zmq_connect.3 +man/man3/zmq_device.3 +man/man3/zmq_errno.3 +man/man3/zmq_getsockopt.3 +man/man3/zmq_init.3 +man/man3/zmq_msg_close.3 +man/man3/zmq_msg_copy.3 +man/man3/zmq_msg_data.3 +man/man3/zmq_msg_init.3 +man/man3/zmq_msg_init_data.3 +man/man3/zmq_msg_init_size.3 +man/man3/zmq_msg_move.3 +man/man3/zmq_msg_size.3 +man/man3/zmq_poll.3 +man/man3/zmq_recv.3 +man/man3/zmq_send.3 +man/man3/zmq_setsockopt.3 +man/man3/zmq_socket.3 +man/man3/zmq_strerror.3 +man/man3/zmq_term.3 +man/man3/zmq_version.3 +man/man7/zmq.7 +man/man7/zmq_cpp.7 +man/man7/zmq_epgm.7 +man/man7/zmq_inproc.7 +man/man7/zmq_ipc.7 +man/man7/zmq_pgm.7 +man/man7/zmq_tcp.7 diff --git a/net/zeromq/buildlink3.mk b/net/zeromq/buildlink3.mk new file mode 100644 index 00000000000..f255eb6808f --- /dev/null +++ b/net/zeromq/buildlink3.mk @@ -0,0 +1,20 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2011/04/06 13:09:52 obache Exp $ +# + +BUILDLINK_TREE+= zeromq + +.if !defined(ZEROMQ_BUILDLINK3_MK) +ZEROMQ_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.zeromq+= zeromq>=2.0.11 +BUILDLINK_PKGSRCDIR.zeromq?= ../../net/zeromq + +.include "../../mk/bsd.fast.prefs.mk" + +.if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS" +.include "../../devel/libuuid/buildlink3.mk" +.endif + +.endif # ZEROMQ_BUILDLINK3_MK + +BUILDLINK_TREE+= -zeromq diff --git a/net/zeromq/distinfo b/net/zeromq/distinfo new file mode 100644 index 00000000000..f596c3b6134 --- /dev/null +++ b/net/zeromq/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2011/04/06 13:09:52 obache Exp $ + +SHA1 (zeromq-2.0.11.tar.gz) = 45f1de83eb41cf7b6f074b874ef9b9718446f43a +RMD160 (zeromq-2.0.11.tar.gz) = 09ab5d4d67010671fc52acb190cbdae5f1f4abf7 +Size (zeromq-2.0.11.tar.gz) = 1078252 bytes -- cgit v1.2.3