diff options
author | koobs <koobs@FreeBSD.org> | 2013-11-28 19:57:02 +0800 |
---|---|---|
committer | koobs <koobs@FreeBSD.org> | 2013-11-28 19:57:02 +0800 |
commit | 446ac4bddb4501198fb5991e02815e234fdc46e6 (patch) | |
tree | 07d10bed3cc45852cfedac60cbacb90d8ad1e867 /net | |
parent | 929edaae6a489d9499998f66c0d8434ca2eff4d7 (diff) | |
download | freebsd-ports-gnome-446ac4bddb4501198fb5991e02815e234fdc46e6.tar.gz freebsd-ports-gnome-446ac4bddb4501198fb5991e02815e234fdc46e6.tar.zst freebsd-ports-gnome-446ac4bddb4501198fb5991e02815e234fdc46e6.zip |
devel/zmq-devel: Move to net/libzmq3, add DEBUG and PGM options
- Copy devel/zmq-devel to net/libzmq3
- Delete devel/zmq-devel
- Remove from devel/Makefile
- Add a MOVED entry for zmq-devel
- Add libzmq3 to net/Makefile
- Switch primary category
- Add DEBUG and PGM (Multicast) options
- Remove PKGNAMESUFFIX
- Update COMMENT to align with libzqm4
- Update pkg-descr to align with libzmq4
- Add LICENSE
- Update CONFLICTS
- Tweak the regression-test target to build before running
Reviewed by: kwm, wg
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/libzmq3/Makefile | 38 | ||||
-rw-r--r-- | net/libzmq3/distinfo | 2 | ||||
-rw-r--r-- | net/libzmq3/files/patch-tests__test_connect_delay.cpp | 10 | ||||
-rw-r--r-- | net/libzmq3/pkg-descr | 8 | ||||
-rw-r--r-- | net/libzmq3/pkg-plist | 50 |
6 files changed, 109 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 884a74c9184b..a870730bbf8c 100644 --- a/net/Makefile +++ b/net/Makefile @@ -348,6 +348,7 @@ SUBDIR += libunp SUBDIR += libutp SUBDIR += libvncserver + SUBDIR += libzmq3 SUBDIR += libzmq4 SUBDIR += liferea SUBDIR += linc diff --git a/net/libzmq3/Makefile b/net/libzmq3/Makefile new file mode 100644 index 000000000000..6576a1ebfff7 --- /dev/null +++ b/net/libzmq3/Makefile @@ -0,0 +1,38 @@ +# $FreeBSD$ + +PORTNAME= libzmq3 +PORTVERSION= 3.2.4 +CATEGORIES= net +MASTER_SITES= http://download.zeromq.org/ +DISTNAME= zeromq-${DISTVERSION} + +MAINTAINER= koobs@FreeBSD.org +COMMENT= ZeroMQ core library (Version 3) + +LICENSE= LGPL3 + +USES= pathfix +USE_LDCONFIG= yes + +OPTIONS_DEFINE= DEBUG PGM +PGM_DESC= Reliable multicast transport using PGM via OpenPGM + +DEBUG_CONFIGURE_ON= --enable-debug +PGM_CONFIGURE_ON= --with-system-pgm +PGM_LIB_DEPENDS= libpgm.so:${PORTSDIR}/net/openpgm +PGM_USES= pkgconfig + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MDEBUG} +WITH_DEBUG= yes +.endif + +GNU_CONFIGURE= yes + +CONFLICTS= zmq-[0-9]* libzmq[^3]-[0-9]* + +regression-test: build + cd ${WRKSRC} && ${MAKE} check + +.include <bsd.port.mk> diff --git a/net/libzmq3/distinfo b/net/libzmq3/distinfo new file mode 100644 index 000000000000..cf366bafbb0e --- /dev/null +++ b/net/libzmq3/distinfo @@ -0,0 +1,2 @@ +SHA256 (zeromq-3.2.4.tar.gz) = df96a141c85b65c2cb6c0db22223126623a09eecbfccb7f74400f3f938742f59 +SIZE (zeromq-3.2.4.tar.gz) = 2083123 diff --git a/net/libzmq3/files/patch-tests__test_connect_delay.cpp b/net/libzmq3/files/patch-tests__test_connect_delay.cpp new file mode 100644 index 000000000000..7143d96b8564 --- /dev/null +++ b/net/libzmq3/files/patch-tests__test_connect_delay.cpp @@ -0,0 +1,10 @@ +--- ./tests/test_connect_delay.cpp.orig 2013-07-19 13:30:55.436108722 +0400 ++++ ./tests/test_connect_delay.cpp 2013-07-19 13:30:59.430156726 +0400 +@@ -22,6 +22,7 @@ + #include <stdlib.h> + #include <string.h> + #include <unistd.h> ++#include <time.h> + #include <string> + + #undef NDEBUG diff --git a/net/libzmq3/pkg-descr b/net/libzmq3/pkg-descr new file mode 100644 index 000000000000..ce51410fdf40 --- /dev/null +++ b/net/libzmq3/pkg-descr @@ -0,0 +1,8 @@ +ZeroMQ - Distributed Computing Made Simple + + * The socket library that acts as a concurrency framework. + * Carries messages across inproc, IPC, TCP, and multicast. + * Connect N-to-N via fanout, pubsub, pipeline, request-reply. + * Asynch I/O for scalable multicore message-passing apps. + +WWW: http://www.zeromq.org/ diff --git a/net/libzmq3/pkg-plist b/net/libzmq3/pkg-plist new file mode 100644 index 000000000000..cbcdcd17a780 --- /dev/null +++ b/net/libzmq3/pkg-plist @@ -0,0 +1,50 @@ +include/zmq.h +include/zmq_utils.h +lib/libzmq.a +lib/libzmq.la +lib/libzmq.so +lib/libzmq.so.3 +libdata/pkgconfig/libzmq.pc +man/man3/zmq_bind.3.gz +man/man3/zmq_close.3.gz +man/man3/zmq_connect.3.gz +man/man3/zmq_ctx_destroy.3.gz +man/man3/zmq_ctx_get.3.gz +man/man3/zmq_ctx_new.3.gz +man/man3/zmq_ctx_set.3.gz +man/man3/zmq_disconnect.3.gz +man/man3/zmq_errno.3.gz +man/man3/zmq_getsockopt.3.gz +man/man3/zmq_init.3.gz +man/man3/zmq_msg_close.3.gz +man/man3/zmq_msg_copy.3.gz +man/man3/zmq_msg_data.3.gz +man/man3/zmq_msg_get.3.gz +man/man3/zmq_msg_init.3.gz +man/man3/zmq_msg_init_data.3.gz +man/man3/zmq_msg_init_size.3.gz +man/man3/zmq_msg_more.3.gz +man/man3/zmq_msg_move.3.gz +man/man3/zmq_msg_recv.3.gz +man/man3/zmq_msg_send.3.gz +man/man3/zmq_msg_set.3.gz +man/man3/zmq_msg_size.3.gz +man/man3/zmq_poll.3.gz +man/man3/zmq_proxy.3.gz +man/man3/zmq_recv.3.gz +man/man3/zmq_recvmsg.3.gz +man/man3/zmq_send.3.gz +man/man3/zmq_sendmsg.3.gz +man/man3/zmq_setsockopt.3.gz +man/man3/zmq_socket.3.gz +man/man3/zmq_socket_monitor.3.gz +man/man3/zmq_strerror.3.gz +man/man3/zmq_term.3.gz +man/man3/zmq_unbind.3.gz +man/man3/zmq_version.3.gz +man/man7/zmq.7.gz +man/man7/zmq_epgm.7.gz +man/man7/zmq_inproc.7.gz +man/man7/zmq_ipc.7.gz +man/man7/zmq_pgm.7.gz +man/man7/zmq_tcp.7.gz |