Date: Sat, 25 May 2019 16:08:53 +0000 (UTC) From: "Tobias C. Berner" <tcberner@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r502584 - in head/devel: . clazy clazy/files Message-ID: <201905251608.x4PG8re0030217@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tcberner Date: Sat May 25 16:08:52 2019 New Revision: 502584 URL: https://svnweb.freebsd.org/changeset/ports/502584 Log: New port: devel/clazy clazy is a compiler plugin which allows clang to understand Qt semantics. You get more than 50 Qt related compiler warnings, ranging from unneeded memory allocations to misusage of API, including fix-its for automatic refactoring. https://github.com/kde/clazy Added: head/devel/clazy/ head/devel/clazy/Makefile (contents, props changed) head/devel/clazy/distinfo (contents, props changed) head/devel/clazy/files/ head/devel/clazy/files/patch-CMakeLists.txt (contents, props changed) head/devel/clazy/pkg-descr (contents, props changed) head/devel/clazy/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sat May 25 16:08:30 2019 (r502583) +++ head/devel/Makefile Sat May 25 16:08:52 2019 (r502584) @@ -321,6 +321,7 @@ SUBDIR += cl-trivial-gray-streams-sbcl SUBDIR += clanlib SUBDIR += clanlib1 + SUBDIR += clazy SUBDIR += cld2 SUBDIR += clewn SUBDIR += clig Added: head/devel/clazy/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/clazy/Makefile Sat May 25 16:08:52 2019 (r502584) @@ -0,0 +1,23 @@ +# $FreeBSD$ + +PORTNAME= clazy +DISTVERSION= 1.5 +CATEGORIES= devel kde +MASTER_SITES= KDE/stable/${PORTNAME}/${DISTVERSION}/src/ + +MAINTAINER= kde@FreeBSD.org +COMMENT= Qt oriented code checker based on clang + +LICENSE= LGPL20 +LICENSE_FILE= ${WRKSRC}/COPYING-LGPL2.txt + +BUILD_DEPENDS= llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT} +RUN_DEPENDS= llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT} + +USES= cmake tar:xz + +CMAKE_ARGS= -DLLVM_ROOT=${LOCALBASE}/llvm${LLVM_DEFAULT} + +OPTIONS_DEFINE= DOCS + +.include <bsd.port.mk> Added: head/devel/clazy/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/clazy/distinfo Sat May 25 16:08:52 2019 (r502584) @@ -0,0 +1,3 @@ +TIMESTAMP = 1558796278 +SHA256 (clazy-1.5.tar.xz) = 87e37aace395e31359d4258452bbf7d1bdb5eae39e21e0dc0d80a75db8b8b779 +SIZE (clazy-1.5.tar.xz) = 352344 Added: head/devel/clazy/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/clazy/files/patch-CMakeLists.txt Sat May 25 16:08:52 2019 (r502584) @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2019-05-25 15:07:20 UTC ++++ CMakeLists.txt +@@ -178,7 +178,7 @@ if (NOT CLAZY_BUILD_WITH_CLANG) + install(FILES README.md COPYING-LGPL2.txt checks.json DESTINATION ${DOC_INSTALL_DIR}) + + # Build docs +- set(MAN_INSTALL_DIR "${SHARE_INSTALL_DIR}/man/man1") ++ set(MAN_INSTALL_DIR "man/man1") + add_subdirectory(docs) + + # rpath Added: head/devel/clazy/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/clazy/pkg-descr Sat May 25 16:08:52 2019 (r502584) @@ -0,0 +1,5 @@ +clazy is a compiler plugin which allows clang to understand Qt semantics. You +get more than 50 Qt related compiler warnings, ranging from unneeded memory +allocations to misusage of API, including fix-its for automatic refactoring. + +WWW: https://github.com/KDE/clazy Added: head/devel/clazy/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/clazy/pkg-plist Sat May 25 16:08:52 2019 (r502584) @@ -0,0 +1,87 @@ +bin/clazy +bin/clazy-standalone +lib/ClazyPlugin.so +%%PORTDOCS%%%%DOCSDIR%%/COPYING-LGPL2.txt +%%PORTDOCS%%%%DOCSDIR%%/README.md +%%PORTDOCS%%%%DOCSDIR%%/checks.json +%%PORTDOCS%%%%DOCSDIR%%/level0/README-connect-by-name.md +%%PORTDOCS%%%%DOCSDIR%%/level0/README-connect-non-signal.md +%%PORTDOCS%%%%DOCSDIR%%/level0/README-connect-not-normalized.md +%%PORTDOCS%%%%DOCSDIR%%/level0/README-container-anti-pattern.md +%%PORTDOCS%%%%DOCSDIR%%/level0/README-empty-qstringliteral.md +%%PORTDOCS%%%%DOCSDIR%%/level0/README-fully-qualified-moc-types.md +%%PORTDOCS%%%%DOCSDIR%%/level0/README-lambda-in-connect.md +%%PORTDOCS%%%%DOCSDIR%%/level0/README-lambda-unique-connection.md +%%PORTDOCS%%%%DOCSDIR%%/level0/README-lowercase-qml-type-name.md +%%PORTDOCS%%%%DOCSDIR%%/level0/README-mutable-container-key.md +%%PORTDOCS%%%%DOCSDIR%%/level0/README-qcolor-from-literal.md +%%PORTDOCS%%%%DOCSDIR%%/level0/README-qdatetime-utc.md +%%PORTDOCS%%%%DOCSDIR%%/level0/README-qenums.md +%%PORTDOCS%%%%DOCSDIR%%/level0/README-qfileinfo-exists.md +%%PORTDOCS%%%%DOCSDIR%%/level0/README-qgetenv.md +%%PORTDOCS%%%%DOCSDIR%%/level0/README-qmap-with-pointer-key.md +%%PORTDOCS%%%%DOCSDIR%%/level0/README-qstring-arg.md +%%PORTDOCS%%%%DOCSDIR%%/level0/README-qstring-insensitive-allocation.md +%%PORTDOCS%%%%DOCSDIR%%/level0/README-qstring-ref.md +%%PORTDOCS%%%%DOCSDIR%%/level0/README-qt-macros.md +%%PORTDOCS%%%%DOCSDIR%%/level0/README-qvariant-template-instantiation.md +%%PORTDOCS%%%%DOCSDIR%%/level0/README-strict-iterators.md +%%PORTDOCS%%%%DOCSDIR%%/level0/README-temporary-iterator.md +%%PORTDOCS%%%%DOCSDIR%%/level0/README-unused-non-trivial-variable.md +%%PORTDOCS%%%%DOCSDIR%%/level0/README-writing-to-temporary.md +%%PORTDOCS%%%%DOCSDIR%%/level0/README-wrong-qevent-cast.md +%%PORTDOCS%%%%DOCSDIR%%/level0/README-wrong-qglobalstatic.md +%%PORTDOCS%%%%DOCSDIR%%/level1/README-auto-unexpected-qstringbuilder.md +%%PORTDOCS%%%%DOCSDIR%%/level1/README-child-event-qobject-cast.md +%%PORTDOCS%%%%DOCSDIR%%/level1/README-connect-3arg-lambda.md +%%PORTDOCS%%%%DOCSDIR%%/level1/README-const-signal-or-slot.md +%%PORTDOCS%%%%DOCSDIR%%/level1/README-detaching-temporary.md +%%PORTDOCS%%%%DOCSDIR%%/level1/README-foreach.md +%%PORTDOCS%%%%DOCSDIR%%/level1/README-incorrect-emit.md +%%PORTDOCS%%%%DOCSDIR%%/level1/README-inefficient-qlist-soft.md +%%PORTDOCS%%%%DOCSDIR%%/level1/README-install-event-filter.md +%%PORTDOCS%%%%DOCSDIR%%/level1/README-non-pod-global-static.md +%%PORTDOCS%%%%DOCSDIR%%/level1/README-overridden-signal.md +%%PORTDOCS%%%%DOCSDIR%%/level1/README-post-event.md +%%PORTDOCS%%%%DOCSDIR%%/level1/README-qdeleteall.md +%%PORTDOCS%%%%DOCSDIR%%/level1/README-qhash-namespace.md +%%PORTDOCS%%%%DOCSDIR%%/level1/README-qlatin1string-non-ascii.md +%%PORTDOCS%%%%DOCSDIR%%/level1/README-qproperty-without-notify.md +%%PORTDOCS%%%%DOCSDIR%%/level1/README-qstring-left.md +%%PORTDOCS%%%%DOCSDIR%%/level1/README-range-loop.md +%%PORTDOCS%%%%DOCSDIR%%/level1/README-returning-data-from-temporary.md +%%PORTDOCS%%%%DOCSDIR%%/level1/README-rule-of-two-soft.md +%%PORTDOCS%%%%DOCSDIR%%/level1/README-skipped-base-method.md +%%PORTDOCS%%%%DOCSDIR%%/level1/README-virtual-signal.md +%%PORTDOCS%%%%DOCSDIR%%/level2/README-base-class-event.md +%%PORTDOCS%%%%DOCSDIR%%/level2/README-copyable-polymorphic.md +%%PORTDOCS%%%%DOCSDIR%%/level2/README-ctor-missing-parent-argument.md +%%PORTDOCS%%%%DOCSDIR%%/level2/README-function-args-by-ref.md +%%PORTDOCS%%%%DOCSDIR%%/level2/README-function-args-by-value.md +%%PORTDOCS%%%%DOCSDIR%%/level2/README-global-const-char-pointer.md +%%PORTDOCS%%%%DOCSDIR%%/level2/README-implicit-casts.md +%%PORTDOCS%%%%DOCSDIR%%/level2/README-missing-qobject-macro.md +%%PORTDOCS%%%%DOCSDIR%%/level2/README-missing-typeinfo.md +%%PORTDOCS%%%%DOCSDIR%%/level2/README-old-style-connect.md +%%PORTDOCS%%%%DOCSDIR%%/level2/README-qstring-allocations.md +%%PORTDOCS%%%%DOCSDIR%%/level2/README-returning-void-expression.md +%%PORTDOCS%%%%DOCSDIR%%/level2/README-rule-of-three.md +%%PORTDOCS%%%%DOCSDIR%%/level2/README-static-pmf.md +%%PORTDOCS%%%%DOCSDIR%%/level2/README-virtual-call-ctor.md +%%PORTDOCS%%%%DOCSDIR%%/level3/README-assert-with-side-effects.md +%%PORTDOCS%%%%DOCSDIR%%/level3/README-detaching-member.md +%%PORTDOCS%%%%DOCSDIR%%/level3/README-reserve-candidates.md +%%PORTDOCS%%%%DOCSDIR%%/level3/README-thread-with-slots.md +%%PORTDOCS%%%%DOCSDIR%%/level3/README-unneeded-cast.md +%%PORTDOCS%%%%DOCSDIR%%/manuallevel/README-container-inside-loop.md +%%PORTDOCS%%%%DOCSDIR%%/manuallevel/README-ifndef-define-typo.md +%%PORTDOCS%%%%DOCSDIR%%/manuallevel/README-inefficient-qlist.md +%%PORTDOCS%%%%DOCSDIR%%/manuallevel/README-isempty-vs-count.md +%%PORTDOCS%%%%DOCSDIR%%/manuallevel/README-qhash-with-char-pointer-key.md +%%PORTDOCS%%%%DOCSDIR%%/manuallevel/README-qrequiredresult-candidates.md +%%PORTDOCS%%%%DOCSDIR%%/manuallevel/README-qstring-varargs.md +%%PORTDOCS%%%%DOCSDIR%%/manuallevel/README-qt-keywords.md +%%PORTDOCS%%%%DOCSDIR%%/manuallevel/README-qt4-qstring-from-array.md +%%PORTDOCS%%%%DOCSDIR%%/manuallevel/README-raw-environment-function.md +%%PORTDOCS%%%%DOCSDIR%%/manuallevel/README-tr-non-literal.md +man/man1/clazy.1.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905251608.x4PG8re0030217>