git: 393e47db4e56 - main - lang/dotnet: Add bootstrap-makesum target akin to lang/dotnet8
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 01 Oct 2025 16:16:59 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=393e47db4e56955279f0b82db1d3bfa482b11baa
commit 393e47db4e56955279f0b82db1d3bfa482b11baa
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2025-10-01 14:54:13 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-10-01 16:16:39 +0000
lang/dotnet: Add bootstrap-makesum target akin to lang/dotnet8
---
lang/dotnet/Makefile | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/lang/dotnet/Makefile b/lang/dotnet/Makefile
index 96a87681cae2..694a1b771d94 100644
--- a/lang/dotnet/Makefile
+++ b/lang/dotnet/Makefile
@@ -127,4 +127,15 @@ do-install:
${RLN} ${STAGEDIR}${DATADIR}/dotnet ${STAGEDIR}${PREFIX}/bin/dotnet
+bootstrap-makesum:
+ cd ${WRKSRC}/artifacts/assets/Release && sha256 ${SOURCEBUILT_ARTIFACTS_DISTNAME}${EXTRACT_SUFX}
+ @${ECHO_CMD} -n "SIZE (${DIST_SUBDIR}/${SOURCEBUILT_ARTIFACTS_DISTNAME}${EXTRACT_SUFX}) = "
+ @${STAT} -f %z ${WRKSRC}/artifacts/assets/Release/${SOURCEBUILT_ARTIFACTS_DISTNAME}${EXTRACT_SUFX}
+
+ @cd ${WRKSRC}/artifacts/assets/Release && sha256 ${SDK_DISTNAME}${EXTRACT_SUFX}
+ @${ECHO_CMD} -n "SIZE (${DIST_SUBDIR}/${SDK_DISTNAME}${EXTRACT_SUFX}) = "
+ @${STAT} -f %z ${WRKSRC}/artifacts/assets/Release/${SDK_DISTNAME}${EXTRACT_SUFX}
+
+ @${ECHO_CMD}
+
.include <bsd.port.post.mk>