summaryrefslogtreecommitdiff
path: root/misc/ecflow/Makefile
blob: 7cc9d75560437515d3eacdd2080b5be29a9cf506 (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
PORTNAME=	ecflow
DISTVERSION=	5.12.3
CATEGORIES=	misc
MASTER_SITES=	https://confluence.ecmwf.int/download/attachments/8650755/
DISTNAME=	ecFlow-${DISTVERSION}-Source

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Workflow package that enables users to run a large number of programs
WWW=		https://confluence.ecmwf.int/display/ECFLOW/ecflow+home

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

PY_DEPENDS=	${PYTHON_PKGNAMEPREFIX}boost-libs>0:devel/boost-python-libs@${PY_FLAVOR}
BUILD_DEPENDS=	bash:shells/bash \
		${PY_DEPENDS}
LIB_DEPENDS=	libboost_program_options.so:devel/boost-libs
RUN_DEPENDS=	${PY_DEPENDS}

USES=		cmake compiler:c++17-lang gl localbase perl5 pkgconfig python qt:6 shebangfix ssl
USE_QT=		5compat base charts svg tools:build
USE_GL=		gl opengl

SHEBANG_GLOB=	*.sh *.in *.py

CMAKE_OFF=	ENABLE_STATIC_BOOST_LIBS ENABLE_TESTS ENABLE_ALL_TESTS

CXXFLAGS_armv7=	-fPIC # attempt to work around compilation failure, see https://jira.ecmwf.int/browse/SUP-3688
CXXFLAGS_i386=	-fPIC # attempt to work around compilation failure, see https://jira.ecmwf.int/browse/SUP-3688

CONFLICTS_BUILD=	python27 # build attempts to find python-2.7 and use it

.include <bsd.port.pre.mk>

#post-patch:
#.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160
#	@${REINPLACE_CMD} -e 's|std::binary_function|std::__binary_function|' \
#		${WRKSRC}/ACore/src/Str.cpp
#.endif

.include <bsd.port.post.mk>