git: d5df74d0a876 - main - emulators/fuse-roms: switch to Daniel Menelkir's ROM distribution.

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Sun, 01 Jan 2023 15:17:16 UTC
The branch main has been updated by rene:

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

commit d5df74d0a8767fcffc94b998b5da01e2cd0865b3
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2023-01-01 15:13:32 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2023-01-01 15:16:51 +0000

    emulators/fuse-roms: switch to Daniel Menelkir's ROM distribution.
    
    His distribution is a superset of the Fedora distribution used
    previously. This eases maintenance of the port.
    
    Suggested by Daniel per private mail.
---
 emulators/fuse-roms/Makefile | 47 ++++++++++++++++++++++++++++----------------
 emulators/fuse-roms/distinfo |  8 +++-----
 2 files changed, 33 insertions(+), 22 deletions(-)

diff --git a/emulators/fuse-roms/Makefile b/emulators/fuse-roms/Makefile
index 03514e902fdd..dbdb8607c46c 100644
--- a/emulators/fuse-roms/Makefile
+++ b/emulators/fuse-roms/Makefile
@@ -1,12 +1,7 @@
 PORTNAME=	fuse-roms
-PORTVERSION=	0.9.0
-PORTREVISION=	3
+DISTVERSION=	0.2
+PORTEPOCH=	1
 CATEGORIES=	emulators
-MASTER_SITES=	ftp://ftp.pbone.net/mirror/rpmfusion.org/${FC_SUBDIR}/:1 \
-		https://gitlab.com/menelkir/fuseroms/-/raw/main/fuse/:2
-DISTFILES=	fuse-emulator-roms-${PORTVERSION}-${FCREV}.fc${FCVER}.noarch.rpm:1 \
-		opus.rom:2
-EXTRACT_ONLY=	fuse-emulator-roms-${PORTVERSION}-${FCREV}.fc${FCVER}.noarch.rpm
 
 MAINTAINER=	rene@FreeBSD.org
 COMMENT=	Spectrum ROM files, for use with the Fuse emulator
@@ -15,31 +10,49 @@ WWW=		https://sourceforge.net/projects/fuse-emulator/
 LICENSE=	NONE
 # No explicit permission to redistribute
 
-FCREV=		16
-FCVER=		35
-FC_SUBDIR=	nonfree/fedora/releases/${FCVER}/Everything/x86_64/os/Packages/f
+USE_GITLAB=	yes
+GL_ACCOUNT=	menelkir
+GL_PROJECT=	fuseroms
+GL_COMMIT=	fed6cfca1d13acad86a0802bfbd4b8af3a42d688
 NO_ARCH=	yes
 NO_BUILD=	yes
 DATADIR=	${PREFIX}/share/fuse
 
-ROMS=		128p-0.rom 128p-1.rom 256s-0.rom 256s-1.rom 256s-2.rom \
-		256s-3.rom gluck.rom if1-1.rom if1-2.rom opus.rom trdos.rom
+ROMS=		128-spanish-0.rom 128-spanish-1.rom \
+		128p-0.rom 128p-1.rom \
+		256s-0.rom 256s-1.rom 256s-2.rom 256s-3.rom \
+		gluck.rom \
+		if1-1.rom if1-2.rom \
+		opus.rom \
+		trdos.rom \
+		disk_plus3.szx \
+		tape_128.szx \
+		tape_16.szx \
+		tape_2048.szx \
+		tape_2068.szx \
+		tape_48.szx \
+		tape_pentagon.szx \
+		tape_plus2.szx \
+		tape_plus2a.szx \
+		tape_plus3.szx \
+		tape_plus3e.szx \
+		tape_scorpion.szx \
+		tape_se.szx \
+		tape_ts2068.szx
+
 PLIST_FILES=	${ROMS:S|^|${DATADIR_REL}/|}
 
 OPTIONS_DEFINE=	DOCS
 
 DOCS_PLIST_FILES=${DOCSDIR_REL}/rom-distribution.txt
 
-post-extract:
-	${CP} ${DISTDIR}/opus.rom ${WRKDIR}/usr/share/fuse/
-
 do-install:
 	${MKDIR} ${STAGEDIR}${DATADIR}
-	(cd ${WRKDIR}/usr/share/fuse && \
+	(cd ${WRKSRC}/fuse-extra && \
 		${INSTALL_DATA} ${ROMS} ${STAGEDIR}${DATADIR})
 do-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
-	(cd ${WRKDIR}/usr/share/doc/fuse-emulator-roms && \
+	(cd ${WRKSRC} && \
 		${INSTALL_DATA} rom-distribution.txt ${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>
diff --git a/emulators/fuse-roms/distinfo b/emulators/fuse-roms/distinfo
index 1d5753bb4101..a1f75dedde45 100644
--- a/emulators/fuse-roms/distinfo
+++ b/emulators/fuse-roms/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1649363686
-SHA256 (fuse-emulator-roms-0.9.0-16.fc35.noarch.rpm) = 82e604d684dc535329d007ffb01337a03b35c00a533ff121077116742545ae9e
-SIZE (fuse-emulator-roms-0.9.0-16.fc35.noarch.rpm) = 133832
-SHA256 (opus.rom) = 0a658b83257db99370f086f8ec57a5c9108ffc846e6fe567f262b63befc85dc9
-SIZE (opus.rom) = 8192
+TIMESTAMP = 1672585064
+SHA256 (menelkir-fuseroms-fed6cfca1d13acad86a0802bfbd4b8af3a42d688_GL0.tar.gz) = 011d3bb7f033b0424da0d944d3ac9a46b15e38c7888ba9a5ef8ded5045e87dde
+SIZE (menelkir-fuseroms-fed6cfca1d13acad86a0802bfbd4b8af3a42d688_GL0.tar.gz) = 500560