summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2016-12-27 12:16:32 +0000
committerRene Ladan <rene@FreeBSD.org>2016-12-27 12:16:32 +0000
commitfdf1402dd49ec98de17b7e3aa721b7ff57b41274 (patch)
treeb45f678ce99d7405e5138e2df351d9139076cbb4
parent- Remove bogus (in presence of USE_GITHUB) USES=tar* (diff)
devel/include-what-you-use: update to version 0.7
- now uses clang 3.9 instead of clang 3.7 - add mappings for Qt 5.4 - premilinary mapings for libc++ - bugfix in fix_incudes.py - various other fixes and enhancements - add pkg-plist PR: 215211 Submitted by: rene Approved by: maintainer timeout (koobs, 16 days)
-rw-r--r--devel/include-what-you-use/Makefile17
-rw-r--r--devel/include-what-you-use/distinfo5
-rw-r--r--devel/include-what-you-use/pkg-plist14
3 files changed, 23 insertions, 13 deletions
diff --git a/devel/include-what-you-use/Makefile b/devel/include-what-you-use/Makefile
index ebc3b13514bf..8efcabe884ec 100644
--- a/devel/include-what-you-use/Makefile
+++ b/devel/include-what-you-use/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= include-what-you-use
-PORTVERSION= 0.5
-PORTREVISION= 1
+PORTVERSION= 0.7
CATEGORIES= devel
MAINTAINER= koobs@FreeBSD.org
@@ -12,21 +11,17 @@ COMMENT= Tool for use with clang to analyze #includes in C and C++ source files
LICENSE= NCSA
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
-BUILD_DEPENDS= clang37:devel/llvm37
-RUN_DEPENDS= clang37:devel/llvm37
+BUILD_DEPENDS= clang39:devel/llvm39
+RUN_DEPENDS= clang39:devel/llvm39
BROKEN_FreeBSD_9= does not build
USES= cmake:outsource ncurses python:run
USE_GITHUB= yes
-GH_TAGNAME= clang_3.7
+GH_TAGNAME= clang_3.9
-CMAKE_ARGS+= -DIWYU_LLVM_INCLUDE_PATH=${LOCALBASE}/llvm37/include \
- -DIWYU_LLVM_LIB_PATH=${LOCALBASE}/llvm37/lib
-
-PLIST_FILES= bin/fix_includes.py \
- bin/include-what-you-use \
- bin/iwyu_tool.py
+CMAKE_ARGS+= -DIWYU_LLVM_INCLUDE_PATH=${LOCALBASE}/llvm39/include \
+ -DIWYU_LLVM_LIB_PATH=${LOCALBASE}/llvm39/lib
.include <bsd.port.mk>
diff --git a/devel/include-what-you-use/distinfo b/devel/include-what-you-use/distinfo
index 943c55c34300..70319a700b93 100644
--- a/devel/include-what-you-use/distinfo
+++ b/devel/include-what-you-use/distinfo
@@ -1,2 +1,3 @@
-SHA256 (include-what-you-use-include-what-you-use-0.5-clang_3.7_GH0.tar.gz) = d5ba65de1da9ccbe65f92e80f8d5b0563b0935be13a15c129d6dbdd9dac841a0
-SIZE (include-what-you-use-include-what-you-use-0.5-clang_3.7_GH0.tar.gz) = 404410
+TIMESTAMP = 1481367090
+SHA256 (include-what-you-use-include-what-you-use-0.7-clang_3.9_GH0.tar.gz) = 0057f48ee69ed998c77378b1cc97913c60115a2ad627ed94cf041be609bdf864
+SIZE (include-what-you-use-include-what-you-use-0.7-clang_3.9_GH0.tar.gz) = 433659
diff --git a/devel/include-what-you-use/pkg-plist b/devel/include-what-you-use/pkg-plist
new file mode 100644
index 000000000000..783755351af9
--- /dev/null
+++ b/devel/include-what-you-use/pkg-plist
@@ -0,0 +1,14 @@
+bin/fix_includes.py
+bin/include-what-you-use
+bin/iwyu_tool.py
+%%DATADIR%%/boost-all-private.imp
+%%DATADIR%%/boost-all.imp
+%%DATADIR%%/gcc.libc.imp
+%%DATADIR%%/gcc.stl.headers.imp
+%%DATADIR%%/gcc.symbols.imp
+%%DATADIR%%/iwyu.gcc.imp
+%%DATADIR%%/libcxx.imp
+%%DATADIR%%/qt4.imp
+%%DATADIR%%/qt5_4.imp
+%%DATADIR%%/stl.c.headers.imp
+%%DATADIR%%/third_party.imp