Index: head/devel/cppcheck/Makefile =================================================================== --- head/devel/cppcheck/Makefile (revision 536646) +++ head/devel/cppcheck/Makefile (revision 536647) @@ -1,82 +1,82 @@ # Created by: Gabor Pali # $FreeBSD$ PORTNAME= cppcheck -PORTVERSION= 1.90 +PORTVERSION= 2.0 PORTREVISION?= 0 # devel/cppcheck-gui CATEGORIES= devel MAINTAINER= amdmi3@FreeBSD.org COMMENT?= Static analysis of C/C++ code LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++11-lib cmake:insource tar:bzip2 USE_GITHUB= yes GH_ACCOUNT= danmar .if defined(GUI_ONLY) COMMENT= Static analysis of C/C++ code (GUI) RUN_DEPENDS= cppcheck:devel/cppcheck CMAKE_ARGS= -DBUILD_GUI=TRUE USES+= qt:5 USE_QT= core gui widgets printsupport qmake_build buildtools_build linguisttools_build BUILD_WRKSRC= ${WRKSRC}/gui INSTALL_WRKSRC= ${WRKSRC}/gui PLIST= ${PKGDIR}/pkg-plist-gui PKGNAMESUFFIX= -gui .else USES+= shebangfix SHEBANG_FILES= htmlreport/cppcheck-htmlreport PORTDATA= * OPTIONS_DEFINE= RULES HTMLREPORT MANPAGES MATCHCOMPILER TEST OPTIONS_DEFAULT= RULES HTMLREPORT MANPAGES MATCHCOMPILER OPTIONS_SUB= yes RULES_DESC= User-defined rule support (requires PCRE) RULES_CMAKE_BOOL= HAVE_RULES RULES_LIB_DEPENDS= libpcre.so:devel/pcre RULES_USES= localbase:ldflags TEST_CMAKE_BOOL= BUILD_TESTS 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 \ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl MATCHCOMPILER_DESC= Build-time optimizations via Python MATCHCOMPILER_CMAKE_BOOL= USE_MATCHCOMPILER MATCHCOMPILER_USES= python:${PYUSE:C/ /,/W} MATCHCOMPILER_VARS= PYUSE+=build post-patch: @${REINPLACE_CMD} -e '/find_package(Qt5/ d' ${WRKSRC}/cmake/findDependencies.cmake post-install-HTMLREPORT-on: ${INSTALL_SCRIPT} ${WRKSRC}/htmlreport/cppcheck-htmlreport ${STAGEDIR}${PREFIX}/bin post-build-MANPAGES-on: cd ${WRKSRC}/man && ${LOCALBASE}/bin/xsltproc --nonet --param man.charmap.use.subset "0" \ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl cppcheck.1.xml post-install-MANPAGES-on: ${INSTALL_MAN} ${WRKSRC}/man/cppcheck.1 ${STAGEDIR}${PREFIX}/man/man1 do-test-TEST-on: cd ${WRKSRC} && ctest .endif .include Index: head/devel/cppcheck/distinfo =================================================================== --- head/devel/cppcheck/distinfo (revision 536646) +++ head/devel/cppcheck/distinfo (revision 536647) @@ -1,3 +1,3 @@ -TIMESTAMP = 1577000488 -SHA256 (danmar-cppcheck-1.90_GH0.tar.gz) = c4864d3e09359214efdd503b52e241f4f56ba7ce26f8c11939fd9dcfac1fd105 -SIZE (danmar-cppcheck-1.90_GH0.tar.gz) = 2543978 +TIMESTAMP = 1589923482 +SHA256 (danmar-cppcheck-2.0_GH0.tar.gz) = fdba69d9f8db4bbe27ee00bb88839d212b6a848372add7ad8f567236deb0f00f +SIZE (danmar-cppcheck-2.0_GH0.tar.gz) = 3086627 Index: head/devel/cppcheck/files/patch-CMakeLists.txt =================================================================== --- head/devel/cppcheck/files/patch-CMakeLists.txt (revision 536646) +++ head/devel/cppcheck/files/patch-CMakeLists.txt (revision 536647) @@ -1,8 +1,9 @@ ---- CMakeLists.txt.orig 2018-06-10 20:41:03 UTC +--- CMakeLists.txt.orig 2020-05-10 09:31:19 UTC +++ CMakeLists.txt -@@ -1,4 +1,4 @@ --project(CppCheck) +@@ -1,5 +1,5 @@ + cmake_minimum_required(VERSION 2.8.12) +-project(Cppcheck) +project(cppcheck) - cmake_minimum_required(VERSION 2.8.11) - include(GNUInstallDirs) + set(CMAKE_EXPORT_COMPILE_COMMANDS ON) + Index: head/devel/cppcheck/files/patch-cmake_versions.cmake =================================================================== --- head/devel/cppcheck/files/patch-cmake_versions.cmake (nonexistent) +++ head/devel/cppcheck/files/patch-cmake_versions.cmake (revision 536647) @@ -0,0 +1,9 @@ +--- cmake/versions.cmake.orig 2020-05-10 09:31:19 UTC ++++ cmake/versions.cmake +@@ -1,5 +1,5 @@ + # Version for libraries CPP +-SET(VERSION "2.0") ++SET(VERSION "2.0.0") + STRING(REGEX MATCHALL "[0-9]" VERSION_PARTS "${VERSION}") + LIST(GET VERSION_PARTS 0 VERSION_MAJOR) + LIST(GET VERSION_PARTS 1 VERSION_MINOR) Property changes on: head/devel/cppcheck/files/patch-cmake_versions.cmake ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property