summaryrefslogtreecommitdiff
path: root/graphics/libdicom/Makefile
blob: 8cfdb29ea3cbc1d9963a6857d0e2cca07fa55c92 (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
29
PORTNAME=	libdicom
DISTVERSIONPREFIX=	v
DISTVERSION=	1.0.5
CATEGORIES=	graphics

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	C library for reading DICOM files
WWW=		https://libdicom.readthedocs.io/en/latest/

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	${LOCALBASE}/include/utarray.h:devel/uthash
TEST_DEPENDS=	check>0:devel/check

USES=		localbase meson pkgconfig
USE_LDCONFIG=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	ImagingDataCommons

MESON_ARGS=	-Dtests=false

do-test:
	@cd ${WRKSRC} && \
		${SETENV} ${CONFIGURE_ENV} ${CONFIGURE_CMD} --reconfigure ${CONFIGURE_ARGS} -Dtests=true && \
		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} test

.include <bsd.port.mk>