aboutsummaryrefslogtreecommitdiff
path: root/graphics/mirtk/Makefile
blob: 935ee18d1c2d14b9ffd14ce1585d88b556831af1 (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
# $FreeBSD$

PORTNAME=	mirtk
DISTVERSIONPREFIX=	v
DISTVERSION=	2.0.0-42
DISTVERSIONSUFFIX=	-g7390df6
CATEGORIES=	graphics

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Medical Image Registration ToolKit (MIRTK)

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

BUILD_DEPENDS=	boost-libs>0:devel/boost-libs \
		nifticlib>0:science/nifticlib

USES=		cmake compiler:c++11-lang eigen:3 perl5 python
USE_GITHUB=	yes
GH_ACCOUNT=	BioMedIA
GH_PROJECT=	${PORTNAME:tu}
USE_LDCONFIG=	yes

post-stage: # https://github.com/BioMedIA/MIRTK/issues/674
	@${RM} ${STAGEDIR}${PREFIX}/bin/uninstall-mirtk
	@${REINPLACE_CMD} -i '' 's|${STAGEDIR}||' ${STAGEDIR}${PREFIX}/lib/cmake/mirtk/MIRTKInstallManifest.txt

.include <bsd.port.mk>