git: 85decb1172ba - main - lang/cling: Install more stuff

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Wed, 07 Oct 2026 13:16:30 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=85decb1172ba7c9855c92f24248154e5fb8ec5ef

commit 85decb1172ba7c9855c92f24248154e5fb8ec5ef
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-10-07 13:15:32 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-10-07 13:16:24 +0000

    lang/cling: Install more stuff
    
    PR:             299000
    Co-authored-by: Yuri Victorovich <yuri@freebsd.org>
---
 lang/cling/Makefile  | 14 +++++++++-
 lang/cling/pkg-plist | 78 ++++++++++++++++++++++++++++++++++------------------
 2 files changed, 65 insertions(+), 27 deletions(-)

diff --git a/lang/cling/Makefile b/lang/cling/Makefile
index 4ec6721e6427..c2a24fd592d8 100644
--- a/lang/cling/Makefile
+++ b/lang/cling/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=		cling
 DISTVERSIONPREFIX=	v
 DISTVERSION=		1.3
+PORTREVISION=		1
 CATEGORIES=		lang devel
 
 MAINTAINER=		arrowd@FreeBSD.org
@@ -25,7 +26,8 @@ CMAKE_ARGS=	-DLLVM_EXTERNAL_PROJECTS=cling \
 		-DLLVM_TARGETS_TO_BUILD="host;NVPTX"
 
 ALL_TARGET=	cling
-INSTALL_TARGET=	install-clang-resource-headers
+INSTALL_TARGET=	install-clang-resource-headers \
+		install-cling-cmake-exports-stripped
 
 .include <bsd.port.pre.mk>
 
@@ -50,5 +52,15 @@ post-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/include/cling
 	cd ${WRKSRC}/include/cling && \
 		${COPYTREE_SHARE} Interpreter ${STAGEDIR}${PREFIX}/include/cling
+	cd ${WRKSRC}/include/cling && \
+		${COPYTREE_SHARE} MetaProcessor ${STAGEDIR}${PREFIX}/include/cling
+	cd ${WRKSRC}/include/cling && \
+		${COPYTREE_SHARE} UserInterface ${STAGEDIR}${PREFIX}/include/cling
+	cd ${WRKSRC}/include/cling && \
+		${COPYTREE_SHARE} Utils ${STAGEDIR}${PREFIX}/include/cling
+	${INSTALL_DATA} ${BUILD_WRKSRC}/lib/libclingInterpreter.a ${STAGEDIR}${PREFIX}/lib/
+	${INSTALL_DATA} ${BUILD_WRKSRC}/lib/libclingMetaProcessor.a ${STAGEDIR}${PREFIX}/lib/
+	${INSTALL_DATA} ${BUILD_WRKSRC}/lib/libclingUserInterface.a ${STAGEDIR}${PREFIX}/lib/
+	${INSTALL_DATA} ${BUILD_WRKSRC}/lib/libclingUtils.a ${STAGEDIR}${PREFIX}/lib/
 
 .include <bsd.port.post.mk>
diff --git a/lang/cling/pkg-plist b/lang/cling/pkg-plist
index a762b524227d..c40099e484aa 100644
--- a/lang/cling/pkg-plist
+++ b/lang/cling/pkg-plist
@@ -1,30 +1,4 @@
 bin/cling
