blob: 856ea6108d9e910d8763166d6fddae9db50a3f67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$
PORTNAME= include-what-you-use
PORTVERSION= 0.10
CATEGORIES= devel
MAINTAINER= koobs@FreeBSD.org
COMMENT= Tool for use with clang to analyze #includes in C and C++ source files
LICENSE= NCSA
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
BUILD_DEPENDS= clang60:devel/llvm60
RUN_DEPENDS= clang60:devel/llvm60
USES= cmake ncurses python:run shebangfix
USE_GITHUB= yes
SHEBANG_FILES= fix_includes.py \
iwyu_tool.py
GH_TAGNAME= clang_6.0
CMAKE_ARGS+= -DIWYU_LLVM_INCLUDE_PATH=${LOCALBASE}/llvm60/include \
-DIWYU_LLVM_LIB_PATH=${LOCALBASE}/llvm60/lib
.include <bsd.port.mk>
|