git: c1a8aaa416a3 - main - emulators/wine-gecko-devel: Package 64-bit upstream MSI

From: Gerald Pfeifer <gerald_at_FreeBSD.org>
Date: Sun, 09 Nov 2025 22:29:04 UTC
The branch main has been updated by gerald:

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

commit c1a8aaa416a398a447b29bc5d2d68cc1948d8635
Author:     Gerald Pfeifer <gerald@FreeBSD.org>
AuthorDate: 2025-11-09 22:26:47 +0000
Commit:     Gerald Pfeifer <gerald@FreeBSD.org>
CommitDate: 2025-11-09 22:26:48 +0000

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

diff --git a/emulators/wine-gecko-devel/Makefile b/emulators/wine-gecko-devel/Makefile
index 5abee52c5833..a9aefcc7eea6 100644
--- a/emulators/wine-gecko-devel/Makefile
+++ b/emulators/wine-gecko-devel/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	wine-gecko
 DISTVERSION=	2.47.4
-DISTVERSIONSUFFIX=-x86
+PORTREVISION=	1
 CATEGORIES=	emulators
 MASTER_SITES=	http://dl.winehq.org/wine/wine-gecko/${DISTVERSION}/
 PKGNAMESUFFIX=	-devel
@@ -21,9 +21,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-devel/distinfo b/emulators/wine-gecko-devel/distinfo
index 616d72748d65..deea47d43009 100644
--- a/emulators/wine-gecko-devel/distinfo
+++ b/emulators/wine-gecko-devel/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1688800025
+TIMESTAMP = 1761993947
+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