29 lines
774 B
Makefile
29 lines
774 B
Makefile
# $NetBSD: Makefile,v 1.9 2020/11/05 09:08:34 ryoon Exp $
|
|
|
|
DISTNAME= zig-0.6.0
|
|
PKGREVISION= 2
|
|
CATEGORIES= lang
|
|
MASTER_SITES= https://ziglang.org/download/${PKGVERSION_NOREV}/
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://ziglang.org/
|
|
COMMENT= Programming language designed for robustness and clarity
|
|
LICENSE= mit
|
|
|
|
USE_CMAKE= yes
|
|
USE_TOOLS+= bash:run
|
|
USE_LANGUAGES= c c++14
|
|
|
|
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
|
|
CMAKE_ARGS+= -DDESTDIR=${DESTDIR}
|
|
|
|
REPLACE_BASH+= lib/libcxxabi/src/demangle/cp-to-llvm.sh
|
|
|
|
CHECK_PORTABILITY_SKIP+= ci/azure/macos_script
|
|
BUILDLINK_TRANSFORM+= rm:-Werror
|
|
|
|
.include "../../devel/lld/buildlink3.mk"
|
|
.include "../../lang/clang/buildlink3.mk"
|
|
.include "../../lang/llvm/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|