1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/net/cppzmq/Makefile
Vasil Dimov ddbecf3e76 net/cppzmq: Fix CMake config installation path
PR:		230771
Submitted by:	jhale@
Reported by:	jhale@
2018-08-20 12:43:41 +00:00

45 lines
964 B
Makefile

# Created by: Vasil Dimov <vd@FreeBSD.org>
# $FreeBSD$
PORTNAME= cppzmq
PORTVERSION= 4.3.0
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= net
MAINTAINER= vd@FreeBSD.org
COMMENT= C++ bindings for 0MQ
LICENSE= MIT
LIB_DEPENDS= libzmq.so:net/libzmq4
NO_ARCH= yes
USES= cmake pkgconfig
CMAKE_ARGS= --no-warn-unused-cli \
-DCPPZMQ_BUILD_TESTS:BOOL=OFF \
-DCPPZMQ_CMAKECONFIG_INSTALL_DIR:PATH="lib/cmake/${PORTNAME}" \
-Wno-dev
# cppzmq is included in libzmq2
CONFLICTS_INSTALL= libzmq2
USE_GITHUB= yes
GH_ACCOUNT= zeromq
PLIST_FILES= \
include/zmq.hpp \
include/zmq_addon.hpp \
lib/cmake/${PORTNAME}/cppzmqConfig.cmake \
lib/cmake/${PORTNAME}/cppzmqConfigVersion.cmake \
lib/cmake/${PORTNAME}/cppzmqTargets.cmake \
lib/cmake/${PORTNAME}/libzmq-pkg-config/FindZeroMQ.cmake
post-patch:
${SED} -i '.orig' \
-e 's|ZeroMQ_LIBRARY AND ZeroMQ_STATIC_LIBRARY|ZeroMQ_LIBRARY|' \
${WRKSRC}/libzmq-pkg-config/FindZeroMQ.cmake
.include <bsd.port.mk>