mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
net/cppzmq: Fix CMake config installation path
PR: 230771 Submitted by: jhale@ Reported by: jhale@
This commit is contained in:
parent
d7cf60d978
commit
ddbecf3e76
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=477649
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= cppzmq
|
||||
PORTVERSION= 4.3.0
|
||||
PORTREVISION= 1
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= net
|
||||
|
||||
@ -16,7 +17,10 @@ LIB_DEPENDS= libzmq.so:net/libzmq4
|
||||
NO_ARCH= yes
|
||||
|
||||
USES= cmake pkgconfig
|
||||
CMAKE_ARGS= --no-warn-unused-cli -Wno-dev -DCPPZMQ_BUILD_TESTS:BOOL=OFF
|
||||
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
|
||||
@ -27,15 +31,12 @@ GH_ACCOUNT= zeromq
|
||||
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/libzmq-pkg-config/FindZeroMQ.cmake
|
||||
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|share/cmake/$${PROJECT_NAME}|share/cmake/Modules|' \
|
||||
${WRKSRC}/CMakeLists.txt
|
||||
${SED} -i '.orig' \
|
||||
-e 's|ZeroMQ_LIBRARY AND ZeroMQ_STATIC_LIBRARY|ZeroMQ_LIBRARY|' \
|
||||
${WRKSRC}/libzmq-pkg-config/FindZeroMQ.cmake
|
||||
|
Loading…
Reference in New Issue
Block a user