pkgsrc/devel/include-what-you-use/Makefile
adam edb39a46c5 include-what-you-use: updated to 0.9
0.9:
Added compatibility with Clang 5.0.
2018-02-06 10:01:36 +00:00

25 lines
693 B
Makefile

# $NetBSD: Makefile,v 1.13 2018/02/06 10:01:36 adam Exp $
DISTNAME= include-what-you-use-0.9.src
PKGNAME= ${DISTNAME:.src=}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=include-what-you-use/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://include-what-you-use.org/
COMMENT= Analyze \#includes in C and C++ source files
LICENSE= modified-bsd
GITHUB_TAG= clang_5.0
WRKSRC= ${WRKDIR}/include-what-you-use-${GITHUB_TAG}
USE_CMAKE= yes
USE_LANGUAGES= c c++
CMAKE_ARGS= -DIWYU_LLVM_ROOT_PATH:PATH=${BUILDLINK_PREFIX.clang}
GCC_REQD+= 4.8
REPLACE_PYTHON= *.py
.include "../../lang/clang/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"