2013-04-29 00:08:22 +02:00
|
|
|
# Created by: bacon@smithers.neuro.mcw.edu
|
2006-09-07 03:24:33 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= InsightToolkit
|
2017-12-29 09:07:19 +01:00
|
|
|
PORTVERSION= 4.13.0
|
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
2019-07-26 22:46:53 +02:00
|
|
|
PORTREVISION= 9
|
2006-09-07 03:24:33 +02:00
|
|
|
CATEGORIES= science biology
|
2016-06-06 20:10:07 +02:00
|
|
|
MASTER_SITES= SF/itk/itk/${ITK_VER}
|
2006-09-07 03:24:33 +02:00
|
|
|
|
2016-05-09 22:46:48 +02:00
|
|
|
MAINTAINER= woodsb02@FreeBSD.org
|
2006-09-07 03:24:33 +02:00
|
|
|
COMMENT= Insight Toolkit
|
|
|
|
|
2015-06-08 22:08:07 +02:00
|
|
|
LICENSE= APACHE20
|
2006-09-07 03:24:33 +02:00
|
|
|
|
2017-12-29 09:07:19 +01:00
|
|
|
BUILD_DEPENDS= googletest>=0:devel/googletest
|
2016-06-06 20:10:07 +02:00
|
|
|
LIB_DEPENDS= libgdcmCommon.so:devel/gdcm \
|
2016-04-01 16:25:16 +02:00
|
|
|
libexpat.so:textproc/expat2 \
|
|
|
|
libfftw.so:math/fftw \
|
|
|
|
libhdf5.so:science/hdf5 \
|
|
|
|
libpng.so:graphics/png \
|
2016-06-06 20:10:07 +02:00
|
|
|
libsz.so:science/szip \
|
2016-04-01 16:25:16 +02:00
|
|
|
libtiff.so:graphics/tiff
|
2016-02-12 12:41:39 +01:00
|
|
|
|
2018-12-25 21:25:39 +01:00
|
|
|
USES= cmake compiler:c11 jpeg
|
2016-02-12 12:41:39 +01:00
|
|
|
CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=ON \
|
|
|
|
-DITK_USE_KWSTYLE:BOOL=OFF \
|
|
|
|
-DITK_USE_SYSTEM_LIBRARIES:BOOL=ON \
|
|
|
|
-DITK_USE_SYSTEM_EXPAT:BOOL=ON \
|
|
|
|
-DITK_USE_SYSTEM_FFTW:BOOL=ON \
|
|
|
|
-DITK_USE_SYSTEM_GDCM:BOOL=ON \
|
|
|
|
-DITK_USE_SYSTEM_HDF5:BOOL=ON \
|
|
|
|
-DITK_USE_SYSTEM_JPEG:BOOL=ON \
|
|
|
|
-DITK_USE_SYSTEM_PNG:BOOL=ON \
|
|
|
|
-DITK_USE_SYSTEM_TIFF:BOOL=ON \
|
|
|
|
-DITK_USE_SYSTEM_ZLIB:BOOL=ON
|
2013-12-19 10:58:02 +01:00
|
|
|
USE_LDCONFIG= ${PREFIX}/lib/InsightToolkit
|
2016-06-06 20:10:07 +02:00
|
|
|
ITK_VER= ${PORTVERSION:R}
|
|
|
|
PLIST_SUB+= ITK_VER=${ITK_VER}
|
2006-09-07 03:24:33 +02:00
|
|
|
|
2013-12-19 10:58:02 +01:00
|
|
|
OPTIONS_DEFINE= EXAMPLES TESTING
|
|
|
|
EXAMPLES_DESC= Build examples (very time consuming)
|
|
|
|
TESTING_DESC= Build testing programs (very time consuming)
|
2006-09-07 03:24:33 +02:00
|
|
|
|
2016-02-12 12:41:39 +01:00
|
|
|
EXAMPLES_CMAKE_ON= -DBUILD_EXAMPLES:BOOL=ON
|
|
|
|
TESTING_CMAKE_ON= -DBUILD_TESTING:BOOL=ON
|
2006-09-07 03:24:33 +02:00
|
|
|
|
2013-12-19 10:58:02 +01:00
|
|
|
.include <bsd.port.mk>
|