-
Notifications
You must be signed in to change notification settings - Fork 727
/
Makefile
43 lines (32 loc) · 1.26 KB
/
Makefile
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
PORTNAME= simpleitk
DISTVERSIONPREFIX= v
DISTVERSION= 2.2.1
CATEGORIES= graphics
MAINTAINER= yuri@FreeBSD.org
COMMENT= Simplification layer built on top of the Insight Toolkit (ITK)
WWW= https://simpleitk.org/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_armv7= clang consistently runs out of memory
BROKEN_i386= clang consistently runs out of memory
LIB_DEPENDS= libgdcmCommon.so:devel/gdcm \
libhdf5.so:science/hdf5 \
libITKCommon-${ITK_VER}.so:science/InsightToolkit \
libvnl.so:misc/vxl
TEST_DEPENDS= googletest>0:devel/googletest
USES= cmake:testing compiler:c++14-lang eigen:3 lua:53 # tests fail to configure due to GTest::GTest related issues, see also https://github.com/SimpleITK/SimpleITK/issues/1765
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= SimpleITK
GH_PROJECT= SimpleITK
CMAKE_OFF= WRAP_DEFAULT
CMAKE_OFF+= BUILD_TESTING BUILD_EXAMPLES
CMAKE_ON= BUILD_SHARED_LIBS
CMAKE_ARGS= -DSimpleITK_LUA_EXECUTABLE=${LUA_CMD}
CMAKE_TESTING_ON= BUILD_TESTING # tests fail to find GTest, see https://github.com/SimpleITK/SimpleITK/issues/1807
PLIST_SUB+= VER=${DISTVERSION:R}
BINARY_ALIAS= git=false
post-install: # remove contentless docs
@${RM} -r ${STAGEDIR}${PREFIX}/share
.include <../../science/InsightToolkit/Makefile.version>
.include <bsd.port.mk>