git: 6df3d90f95a7 - main - graphics/dcmtk: Add unversioned link to DATADIR
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 28 Mar 2026 11:35:17 UTC
The branch main has been updated by jwb:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6df3d90f95a7cfdd0568a59b66593a89e39491e9
commit 6df3d90f95a7cfdd0568a59b66593a89e39491e9
Author: Jason W. Bacon <jwb@FreeBSD.org>
AuthorDate: 2026-03-28 11:28:28 +0000
Commit: Jason W. Bacon <jwb@FreeBSD.org>
CommitDate: 2026-03-28 11:28:28 +0000
graphics/dcmtk: Add unversioned link to DATADIR
share/dcmtk-x.y.z -> share/dcmtk
Prevents dependent ports and other tools that require access to DCMTK
dictionaries from breaking every time the dcmtk version changes.
PR: 293668
Approved by: (blanket, prevent consumer breakage)
---
graphics/dcmtk/Makefile | 5 +++++
graphics/dcmtk/pkg-plist | 1 +
2 files changed, 6 insertions(+)
diff --git a/graphics/dcmtk/Makefile b/graphics/dcmtk/Makefile
index 44bee7c9531e..18b3e97eb7a2 100644
--- a/graphics/dcmtk/Makefile
+++ b/graphics/dcmtk/Makefile
@@ -1,6 +1,7 @@
PORTNAME= dcmtk
DISTVERSIONPREFIX= ${PORTNAME:tu}-
DISTVERSION= 3.7.0
+PORTREVISION= 1
CATEGORIES= graphics devel
MAINTAINER= yuri@FreeBSD.org
@@ -48,4 +49,8 @@ CXX= ${LOCALBASE}/bin/clang++${LLVM_VER}
# tests as of 3.7.0: 100% tests passed, 0 tests failed out of 381
+# Orthanc needs access to dicom.dic and doesn't care about the dcmtk version
+post-stage:
+ ${RLN} ${STAGEDIR}${DATADIR} ${STAGEDIR}${PREFIX}/share/${PORTNAME}
+
.include <bsd.port.post.mk>
diff --git a/graphics/dcmtk/pkg-plist b/graphics/dcmtk/pkg-plist
index 63463074d1b8..cbbffe710c5c 100644
--- a/graphics/dcmtk/pkg-plist
+++ b/graphics/dcmtk/pkg-plist
@@ -1209,6 +1209,7 @@ lib/libofstd.so
lib/libofstd.so.20
lib/libofstd.so.20.%%SOVERSION%%
libdata/pkgconfig/dcmtk.pc
+share/dcmtk
%%DATADIR%%/SC.dump
%%DATADIR%%/VLP.dump
%%DATADIR%%/acrnema.dic