Port details |
- cppcheck Tool for static C/C++ code analysis
- 2.16.2 devel
=8 2.16.2Version of this port present on the latest quarterly branch. - Maintainer: amdmi3@FreeBSD.org
 - Port Added: 2009-03-06 19:54:19
- Last Update: 2024-12-23 20:46:04
- Commit Hash: 2bccb8c
- People watching this port, also watch:: libmatroska, sleuthkit, vlc, openvpn, subversion
- 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 = 1734970676
SHA256 (danmar-cppcheck-2.16.2_GH0.tar.gz) = 521b996cb56b0c30f89e022abcb50aef85d7219cb7a7162fa81fe40fe6394206
SIZE (danmar-cppcheck-2.16.2_GH0.tar.gz) = 3846122
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.11 : lang/python311
- 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:
-
- py311-pygments>0 : textproc/py-pygments@py311
- python3.11 : lang/python311
- 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.16.2:
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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.56 13 Sep 2012 04:16:05
  |
bf  |
update to 1.56 |
1.55 07 Jul 2012 18:04:52
 |
bf  |
update to 1.55 |
1.54 19 Apr 2012 03:35:35
 |
bf  |
update to 1.54 |
1.53_1 14 Feb 2012 12:45:35
 |
mm  |
Bump pcre library dependency due to 8.30 update |
1.53 12 Feb 2012 21:23:35
 |
bf  |
update to 1.53 |
1.52 11 Dec 2011 05:44:54
 |
bf  |
update to 1.52; don't build or install the manpage if
NOPORTDOCS is defined
Feature safe: yes |
1.51 11 Oct 2011 13:40:29
 |
bf  |
update to 1.51 |
1.50_1 23 Sep 2011 22:26:39
 |
amdmi3  |
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead
PR: 157936
Submitted by: myself
Exp-runs by: pav
Approved by: pav |
1.50_1 17 Sep 2011 16:19:05
 |
bf  |
fix a build problem by switching from the bundled tinyxml to textproc/tinyxml
Submitted by: kevlo (slightly different patch) |
1.50 19 Aug 2011 17:02:22
 |
bf  |
update to 1.50 |
1.49 22 Jun 2011 15:00:49
 |
bf  |
update to 1.49
PR: 157813
Submitted by: Jin-Sih Lin <linpct@gmail.com> |
1.48 13 Apr 2011 00:52:15
 |
bf  |
Update to 1.48, add LICENSE |
1.47 26 Mar 2011 01:39:07
 |
bf  |
Remove addition of CPPFLAGS to CONFIGURE_ENV
in port Makefiles, and MD5 entries in distinfo |
1.47 08 Feb 2011 01:03:19
 |
bf  |
Update to 1.47
Approved by: makc, miwi (mentors, implicit)
Feature safe: yes |
1.46.1 30 Dec 2010 10:52:22
 |
bf  |
update to 1.46.1
Approved by: makc, miwi (mentors, implicit) |
1.45 05 Oct 2010 00:03:42
 |
bf  |
Update to 1.45
Approved by: makc, miwi (co-mentors, implicit) |
1.44 06 Aug 2010 18:03:54
 |
bf  |
update to 1.44
Approved by: makc |
1.43 11 Jun 2010 14:19:59
 |
pgj  |
- Pass maintainership to bf@ |
1.43 20 May 2010 23:47:57
 |
pgj  |
- Update to 1.43 |
1.42 14 Mar 2010 09:09:40
 |
pgj  |
- Update to 1.42 |
1.40 19 Jan 2010 11:49:14
 |
pgj  |
- Update to 1.40
PR: ports/142953
Submitted by: bf <bf1783#gmail.com> |
1.39 15 Dec 2009 19:53:02
 |
pgj  |
- Update to 1.39
PR: ports/141456
Submitted by: bf <bf1783(at)gmail.com> |
1.38 01 Nov 2009 21:23:30
 |
pgj  |
- Update to 1.38 |
1.37 25 Sep 2009 12:41:48
 |
pgj  |
- Update to 1.37
PR: ports/139082
Submitted by: bf <bf1783 (at) gmail (dot) com>
Feature safe: yes |
1.35 24 Aug 2009 17:54:06
 |
pgj  |
- Update to 1.35
- Add thread flags
- Fix sourceforge
PR: ports/137860
Submitted by: bf <bf1783 (at) gmail (dot) com>
Approved by: tabthorpe (mentor, implicit) |
1.34 17 Jul 2009 11:12:40
 |
pgj  |
- Update to 1.34
PR: ports/136830
Submitted by: bf <bf1783 (at) gmail (dot) com>
Approved by: tabthorpe (mentor, implicit) |
1.33 14 Jun 2009 01:34:08
 |
pgj  |
- Update to 1.33
Approved by: tabthorpe (mentor, implicit) |
1.32 18 May 2009 15:24:50
 |
pgj  |
- Update to 1.32
Approved by: tabthorpe (mentor) |
1.31 22 Apr 2009 12:40:15
 |
pgj  |
- Update to 1.31
- Respect NO_INSTALL_MAN_PAGES, CXX
- Add "regression-test" target for regression testing
- Switch to bzip2
PR: ports/133749
Submitted by: bf <bf2006a (at) yahoo (dot) com>
Approved by: tabthorpe (mentor) |
1.30 11 Mar 2009 09:16:14
 |
pgj  |
- Update to 1.30
- Respect CXXFLAGS
Approved by: tabthorpe |
1.29 06 Mar 2009 19:53:54
 |
pgj  |
Cppcheck is a tool for static C/C++ code analysis, and it tries to
detect bugs that your compiler do not see. Checks for: memory leaks,
mismatching allocation-deallocation, buffer overrun, and many more.
Cppcheck is versatile. You can check non-standard code that includes
various compiler extensions, inline assembly code, etc.
The goal is no false positives.
WWW: http://sourceforge.net/projects/cppcheck
Approved by: tabthorpe |