30 lines
687 B
Makefile
30 lines
687 B
Makefile
PORTNAME= libdicom
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.1.0
|
|
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>
|