1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

lang/zig-devel: remove port after 28238a95a3

PR:		279702
Approved by:	bsd@orsolic.org (maintainer)
This commit is contained in:
Jan Beich 2024-06-13 20:56:38 +02:00
parent c2a73f6beb
commit 674b0ae1a2
9 changed files with 3 additions and 13001 deletions

1
MOVED
View File

@ -3306,3 +3306,4 @@ lang/zig011||2024-06-12|No consumers in ports
devel/py-ZopeUndo||2024-06-13|No consumers in ports
multimedia/audacious-qt6|multimedia/audacious|2024-06-13|qt6 flavor is now the default flavor, following upstream change
multimedia/audacious-plugins-qt6|multimedia/audacious-plugins|2024-06-13|qt6 flavor is now the default flavor, following upstream change
lang/zig-devel||2024-06-13|Older than lang/zig and no consumers in ports

View File

@ -391,7 +391,6 @@
SUBDIR += ypsilon
SUBDIR += zephir
SUBDIR += zig
SUBDIR += zig-devel
SUBDIR += zig010
.include <bsd.port.subdir.mk>

View File

@ -1,70 +0,0 @@
PORTNAME= zig
DISTVERSION= 0.12.0-dev.1879+e19219fa0
CATEGORIES= lang
MASTER_SITES= https://ziglang.org/download/${DISTVERSION}/ \
https://ziglang.org/builds/
PKGNAMESUFFIX= -devel
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
PATCH_SITES= https://github.com/ziglang/${PORTNAME}/commit/
MAINTAINER= bsd@orsolic.org
COMMENT= Language designed for robustness, optimality, and maintainability, latest git version
WWW= https://ziglang.org/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= aarch64 amd64
ONLY_FOR_ARCHS_REASON= not yet supported
BUILD_DEPENDS= icu>=71:devel/icu \
libxml2>=2.0:textproc/libxml2 \
llvm${_LLVM_VER}>=0:devel/llvm${_LLVM_VER}
LIB_DEPENDS= liblzma.so:archivers/lzma \
libzstd.so:archivers/zstd
USES= cmake compiler:c++11-lang localbase:ldflags tar:xz
CMAKE_ARGS+= -DZIG_TARGET_MCPU=baseline # ensure we run everywhere
CMAKE_ON= THREADS_PREFER_PTHREAD_FLAG
CONFLICTS_INSTALL= zig zig0*
_LLVM_VER= 17
OPTIONS_DEFINE= DOCS STATIC
OPTIONS_DEFAULT= STATIC
STATIC_DESC= sets ZIG_STATIC to avoid 800MiB LLVM runtime dependency
STATIC_RUN_DEPENDS_OFF= llvm${_LLVM_VER}>=0:devel/llvm${_LLVM_VER}
STATIC_CMAKE_BOOL= ZIG_STATIC
STATIC_LDFLAGS= -licudata -licuuc -llzma -lm -lmd -lxml2 -lz -lzstd
_ZIG_BIN= ${STAGEDIR}${PREFIX}/bin/zig
post-patch:
@${REINPLACE_CMD} 's|"-Dversion-string=$${RESOLVED_ZIG_VERSION}"|"-Dversion-string=${DISTVERSION}"|g' ${WRKSRC}/CMakeLists.txt
post-configure-STATIC-on:
@${REINPLACE_CMD} 's/-Wl,-Bdynamic//' \
${BUILD_WRKSRC}/build.ninja
post-build:
@${RM} -rf ${STAGEDIR}/wrkdirs
post-install:
@${RM} -rf ${WRKDIR}/.build
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}/std
.for f in commonmark.js index.html main.js ziglexer.js
${INSTALL_MAN} ${WRKSRC}/lib/docs/${f} \
${STAGEDIR}${DOCSDIR}/${f}
.endfor
do-test:
${MKDIR} ${WRKDIR}/cache
(cd ${WRKSRC} && \
${_ZIG_BIN} build test-behavior --cache-dir ${WRKDIR}/cache \
--global-cache-dir ${WRKDIR}/cache --zig-lib-dir ${WRKSRC}/lib)
.include <bsd.port.mk>

View File

@ -1,3 +0,0 @@
TIMESTAMP = 1705014044
SHA256 (zig-0.12.0-dev.1879+e19219fa0.tar.xz) = 7bfad0dace0cea9afa376cc84d36b48ea2caeabec3c1f656faf9ff8bcf64e92f
SIZE (zig-0.12.0-dev.1879+e19219fa0.tar.xz) = 15980836

View File

@ -1,10 +0,0 @@
--- CMakeLists.txt.orig 2023-04-14 11:08:26.398236000 +0200
+++ CMakeLists.txt 2023-04-14 11:08:31.255736000 +0200
@@ -857,6 +857,7 @@
"-Dtarget=${ZIG_TARGET_TRIPLE}"
"-Dcpu=${ZIG_TARGET_MCPU}"
"-Dversion-string=${RESOLVED_ZIG_VERSION}"
+ "--verbose"
)
add_custom_target(stage3 ALL

View File

@ -1,2 +0,0 @@
Zig is a general purpose programming language designed for robustness,
optimality, and maintainability.

File diff suppressed because it is too large Load Diff

View File

@ -25,7 +25,7 @@ USES= cmake compiler:c++11-lang localbase:ldflags tar:xz
CMAKE_ARGS+= -DZIG_TARGET_MCPU=baseline # ensure we run everywhere
CMAKE_ON= THREADS_PREFER_PTHREAD_FLAG
CONFLICTS_INSTALL= zig0* zig-devel
CONFLICTS_INSTALL= zig0*
OPTIONS_DEFINE= DOCS STATIC
OPTIONS_DEFAULT= DOCS

View File

@ -28,7 +28,7 @@ USES= cmake compiler:c++11-lang localbase:ldflags tar:xz
CMAKE_ON= THREADS_PREFER_PTHREAD_FLAG
CMAKE_ARGS+= -DZIG_TARGET_MCPU=baseline # ensure we run everywhere
CONFLICTS_INSTALL= zig zig-devel
CONFLICTS_INSTALL= zig
PORTSCOUT= limit:^0\.10\.
OPTIONS_DEFINE= DOCS STATIC