git: 57537ad6cea0 - main - devel/cppinsights: New port: C++ Insights - See your source code with the eyes of a compiler
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 19 Oct 2024 11:23:38 UTC
The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=57537ad6cea08e3d16cd67b1280b5723be42d08a commit 57537ad6cea08e3d16cd67b1280b5723be42d08a Author: Martin Filla <freebsd@sysctl.cz> AuthorDate: 2024-10-19 11:17:00 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-10-19 11:23:14 +0000 devel/cppinsights: New port: C++ Insights - See your source code with the eyes of a compiler C++ Insights is a Clang-based tool that does a source-to-source transformation. The goal of C++ Insights is to make things visible that normally and intentionally happen behind the scenes.It's about the magic the compiler does for us to make things work. https://github.com/andreasfertig/cppinsights https://cppinsights.io PR: 278197 --- devel/Makefile | 1 + devel/cppinsights/Makefile | 21 +++++++++++++++++++++ devel/cppinsights/distinfo | 3 +++ devel/cppinsights/pkg-descr | 4 ++++ 4 files changed, 29 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 2d89167d975f..8a13bd400ae0 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -487,6 +487,7 @@ SUBDIR += cpp2py SUBDIR += cppcheck SUBDIR += cppi + SUBDIR += cppinsights SUBDIR += cpplint SUBDIR += cpprestsdk SUBDIR += cpptest diff --git a/devel/cppinsights/Makefile b/devel/cppinsights/Makefile new file mode 100644 index 000000000000..e3c1159e56c6 --- /dev/null +++ b/devel/cppinsights/Makefile @@ -0,0 +1,21 @@ +PORTNAME= cppinsights +DISTVERSIONPREFIX= v_ +DISTVERSION= 17.0 +CATEGORIES= devel + +MAINTAINER= freebsd@sysctl.cz +COMMENT= C++ Insights - See your source code with the eyes of a compiler +WWW= https://github.com/andreasfertig/cppinsights + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake llvm:min=17,lib +USE_GITHUB= yes +GH_ACCOUNT= andreasfertig + +CMAKE_ARGS= -DLLVM_CONFIG_PATH="${LOCALBASE}/llvm${LLVM_VERSION}/bin/llvm-config" + +PLIST_FILES= bin/insights + +.include <bsd.port.mk> diff --git a/devel/cppinsights/distinfo b/devel/cppinsights/distinfo new file mode 100644 index 000000000000..1fb7ac63e475 --- /dev/null +++ b/devel/cppinsights/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1712407492 +SHA256 (andreasfertig-cppinsights-v_17.0_GH0.tar.gz) = 2dd6bcfcdba65c0ed2e1f04ef79d57285186871ad8bd481d63269f3115276216 +SIZE (andreasfertig-cppinsights-v_17.0_GH0.tar.gz) = 331667 diff --git a/devel/cppinsights/pkg-descr b/devel/cppinsights/pkg-descr new file mode 100644 index 000000000000..81c404d70ca4 --- /dev/null +++ b/devel/cppinsights/pkg-descr @@ -0,0 +1,4 @@ +C++ Insights is a Clang-based tool that does a source-to-source transformation. +The goal of C++ Insights is to make things visible that normally and +intentionally happen behind the scenes.It's about the magic the compiler does +for us to make things work.