summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobache <obache>2011-04-06 13:09:52 +0000
committerobache <obache>2011-04-06 13:09:52 +0000
commit09ae12427b5753d53005d9408bfa0107f3f935db (patch)
tree894407312748041232e0e7680157fed70a0c7d6c
parent611b7cd541729264f5113707de7b21d1d3e0781e (diff)
downloadpkgsrc-09ae12427b5753d53005d9408bfa0107f3f935db.tar.gz
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.
-rw-r--r--net/zeromq/DESCR6
-rw-r--r--net/zeromq/Makefile28
-rw-r--r--net/zeromq/PLIST39
-rw-r--r--net/zeromq/buildlink3.mk20
-rw-r--r--net/zeromq/distinfo5
5 files changed, 98 insertions, 0 deletions
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