summaryrefslogtreecommitdiff
path: root/graphics/elastix/Makefile
blob: e38a4b04429f7e74caa9d36adff6d4901f69f52c (plain)
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
PORTNAME=	elastix
DISTVERSION=	5.1.0
PORTREVISION=	1
CATEGORIES=	graphics

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Image registration toolbox
WWW=		https://elastix.lumc.nl/

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libdouble-conversion.so:devel/double-conversion \
		libgdcmCommon.so:devel/gdcm \
		libhdf5.so:science/hdf5 \
		libITKCommon-${ITK_VER}.so:science/InsightToolkit \
		libvnl.so:misc/vxl

USES=		cmake:testing compiler:c++14-lang eigen:3
USE_LDCONFIG=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	SuperElastix

CMAKE_ON=	ELASTIX_USE_EIGEN

CXXFLAGS+=	-I${LOCALBASE}/include/double-conversion

.include <../../science/InsightToolkit/Makefile.version>
.include <bsd.port.mk>