net/nng: create port

NNG, like its predecessors nanomsg (and to some extent ZeroMQ), is a
lightweight, broker-less library, offering a simple API to solve common
recurring messaging problems, such as publish/subscribe, RPC-style
request/reply, or service discovery. The API frees the programmer from worrying
about details like connection management, retries, and other common
considerations, so that they can focus on the application instead of the
plumbing.

NNG is implemented in C, requiring only C99 and CMake to build. It can be built
as a shared or a static library, and is readily embeddable. It is also designed
to be easy to port to new platforms if your platform is not already supported.

WWW: https://nanomsg.github.io/nng/
This commit is contained in:
Steve Wills 2018-07-19 19:45:05 +00:00
parent 57747875e8
commit 779baa30e4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=474973
5 changed files with 75 additions and 0 deletions

View File

@ -532,6 +532,7 @@
SUBDIR += nload
SUBDIR += nmsg
SUBDIR += nncp
SUBDIR += nng
SUBDIR += nocatsplash
SUBDIR += norm
SUBDIR += nph

21
net/nng/Makefile Normal file
View File

@ -0,0 +1,21 @@
# $FreeBSD$
PORTNAME= nng
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.1
CATEGORIES= net
MAINTAINER= swills@FreeBSD.org
COMMENT= Lightweight, broker-less messaging
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= cmake:outsource
USE_GITHUB= yes
GH_ACCOUNT= nanomsg
CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=ON
USE_LDCONFIG= yes
.include <bsd.port.mk>

3
net/nng/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1532027540
SHA256 (nanomsg-nng-v1.0.1_GH0.tar.gz) = c08ef670d472eb6fd50a2f863c6a4432b2963addd47f35d54cfb9fd7c543895b
SIZE (nanomsg-nng-v1.0.1_GH0.tar.gz) = 541020

13
net/nng/pkg-descr Normal file
View File

@ -0,0 +1,13 @@
NNG, like its predecessors nanomsg (and to some extent ZeroMQ), is a
lightweight, broker-less library, offering a simple API to solve common
recurring messaging problems, such as publish/subscribe, RPC-style
request/reply, or service discovery. The API frees the programmer from worrying
about details like connection management, retries, and other common
considerations, so that they can focus on the application instead of the
plumbing.
NNG is implemented in C, requiring only C99 and CMake to build. It can be built
as a shared or a static library, and is readily embeddable. It is also designed
to be easy to port to new platforms if your platform is not already supported.
WWW: https://nanomsg.github.io/nng/

37
net/nng/pkg-plist Normal file
View File

@ -0,0 +1,37 @@
bin/nngcat
include/nng/compat/nanomsg/bus.h
include/nng/compat/nanomsg/inproc.h
include/nng/compat/nanomsg/ipc.h
include/nng/compat/nanomsg/nn.h
include/nng/compat/nanomsg/pair.h
include/nng/compat/nanomsg/pipeline.h
include/nng/compat/nanomsg/pubsub.h
include/nng/compat/nanomsg/reqrep.h
include/nng/compat/nanomsg/survey.h
include/nng/compat/nanomsg/tcp.h
include/nng/compat/nanomsg/ws.h
include/nng/nng.h
include/nng/protocol/bus0/bus.h
include/nng/protocol/pair0/pair.h
include/nng/protocol/pair1/pair.h
include/nng/protocol/pipeline0/pull.h
include/nng/protocol/pipeline0/push.h
include/nng/protocol/pubsub0/pub.h
include/nng/protocol/pubsub0/sub.h
include/nng/protocol/reqrep0/rep.h
include/nng/protocol/reqrep0/req.h
include/nng/protocol/survey0/respond.h
include/nng/protocol/survey0/survey.h
include/nng/supplemental/http/http.h
include/nng/supplemental/tls/tls.h
include/nng/supplemental/util/options.h
include/nng/supplemental/util/platform.h
include/nng/transport/inproc/inproc.h
include/nng/transport/ipc/ipc.h
include/nng/transport/tcp/tcp.h
include/nng/transport/ws/websocket.h
lib/cmake/nng/nng-config-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/nng/nng-config.cmake
lib/libnng.so
lib/libnng.so.1
lib/libnng.so.1.0.0