Port details on branch 2022Q3 |
- cppcheck Tool for static C/C++ code analysis
- 2.14.0 devel =6 2.13.4Version of this port present on the latest quarterly branch.
- Maintainer: amdmi3@FreeBSD.org
- Port Added: 2009-03-06 19:54:19
- Last Update: 2024-04-22 18:20:02
- Commit Hash: eebf369
- People watching this port, also watch:: libogg, sleuthkit, bsdstats, glib
- License: GPLv3+
- WWW:
- https://cppcheck.sourceforge.io/
- https://github.com/danmar/cppcheck
- Description:
- Cppcheck is a tool for static C/C++ code analysis. It tries to
detect bugs that your compiler does not see. It checks for: memory leaks,
mismatching allocations-deallocations, buffer overruns, and many more.
Cppcheck is versatile. You can check non-standard code that includes
various compiler extensions, inline assembly code, etc.
The goal is to have no false positives.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- cppcheck>0:devel/cppcheck
- To install the port:
- cd /usr/ports/devel/cppcheck/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/cppcheck
- pkg install cppcheck
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: cppcheck
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1713805128
SHA256 (danmar-cppcheck-2.14.0_GH0.tar.gz) = 2d2ead75db10c5993d77c8dfe854dc42b00fac65953611bb6c83e25fc74b9d50
SIZE (danmar-cppcheck-2.14.0_GH0.tar.gz) = 3716204
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- xsltproc : textproc/libxslt
- docbook.xsl : textproc/docbook-xsl
- python3.9 : lang/python39
- cmake : devel/cmake-core
- ninja : devel/ninja
- qt5-buildtools>=5.15 : devel/qt5-buildtools
- lrelease : devel/qt5-linguisttools
- qt5-qmake>=5.15 : devel/qt5-qmake
- Runtime dependencies:
-
- py39-pygments>0 : textproc/py-pygments@py39
- python3.9 : lang/python39
- Library dependencies:
-
- libtinyxml2.so : textproc/tinyxml2
- libpcre.so : devel/pcre
- libQt5Core.so : devel/qt5-core
- libQt5Gui.so : x11-toolkits/qt5-gui
- libQt5Help.so : devel/qt5-help
- libQt5Network.so : net/qt5-network
- libQt5PrintSupport.so : print/qt5-printsupport
- libQt5Widgets.so : x11-toolkits/qt5-widgets
- This port is required by:
- for Run
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- ===> The following configuration options are available for cppcheck-2.14.0:
CHARTS=off: Enable QtCharts usage in the GUI
GUI=on: Build the Qt GUI application
HTMLREPORT=on: Install cppcheck-htmlreport
MANPAGES=on: Build and/or install manual pages
MATCHCOMPILER=on: Build-time optimizations via Python
RULES=on: User-defined rule support (requires PCRE)
TEST=off: Build and/or run tests
===> Use 'make config' to modify these settings
- Options name:
- devel_cppcheck
- USES:
- compiler:c++11-lib shebangfix tar:bzip2 qt:5 python:run,build python:run,build localbase:ldflags cmake
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|