pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

clang-static-analyzer: add 3.8.0rc1 package



Module Name:	pkgsrc-wip
Committed By:	Tobias Nygren <tnn%NetBSD.org@localhost>
Pushed By:	tnn
Date:		Mon Feb 22 23:19:28 2016 +0100
Changeset:	0d7c32064120d66de48333d0451dfb896926fd31

Modified Files:
	Makefile
Added Files:
	clang-static-analyzer/DESCR
	clang-static-analyzer/Makefile
	clang-static-analyzer/PLIST

Log Message:
clang-static-analyzer: add 3.8.0rc1 package

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0d7c32064120d66de48333d0451dfb896926fd31

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                       |  1 +
 clang-static-analyzer/DESCR    |  9 +++++++++
 clang-static-analyzer/Makefile | 19 +++++++++++++++++++
 clang-static-analyzer/PLIST    | 14 ++++++++++++++
 4 files changed, 43 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index ee84a86..d590fc1 100644
--- a/Makefile
+++ b/Makefile
@@ -350,6 +350,7 @@ SUBDIR+=	cl-who
 SUBDIR+=	clamassassin
 SUBDIR+=	clang
 SUBDIR+=	clang-git
+SUBDIR+=	clang-static-analyzer
 SUBDIR+=	clang-static-analyzer-git
 SUBDIR+=	classgen
 SUBDIR+=	classias
diff --git a/clang-static-analyzer/DESCR b/clang-static-analyzer/DESCR
new file mode 100644
index 0000000..c1dca52
--- /dev/null
+++ b/clang-static-analyzer/DESCR
@@ -0,0 +1,9 @@
+The Clang Static Analyzer is a source code analysis tool that finds
+bugs in C, C++, and Objective-C programs.
+
+The standalone tool is invoked from the command line, and is intended
+to be run in tandem with a build of a codebase.
+
+The analyzer is 100% open source and is part of the Clang project.
+Like the rest of Clang, the analyzer is implemented as a C++ library
+that can be used by other tools and applications
diff --git a/clang-static-analyzer/Makefile b/clang-static-analyzer/Makefile
new file mode 100644
index 0000000..6551555
--- /dev/null
+++ b/clang-static-analyzer/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+PKGNAME=	${DISTNAME:S/cfe/clang-static-analyzer/:S/.src//}
+
+DEPENDS+=	clang-${PKGVERSION_NOREV}{,nb*}:../../wip/clang
+
+USE_TOOLS+=	perl:run
+
+BUILD_TARGET=	clang-check scan-build scan-view
+
+INSTALL_DIRS=	../build/tools/clang-check ../build/tools/scan-build ../build/tools/scan-view
+
+CMAKE_ARGS+=	-DCLANG_ENABLE_STATIC_ANALYZER=ON
+
+REPLACE_PYTHON=	# defined
+PYTHON_VERSIONS_INCOMPATIBLE=	33 34 35 # not yet ported as of 3.5
+
+.include "../../lang/python/application.mk"
+.include "../../wip/clang/Makefile.common"
diff --git a/clang-static-analyzer/PLIST b/clang-static-analyzer/PLIST
new file mode 100644
index 0000000..38c0d89
--- /dev/null
+++ b/clang-static-analyzer/PLIST
@@ -0,0 +1,14 @@
+bin/clang-check
+bin/scan-build
+bin/scan-view
+libexec/c++-analyzer
+libexec/ccc-analyzer
+man/man1/scan-build.1
+share/scan-build/scanview.css
+share/scan-build/sorttable.js
+share/scan-view/FileRadar.scpt
+share/scan-view/GetRadarVersion.scpt
+share/scan-view/Reporter.py
+share/scan-view/ScanView.py
+share/scan-view/bugcatcher.ico
+share/scan-view/startfile.py


Home | Main Index | Thread Index | Old Index