diff options
Diffstat (limited to 'graphics/libdicom/Makefile')
-rw-r--r-- | graphics/libdicom/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/graphics/libdicom/Makefile b/graphics/libdicom/Makefile new file mode 100644 index 000000000000..8cfdb29ea3cb --- /dev/null +++ b/graphics/libdicom/Makefile @@ -0,0 +1,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> |