mirror of
https://git.freebsd.org/ports.git
synced 2025-06-03 11:56:28 -04:00
As of ZeroMQ 3.2.0 zmq.hpp has been split into a separate project under https://github.com/zeromq/cppzmq/releases https://zeromq.jira.com/browse/LIBZMQ-359 So, FreeBSD's net/libzmq2 does provide zmq.hpp, while net/libzmq3 and net/libzmq4 do not and this new port net/cppzmq is supplementary to them.
39 lines
849 B
Makefile
39 lines
849 B
Makefile
# Created by: Vasil Dimov <vd@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cppzmq
|
|
PORTVERSION= 4.2.2
|
|
CATEGORIES= net
|
|
|
|
MAINTAINER= vd@FreeBSD.org
|
|
COMMENT= C++ bindings for 0MQ
|
|
|
|
LICENSE= MIT
|
|
|
|
LIB_DEPENDS= libzmq.so:net/libzmq4
|
|
|
|
USES= cmake pkgconfig
|
|
CMAKE_ARGS= --no-warn-unused-cli -Wno-dev
|
|
|
|
# cppzmq is included in libzmq2
|
|
CONFLICTS= libzmq2
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= zeromq
|
|
GH_TAGNAME= v${PORTVERSION}
|
|
|
|
PLIST_FILES= \
|
|
include/zmq.hpp \
|
|
include/zmq_addon.hpp \
|
|
share/cmake/Modules/cppzmqConfig.cmake \
|
|
share/cmake/Modules/cppzmqConfigVersion.cmake \
|
|
share/cmake/Modules/cppzmqTargets.cmake \
|
|
share/cmake/Modules/libzmqPkgConfigFallback.cmake
|
|
|
|
post-patch:
|
|
${SED} -i '.orig' \
|
|
-e 's|find_package(ZeroMQ)|find_package(ZeroMQ QUIET)|' \
|
|
-e 's|share/cmake/$${PROJECT_NAME}|share/cmake/Modules|' \
|
|
${WRKSRC}/CMakeLists.txt
|
|
|
|
.include <bsd.port.mk>
|