git: 5005925124f2 - main - emulators/wine-gecko: Package 64-bit upstream MSI

From: Gerald Pfeifer <gerald_at_FreeBSD.org>
Date: Mon, 10 Nov 2025 21:29:56 UTC
The branch main has been updated by gerald:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5005925124f2d615a7838c6e46551343a867395c

commit 5005925124f2d615a7838c6e46551343a867395c
Author:     Gerald Pfeifer <gerald@FreeBSD.org>
AuthorDate: 2025-11-10 21:29:02 +0000
Commit:     Gerald Pfeifer <gerald@FreeBSD.org>
CommitDate: 2025-11-10 21:29:21 +0000

    emulators/wine-gecko: Package 64-bit upstream MSI
    
    So far we packaged the 32-bit upstream MSI both on i386 and amd64.
    Now differentiate based on architecture.
    
    This changes amd64 packages, so bump PORTREVISION.
    
    It backports revision c1a8aaa416a3 from emulators/wine-gecko-devel.
    
    PR:             290706
    Tested by:      Dave Palais <silent@penguinmail.com>
---
 emulators/wine-gecko/Makefile | 12 ++++++++++--
 emulators/wine-gecko/distinfo |  4 +++-
 2 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/emulators/wine-gecko/Makefile b/emulators/wine-gecko/Makefile
index 383069d8163f..e3ac80b53cc5 100644
--- a/emulators/wine-gecko/Makefile
+++ b/emulators/wine-gecko/Makefile
@@ -1,8 +1,8 @@
 PORTNAME=	wine-gecko
 DISTVERSION=	2.47.4
+PORTREVISION=	1
 CATEGORIES=	emulators
 MASTER_SITES=	http://dl.winehq.org/wine/wine-gecko/${DISTVERSION}/
-DISTNAME=	wine-gecko-${DISTVERSION}-x86
 EXTRACT_SUFX=	.msi
 EXTRACT_ONLY=
 
@@ -22,9 +22,17 @@ PLIST_SUB+=	GECKO_VERSION="${DISTVERSION}"
 DATADIR=	${PREFIX}/share/wine
 PLIST_FILES=	${DATADIR}/gecko/${DISTNAME}.msi
 
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == i386
+DISTVERSIONSUFFIX=	-x86
+.else
+DISTVERSIONSUFFIX=	-x86_64
+.endif
+
 do-install:
 	@${MKDIR} ${STAGEDIR}${DATADIR}/gecko
 	${INSTALL_DATA} ${DISTDIR}/${DISTNAME}.msi \
 		${STAGEDIR}${DATADIR}/gecko
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/emulators/wine-gecko/distinfo b/emulators/wine-gecko/distinfo
index 23c6f94191a0..fbc6a45f68d8 100644
--- a/emulators/wine-gecko/distinfo
+++ b/emulators/wine-gecko/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1737805983
+TIMESTAMP = 1762727585
+SHA256 (wine-gecko-2.47.4-x86_64.msi) = e590b7d988a32d6aa4cf1d8aa3aa3d33766fdd4cf4c89c2dcc2095ecb28d066f
+SIZE (wine-gecko-2.47.4-x86_64.msi) = 53898752
 SHA256 (wine-gecko-2.47.4-x86.msi) = 26cecc47706b091908f7f814bddb074c61beb8063318e9efc5a7f789857793d6
 SIZE (wine-gecko-2.47.4-x86.msi) = 55187968