graphics/libdicom: New port: C library for reading DICOM files

This commit is contained in:
Yuri Victorovich 2023-12-21 00:11:13 -08:00
parent 9be9309342
commit 6b3008a408
5 changed files with 45 additions and 0 deletions

View file

@ -449,6 +449,7 @@
SUBDIR += libcaca
SUBDIR += libcdr01
SUBDIR += libchamplain
SUBDIR += libdicom
SUBDIR += libdmtx
SUBDIR += libdrm
SUBDIR += libecwj2

View file

@ -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>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1703144908
SHA256 (ImagingDataCommons-libdicom-v1.0.5_GH0.tar.gz) = ebf5f7c0d1a0f802c1801f2f762537f014f2a431be3e063142f6ed3c96878abb
SIZE (ImagingDataCommons-libdicom-v1.0.5_GH0.tar.gz) = 351519

View file

@ -0,0 +1,2 @@
libdicom is a C library and a set of command-line tools
for reading DICOM WSI files.

View file

@ -0,0 +1,10 @@
bin/dcm-dump
bin/dcm-getframe
include/dicom/dicom.h
include/dicom/version.h
lib/libdicom.so
lib/libdicom.so.1
lib/libdicom.so.1.0.0
libdata/pkgconfig/libdicom.pc
man/man1/dcm-dump.1.gz
man/man1/dcm-getframe.1.gz