Lines 2-9
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= include-what-you-use |
4 |
PORTNAME= include-what-you-use |
5 |
PORTVERSION= 0.7 |
5 |
PORTVERSION= 0.8 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= devel |
6 |
CATEGORIES= devel |
8 |
|
7 |
|
9 |
MAINTAINER= koobs@FreeBSD.org |
8 |
MAINTAINER= koobs@FreeBSD.org |
Lines 12-31
COMMENT= Tool for use with clang to anal
Link Here
|
12 |
LICENSE= NCSA |
11 |
LICENSE= NCSA |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT |
14 |
|
13 |
|
15 |
BUILD_DEPENDS= clang39:devel/llvm39 |
|
|
16 |
RUN_DEPENDS= clang39:devel/llvm39 |
17 |
|
18 |
BROKEN_powerpc64= fails to compile: cc1plus: unrecognized command line option "-std=c++11" |
14 |
BROKEN_powerpc64= fails to compile: cc1plus: unrecognized command line option "-std=c++11" |
19 |
|
15 |
|
|
|
16 |
BUILD_DEPENDS= clang40:devel/llvm40 |
17 |
RUN_DEPENDS= clang40:devel/llvm40 |
18 |
|
20 |
USES= cmake:outsource ncurses python:run shebangfix |
19 |
USES= cmake:outsource ncurses python:run shebangfix |
21 |
USE_GITHUB= yes |
20 |
USE_GITHUB= yes |
22 |
|
21 |
|
23 |
SHEBANG_FILES= fix_includes.py \ |
22 |
SHEBANG_FILES= fix_includes.py \ |
24 |
iwyu_tool.py |
23 |
iwyu_tool.py |
25 |
|
24 |
|
26 |
GH_TAGNAME= clang_3.9 |
25 |
GH_TAGNAME= clang_4.0 |
27 |
|
26 |
|
28 |
CMAKE_ARGS+= -DIWYU_LLVM_INCLUDE_PATH=${LOCALBASE}/llvm39/include \ |
27 |
CMAKE_ARGS+= -DIWYU_LLVM_INCLUDE_PATH=${LOCALBASE}/llvm40/include \ |
29 |
-DIWYU_LLVM_LIB_PATH=${LOCALBASE}/llvm39/lib |
28 |
-DIWYU_LLVM_LIB_PATH=${LOCALBASE}/llvm40/lib |
30 |
|
29 |
|
31 |
.include <bsd.port.mk> |
30 |
.include <bsd.port.mk> |