Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2025 15:35:01 GMT
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8f3cb1ebbaf1 - main - lang/dotnet-runtime: Catch up with main port changes
Message-ID:  <202501091535.509FZ11r023021@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8f3cb1ebbaf1cbfd2a1372e3f9cb87d0a4a72d65

commit 8f3cb1ebbaf1cbfd2a1372e3f9cb87d0a4a72d65
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2025-01-09 15:33:58 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-01-09 15:34:47 +0000

    lang/dotnet-runtime: Catch up with main port changes
    
    PR:             283958
    Fixes:  7c650ee33d07156563f8e4d74ebba414cd507542
---
 lang/dotnet-runtime/Makefile | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/lang/dotnet-runtime/Makefile b/lang/dotnet-runtime/Makefile
index 4dc4826ccdda..c91a87ea2b52 100644
--- a/lang/dotnet-runtime/Makefile
+++ b/lang/dotnet-runtime/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	dotnet-host
 DISTVERSIONPREFIX=	v
 DISTVERSION=	9.0.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	lang devel
 
 MAINTAINER=	arrowd@FreeBSD.org
@@ -21,10 +21,12 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	dotnet
 GH_PROJECT=	runtime
 
+DATADIR=	${PREFIX}/share/dotnet
+
 PLIST_FILES=	bin/dotnet \
-		dotnet/LICENSE.TXT \
-		dotnet/THIRD-PARTY-NOTICES.TXT \
-		dotnet/dotnet
+		share/dotnet/LICENSE.TXT \
+		share/dotnet/THIRD-PARTY-NOTICES.TXT \
+		share/dotnet/dotnet
 
 DOTNET_ARCH=	${ARCH:S|amd64|x64|:C|aarch64|arm64|}
 
@@ -41,11 +43,11 @@ post-build:
 	${ELFCTL} -e +noaslr ${WRKSRC}/artifacts/bin/freebsd-${DOTNET_ARCH}.${BUILD_TYPE}/corehost/dotnet
 
 do-install:
-	${MKDIR} ${STAGEDIR}${PREFIX}/dotnet
+	${MKDIR} ${STAGEDIR}${DATADIR}
 	${INSTALL_PROGRAM} ${WRKSRC}/artifacts/bin/freebsd-${DOTNET_ARCH}.${BUILD_TYPE}/corehost/dotnet \
-		${STAGEDIR}${PREFIX}/dotnet/
+		${STAGEDIR}${DATADIR}/
 	${INSTALL_DATA} ${WRKSRC}/LICENSE.TXT ${WRKSRC}/THIRD-PARTY-NOTICES.TXT \
-		${STAGEDIR}${PREFIX}/dotnet/
-	${RLN} ${STAGEDIR}${PREFIX}/dotnet/dotnet ${STAGEDIR}${PREFIX}/bin/dotnet
+		${STAGEDIR}${DATADIR}
+	${RLN} ${STAGEDIR}${DATADIR}/dotnet ${STAGEDIR}${PREFIX}/bin/dotnet
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501091535.509FZ11r023021>