Lines 3-8
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= cppzmq |
4 |
PORTNAME= cppzmq |
5 |
PORTVERSION= 4.3.0 |
5 |
PORTVERSION= 4.3.0 |
|
|
6 |
PORTREVISION= 1 |
6 |
DISTVERSIONPREFIX= v |
7 |
DISTVERSIONPREFIX= v |
7 |
CATEGORIES= net |
8 |
CATEGORIES= net |
8 |
|
9 |
|
Lines 16-22
Link Here
|
16 |
NO_ARCH= yes |
17 |
NO_ARCH= yes |
17 |
|
18 |
|
18 |
USES= cmake pkgconfig |
19 |
USES= cmake pkgconfig |
19 |
CMAKE_ARGS= --no-warn-unused-cli -Wno-dev -DCPPZMQ_BUILD_TESTS:BOOL=OFF |
20 |
CMAKE_ARGS= --no-warn-unused-cli -Wno-dev -DCPPZMQ_BUILD_TESTS:BOOL=OFF \ |
|
|
21 |
-DCPPZMQ_CMAKECONFIG_INSTALL_DIR:PATH="lib/cmake/${PORTNAME}" |
20 |
|
22 |
|
21 |
# cppzmq is included in libzmq2 |
23 |
# cppzmq is included in libzmq2 |
22 |
CONFLICTS_INSTALL= libzmq2 |
24 |
CONFLICTS_INSTALL= libzmq2 |
Lines 27-42
Link Here
|
27 |
PLIST_FILES= \ |
29 |
PLIST_FILES= \ |
28 |
include/zmq.hpp \ |
30 |
include/zmq.hpp \ |
29 |
include/zmq_addon.hpp \ |
31 |
include/zmq_addon.hpp \ |
30 |
share/cmake/Modules/cppzmqConfig.cmake \ |
32 |
lib/cmake/${PORTNAME}/cppzmqConfig.cmake \ |
31 |
share/cmake/Modules/cppzmqConfigVersion.cmake \ |
33 |
lib/cmake/${PORTNAME}/cppzmqConfigVersion.cmake \ |
32 |
share/cmake/Modules/cppzmqTargets.cmake \ |
34 |
lib/cmake/${PORTNAME}/cppzmqTargets.cmake \ |
33 |
share/cmake/Modules/libzmq-pkg-config/FindZeroMQ.cmake |
35 |
lib/cmake/${PORTNAME}/libzmq-pkg-config/FindZeroMQ.cmake |
34 |
|
36 |
|
35 |
post-patch: |
37 |
post-patch: |
36 |
${SED} -i '.orig' \ |
38 |
${SED} -i '.orig' \ |
37 |
-e 's|share/cmake/$${PROJECT_NAME}|share/cmake/Modules|' \ |
|
|
38 |
${WRKSRC}/CMakeLists.txt |
39 |
${SED} -i '.orig' \ |
40 |
-e 's|ZeroMQ_LIBRARY AND ZeroMQ_STATIC_LIBRARY|ZeroMQ_LIBRARY|' \ |
39 |
-e 's|ZeroMQ_LIBRARY AND ZeroMQ_STATIC_LIBRARY|ZeroMQ_LIBRARY|' \ |
41 |
${WRKSRC}/libzmq-pkg-config/FindZeroMQ.cmake |
40 |
${WRKSRC}/libzmq-pkg-config/FindZeroMQ.cmake |
42 |
|
41 |
|