diff options
Diffstat (limited to 'devel/cppcheck')
-rw-r--r-- | devel/cppcheck/Makefile | 11 | ||||
-rw-r--r-- | devel/cppcheck/distinfo | 6 | ||||
-rw-r--r-- | devel/cppcheck/files/patch-CMakeLists.txt | 6 | ||||
-rw-r--r-- | devel/cppcheck/pkg-plist | 1 |
4 files changed, 12 insertions, 12 deletions
diff --git a/devel/cppcheck/Makefile b/devel/cppcheck/Makefile index 45cb692d5275..b4456d7279e0 100644 --- a/devel/cppcheck/Makefile +++ b/devel/cppcheck/Makefile @@ -1,6 +1,5 @@ PORTNAME= cppcheck -DISTVERSION= 2.17.1 -PORTREVISION= 1 +DISTVERSION= 2.18.0 CATEGORIES= devel MAINTAINER= amdmi3@FreeBSD.org @@ -12,12 +11,14 @@ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libtinyxml2.so:textproc/tinyxml2 +BUILD_DEPENDS= ${LOCALBASE}/include/boost/container/small_vector.hpp:devel/boost-libs USES= compiler:c++11-lib shebangfix tar:bzip2 USE_GITHUB= yes GH_ACCOUNT= danmar SHEBANG_FILES= htmlreport/cppcheck-htmlreport CMAKE_OFF= USE_BUNDLED_TINYXML2 +CMAKE_ON= USE_BOOST USE_QT6 PORTDATA= * @@ -32,14 +33,12 @@ RULES_USES= localbase:ldflags TEST_CMAKE_BOOL= BUILD_TESTS TEST_IMPLIES= GUI -TEST_USE= QT=testlib TEST_USES= cmake:testing TEST_USES_OFF= cmake HTMLREPORT_DESC= Install cppcheck-htmlreport HTMLREPORT_USES= python:${PYUSE:C/ /,/W} HTMLREPORT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR} -HTMLREPORT_PLIST_FILES= bin/cppcheck-htmlreport HTMLREPORT_VARS= PYUSE+=run MANPAGES_BUILD_DEPENDS= xsltproc:textproc/libxslt \ @@ -53,8 +52,8 @@ MATCHCOMPILER_VARS= PYUSE+=build GUI_DESC= Build the Qt GUI application GUI_CMAKE_BOOL= BUILD_GUI -GUI_USES= qt:5 -GUI_USE= QT=core,gui,widgets,printsupport,help,network,qmake:build,buildtools:build,linguisttools:build +GUI_USES= qt:6 +GUI_USE= QT=base,tools:build CHARTS_DESC= Enable QtCharts usage in the GUI CHARTS_CMAKE_BOOL= WITH_QCHART diff --git a/devel/cppcheck/distinfo b/devel/cppcheck/distinfo index 57c7ca83da3d..9c1081c68a98 100644 --- a/devel/cppcheck/distinfo +++ b/devel/cppcheck/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1741180144 -SHA256 (danmar-cppcheck-2.17.1_GH0.tar.gz) = bfd681868248ec03855ca7c2aea7bcb1f39b8b18860d76aec805a92a967b966c -SIZE (danmar-cppcheck-2.17.1_GH0.tar.gz) = 3872633 +TIMESTAMP = 1753039627 +SHA256 (danmar-cppcheck-2.18.0_GH0.tar.gz) = dc74e300ac59f2ef9f9c05c21d48ae4c8dd1ce17f08914dd30c738ff482e748f +SIZE (danmar-cppcheck-2.18.0_GH0.tar.gz) = 3928107 diff --git a/devel/cppcheck/files/patch-CMakeLists.txt b/devel/cppcheck/files/patch-CMakeLists.txt index 2fc3b4e15a81..52f20832d3cd 100644 --- a/devel/cppcheck/files/patch-CMakeLists.txt +++ b/devel/cppcheck/files/patch-CMakeLists.txt @@ -1,9 +1,9 @@ ---- CMakeLists.txt.orig 2025-02-26 12:56:41 UTC +--- CMakeLists.txt.orig 2025-07-20 10:15:59 UTC +++ CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.13) cmake_minimum_required(VERSION 3.13) --project(Cppcheck VERSION 2.17.1 LANGUAGES CXX) -+project(cppcheck VERSION 2.17.1 LANGUAGES CXX) +-project(Cppcheck VERSION 2.18.0 LANGUAGES CXX) ++project(cppcheck VERSION 2.18.0 LANGUAGES CXX) include(cmake/options.cmake) diff --git a/devel/cppcheck/pkg-plist b/devel/cppcheck/pkg-plist index 747f0498beb3..777711af6c0d 100644 --- a/devel/cppcheck/pkg-plist +++ b/devel/cppcheck/pkg-plist @@ -1,5 +1,6 @@ bin/cppcheck %%GUI%%bin/cppcheck-gui +%%HTMLREPORT%%bin/cppcheck-htmlreport %%GUI%%share/applications/cppcheck-gui.desktop %%GUI%%share/icons/hicolor/64x64/apps/cppcheck-gui.png %%GUI%%share/icons/hicolor/scalable/apps/cppcheck-gui.svg |