[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / woboq_codebrowser

File: [cvs.NetBSD.org] / pkgsrc / devel / woboq_codebrowser / Makefile (download)

Revision 1.7, Wed Apr 21 11:41:31 2021 UTC (2 years, 10 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2
Changes since 1.6: +2 -2 lines

revbump for textproc/icu

# $NetBSD: Makefile,v 1.7 2021/04/21 11:41:31 adam Exp $

DISTNAME=	woboq_codebrowser-2.1
PKGREVISION=	3
CATEGORIES=	devel lang
MASTER_SITES=	${MASTER_SITE_GITHUB:=woboq/}
GITHUB_TAG=	${PKGVERSION_NOREV}
GITHUB_PROJECT=	woboq_codebrowser

MAINTAINER=	joerg@NetBSD.org
HOMEPAGE=	https://code.woboq.org/
COMMENT=	Code analysis tool
LICENSE=	cc-by-nc-sa-v3.0-license

USE_CMAKE=	yes
CMAKE_ARGS+=	-DLLVM_CONFIG_EXECUTABLE=${LLVM_CONFIG_PATH:Q} \
		-DCMAKE_BUILD_TYPE=Release

USE_TOOLS+=	pax
USE_LANGUAGES=	c c++11

INSTALLATION_DIRS+=	bin share/woboq_codebrowser

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/generator/codebrowser_generator ${DESTDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/indexgenerator/codebrowser_indexgenerator ${DESTDIR}${PREFIX}/bin
	cd ${WRKSRC}/data && pax -rwpp . ${DESTDIR}${PREFIX}/share/woboq_codebrowser

.include "../../lang/clang/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"