blob: b9c5d1428a8e48be1ab1a34b64ce3cdf2fd91e4a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
PORTNAME= include-what-you-use
PORTVERSION= 0.21
CATEGORIES= devel
MAINTAINER= bofh@FreeBSD.org
COMMENT= Tool for use with clang to analyze \#includes in C and C++ source files
WWW= https://include-what-you-use.org
LICENSE= NCSA
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
USES= cmake llvm:${LLVM_VER},build,run ncurses python:3.8,run shebangfix
USE_GITHUB= yes
SHEBANG_FILES= fix_includes.py \
iwyu_tool.py
CMAKE_ARGS+= -DLLVM_DIR=${LOCALBASE}/llvm${LLVM_VER}/lib/cmake/llvm \
-DClang_DIR=${LOCALBASE}/llvm${LLVM_VER}/lib/cmake/clang
LLVM_VER= 17
.include <bsd.port.mk>
|