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.
This commit is contained in:
Rene Ladan 2023-01-01 16:13:32 +01:00
parent 2fbd811ec7
commit d5df74d0a8
2 changed files with 33 additions and 22 deletions

View File

@ -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>

View File

@ -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