forked from macports/macports-ports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPortfile
77 lines (62 loc) · 2.87 KB
/
Portfile
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup cmake 1.0
name InsightToolkit-devel
version 4.8.2
revision 10
categories graphics devel
platforms darwin
license Apache
maintainers {stromnov @stromnov} openmaintainer
description Insight Segmentation and Registration Toolkit (ITK)
long_description Insight Segmentation and Registration Toolkit (ITK) \
is an open-source, cross-platform system that provides \
developers with an extensive suite of software tools \
for image analysis.
homepage http://www.itk.org
master_sites sourceforge:itk
distname InsightToolkit-${version}
checksums rmd160 d42f13e86b11381409a4fca16458d0c871ff3d41 \
sha256 d8d5e3aea700588c60b01418c440b2d95b517ea18dd4c834c5164354e53596af
patchfiles-append patch-CMakeLists.txt.diff
cmake.out_of_source yes
depends_build-append \
port:castxml \
port:swig
depends_lib-append port:dcmtk \
port:expat \
port:fftw-3 \
port:hdf5 \
path:include/turbojpeg.h:libjpeg-turbo \
port:libpng \
port:tiff \
port:vxl \
port:zlib
configure.args-append \
-DITK_FORBID_DOWNLOADS:BOOL=ON \
-DITK_WRAP_PYTHON:BOOL=OFF \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DBUILD_EXAMPLES:BOOL=OFF \
-DVXL_DIR=${prefix}/share/vxl/cmake \
-DITK_USE_GPU:BOOL=ON \
-DITK_USE_SYSTEM_LIBRARIES:BOOL=ON \
-DITK_USE_SYSTEM_DCMTK:BOOL=ON \
-DITK_USE_SYSTEM_DOUBLECONVERSION:BOOL=OFF \
-DITK_USE_SYSTEM_EXPAT:BOOL=ON \
-DITK_USE_SYSTEM_FFTW:BOOL=ON \
-DITK_USE_SYSTEM_CASTXML:BOOL=ON \
-DITK_USE_SYSTEM_GDCM:BOOL=OFF \
-DITK_USE_SYSTEM_HDF:BOOL=ON \
-DITK_USE_SYSTEM_JPEG:BOOL=ON \
-DITK_USE_SYSTEM_MINC:BOOL=OFF \
-DITK_USE_SYSTEM_PNG:BOOL=ON \
-DITK_USE_SYSTEM_SWIG:BOOL=ON \
-DITK_USE_SYSTEM_SZIP:BOOL=ON \
-DITK_USE_SYSTEM_TIFF:BOOL=ON \
-DITK_USE_SYSTEM_VXL:BOOL=ON \
-DITK_USE_SYSTEM_ZLIB:BOOL=ON
configure.ldflags-append \
-L${prefix}/lib/vxl
livecheck.type regex
livecheck.url http://www.itk.org/ITK/resources/software.html
livecheck.regex {InsightToolkit-(\d+(?:\.\d+)*)\.[tz]}