mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
df40aa7980
Testport complains of orphans, so add these two @dir entries; the directories are empty and I don't actually see where they are created. Bumping PORTREVISION because the package changes (directories). While here, sort pkg-plist a little.
29 lines
802 B
Makefile
29 lines
802 B
Makefile
PORTNAME= zig
|
|
DISTVERSION= 0.7.1
|
|
PORTREVISION= 2
|
|
CATEGORIES= lang
|
|
MASTER_SITES= https://ziglang.org/download/${DISTVERSION}/ \
|
|
https://ziglang.org/builds/
|
|
|
|
MAINTAINER= dch@FreeBSD.org
|
|
COMMENT= Language designed for robustness, optimality, and maintainability
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BROKEN_i386= static_assert failed "static_assert(sizeof(ZigClangAPValue) == sizeof(clang::APValue), "")"
|
|
IGNORE_FreeBSD_11= expects getrandom(2) which is unavailable on FreeBSD < 12.0
|
|
|
|
_LLVM_VER= 11
|
|
BUILD_DEPENDS= llvm${_LLVM_VER}>=0:devel/llvm${_LLVM_VER}
|
|
|
|
USES= cmake compiler:c++11-lang tar:xz
|
|
|
|
OPTIONS_DEFINE= STATIC
|
|
OPTIONS_DEFAULT= STATIC
|
|
|
|
STATIC_RUN_DEPENDS_OFF= llvm${_LLVM_VER}>=0:devel/llvm${_LLVM_VER}
|
|
STATIC_CMAKE_BOOL= CMAKE_SKIP_INSTALL_RPATH ZIG_STATIC
|
|
|
|
.include <bsd.port.mk>
|