-include/cling/Interpreter/AutoloadCallback.h
-include/cling/Interpreter/CIFactory.h
-include/cling/Interpreter/CMakeLists.txt
-include/cling/Interpreter/CValuePrinter.h
-include/cling/Interpreter/ClangInternalState.h
-include/cling/Interpreter/ClingCodeCompleteConsumer.h
-include/cling/Interpreter/ClingOptions.h
-include/cling/Interpreter/ClingOptions.td
-include/cling/Interpreter/CompilationOptions.h
-include/cling/Interpreter/DynamicExprInfo.h
-include/cling/Interpreter/DynamicLibraryManager.h
-include/cling/Interpreter/DynamicLookupLifetimeHandler.h
-include/cling/Interpreter/DynamicLookupRuntimeUniverse.h
-include/cling/Interpreter/Exception.h
-include/cling/Interpreter/IncrementalCUDADeviceCompiler.h
-include/cling/Interpreter/Interpreter.h
-include/cling/Interpreter/InterpreterAccessRAII.h
-include/cling/Interpreter/InterpreterCallbacks.h
-include/cling/Interpreter/InvocationOptions.h
-include/cling/Interpreter/LookupHelper.h
-include/cling/Interpreter/RuntimeOptions.h
-include/cling/Interpreter/RuntimePrintValue.h
-include/cling/Interpreter/RuntimeUniverse.h
-include/cling/Interpreter/Transaction.h
-include/cling/Interpreter/Value.h
-include/cling/Interpreter/Visibility.h
 cling/lib/clang/20/include/__clang_cuda_builtin_vars.h
 cling/lib/clang/20/include/__clang_cuda_cmath.h
 cling/lib/clang/20/include/__clang_cuda_complex_builtins.h
@@ -285,9 +259,61 @@ cling/lib/clang/20/include/xsavesintrin.h
 cling/lib/clang/20/include/xtestintrin.h
 cling/lib/clang/20/include/yvals_core.h
 cling/lib/clang/20/include/zos_wrappers/builtins.h
+include/cling/Interpreter/AutoloadCallback.h
+include/cling/Interpreter/CIFactory.h
+include/cling/Interpreter/CMakeLists.txt
+include/cling/Interpreter/CValuePrinter.h
+include/cling/Interpreter/ClangInternalState.h
+include/cling/Interpreter/ClingCodeCompleteConsumer.h
+include/cling/Interpreter/ClingOptions.h
+include/cling/Interpreter/ClingOptions.td
+include/cling/Interpreter/CompilationOptions.h
+include/cling/Interpreter/DynamicExprInfo.h
+include/cling/Interpreter/DynamicLibraryManager.h
+include/cling/Interpreter/DynamicLookupLifetimeHandler.h
+include/cling/Interpreter/DynamicLookupRuntimeUniverse.h
+include/cling/Interpreter/Exception.h
+include/cling/Interpreter/IncrementalCUDADeviceCompiler.h
+include/cling/Interpreter/Interpreter.h
+include/cling/Interpreter/InterpreterAccessRAII.h
+include/cling/Interpreter/InterpreterCallbacks.h
+include/cling/Interpreter/InvocationOptions.h
+include/cling/Interpreter/LookupHelper.h
+include/cling/Interpreter/RuntimeOptions.h
+include/cling/Interpreter/RuntimePrintValue.h
+include/cling/Interpreter/RuntimeUniverse.h
+include/cling/Interpreter/Transaction.h
+include/cling/Interpreter/Value.h
+include/cling/Interpreter/Visibility.h
+include/cling/MetaProcessor/Display.h
+include/cling/MetaProcessor/InputValidator.h
+include/cling/MetaProcessor/MetaLexer.h
+include/cling/MetaProcessor/MetaParser.h
+include/cling/MetaProcessor/MetaProcessor.h
+include/cling/MetaProcessor/MetaSema.h
+include/cling/UserInterface/UserInterface.h
+include/cling/Utils/AST.h
+include/cling/Utils/Casting.h
+include/cling/Utils/Diagnostics.h
+include/cling/Utils/OrderedMap.h
+include/cling/Utils/Output.h
+include/cling/Utils/ParserStateRAII.h
+include/cling/Utils/Paths.h
+include/cling/Utils/Platform.h
+include/cling/Utils/SourceNormalization.h
+include/cling/Utils/UTF8.h
+include/cling/Utils/Utils.h
+include/cling/Utils/Validation.h
+lib/cmake/cling/ClingConfig.cmake
+lib/cmake/cling/ClingTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/cling/ClingTargets.cmake
 lib/libcling.so
 lib/libcling.so.20.1
 lib/libclingDemoPlugin.so
 lib/libclingDemoPlugin.so.20.1
+lib/libclingInterpreter.a
 lib/libclingJupyter.so
 lib/libclingJupyter.so.20.1
+lib/libclingMetaProcessor.a
+lib/libclingUserInterface.a
+lib/libclingUtils.a