blob: 8e69c866d1e86dac9f33abeda473cf3a98aa1b38 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
PORTNAME= ecal
DISTVERSIONPREFIX= v
DISTVERSION= 5.12.1
PORTREVISION= 2
CATEGORIES= net devel
MAINTAINER= yuri@FreeBSD.org
COMMENT= Enhanced Communication Abstraction Layer
WWW= https://eclipse-ecal.github.io/ecal/index.html
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= asio>0:net/asio \
termcolor>0:devel/termcolor
LIB_DEPENDS= libcurl.so:ftp/curl \
libfmt.so:devel/libfmt \
libfineftp-server.so:ftp/fineftp-server \
libftxui-component.so:devel/ftxui \
libhdf5.so:science/hdf5 \
libprotobuf.so:devel/protobuf \
libqwt6.so:x11-toolkits/qwt6 \
libspdlog.so:devel/spdlog \
libtinyxml2.so:textproc/tinyxml2 \
libyaml-cpp.so:devel/yaml-cpp
# binaries aren't linked with libfineftp-server.so, see https://github.com/continental/ecal/issues/381; same with libcurl.so
USES= cmake compiler:c++17-lang desktop-file-utils localbase:ldflags qt:5 shared-mime-info
USE_QT= core gui widgets buildtools:build qmake:build
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= eclipse-ecal
GH_TUPLE= eclipse-ecal:tcp_pubsub:f59da78:tcp_pubsub/thirdparty/tcp_pubsub \
brofield:simpleini:9b3ed7e:simpleini/thirdparty/simpleini \
steinwurf:recycle:c542570:recycle/thirdparty/recycle \
xguerin:tclap:349170a:tclap/thirdparty/tclap
CMAKE_ON= BUILD_SHARED_LIBS
CMAKE_OFF= BUILD_SAMPLES \
ECAL_THIRDPARTY_BUILD_SPDLOG ECAL_THIRDPARTY_BUILD_TINYXML2 ECAL_THIRDPARTY_BUILD_FINEFTP ECAL_THIRDPARTY_BUILD_TERMCOLOR \
ECAL_THIRDPARTY_BUILD_FTXUI ECAL_THIRDPARTY_BUILD_GTEST ECAL_THIRDPARTY_BUILD_PROTOBUF \
ECAL_THIRDPARTY_BUILD_CURL ECAL_THIRDPARTY_BUILD_HDF5 ECAL_THIRDPARTY_BUILD_YAML-CPP ECAL_THIRDPARTY_BUILD_UDPCAP \
CPACK_PACK_WITH_INNOSETUP
CMAKE_ARGS= -DGIT_REVISION_MAJOR=${DISTVERSION:R:R} \
-DGIT_REVISION_MINOR=${DISTVERSION:R:E} \
-DGIT_REVISION_PATCH=${DISTVERSION:E} \
-Dasio_INCLUDE_DIR=${LOCALBASE}/include \
-Dqwt_INCLUDE_DIR=${LOCALBASE}/include/qt5/qwt6 \
-Dqwt_LIBRARY=${LOCALBASE}/lib/qt5/libqwt6.so
CXXFLAGS+= -pthread # see https://github.com/eclipse-ecal/ecal/issues/933
LDFLAGS+= -labsl_hash -labsl_log_internal_message -labsl_log_internal_nullguard -labsl_spinlock_wait
USE_CXXSTD= c++17
PLIST_SUB= VERSION=${DISTVERSION}
CONFLICTS_BUILD= tclap simpleini # epub isn't compatible with tclap-1.4rc1, epub isn't compatible with simpleini, because some header isn't installed
post-install: # not sure why isn't this installed automatically
${INSTALL_LIB} ${BUILD_WRKSRC}/lib/libsys_core.so ${STAGEDIR}${PREFIX}/lib
.include <bsd.port.mk>
|