make zelda3-data fetch the ROM image via the new zelda3-rom port
based on an initial patch by espie@ ok sthen@
This commit is contained in:
parent
ce8207657b
commit
dbc6d55089
@ -2,9 +2,7 @@ COMMENT = game data files for zelda3
|
||||
|
||||
DISTNAME = zelda3-0.1pre20221101
|
||||
PKGNAME = zelda3-data-0.1pre20221101
|
||||
# GH_DISTFILE contains curly braces { } which won't work here
|
||||
ZELDA3_DISTFILE = ${DISTNAME}-${GH_COMMIT:C/(........).*/\1/}${EXTRACT_SUFX}
|
||||
DISTFILES = zelda3.sfc ${ZELDA3_DISTFILE}
|
||||
REVISION = 0
|
||||
|
||||
# use a commit hash, for now; the latest tag (v0.1-beta) is quite outdated
|
||||
GH_ACCOUNT = snesrev
|
||||
@ -22,26 +20,18 @@ MODPY_RUNDEP = No
|
||||
USE_GMAKE = Yes
|
||||
|
||||
BUILD_DEPENDS = graphics/py-Pillow${MODPY_FLAVOR} \
|
||||
textproc/py-yaml${MODPY_FLAVOR}
|
||||
|
||||
FETCH_MANUALLY += "zelda3.sfc has sha256 checksum"
|
||||
FETCH_MANUALLY += "66871d66be19ad2c34c927d6b14cd8eb6fc3181965b6e517cb361f7316009cfb"
|
||||
FETCH_MANUALLY += "and must be placed into ${DISTDIR}."
|
||||
FETCH_MANUALLY += "It can be extracted from a retail SNES cartridge using"
|
||||
FETCH_MANUALLY += "tools such as https://github.com/sanni/cartreader"
|
||||
textproc/py-yaml${MODPY_FLAVOR} \
|
||||
games/zelda3-rom:patch
|
||||
|
||||
PERMIT_PACKAGE = proprietary ROM image
|
||||
PERMIT_DISTFILES = ${PERMIT_PACKAGE}
|
||||
|
||||
# do not attempt to extract zelda3.sfc
|
||||
EXTRACT_CASES = *.sfc) ;;
|
||||
|
||||
CONFIGURE_STYLE = none
|
||||
# the game program is compiled by games/zelda3; we just build the assets
|
||||
ALL_TARGET = tables/zelda3_assets.dat
|
||||
|
||||
pre-build:
|
||||
${INSTALL_DATA} ${DISTDIR}/zelda3.sfc ${WRKSRC}/tables/zelda3.sfc
|
||||
ln -sf ${WRKDIR}/games/zelda3-rom/zelda3.sfc ${WRKSRC}/tables/zelda3.sfc
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/zelda3
|
||||
|
@ -1,4 +1,2 @@
|
||||
SHA256 (zelda3-0.1pre20221101-91d771ec.tar.gz) = nQ8+nFZQ+PW9nAzYSRuXVVOp+fewoYsbt37ympzqcwc=
|
||||
SHA256 (zelda3.sfc) = ZocdZr4ZrSw0ySfWsUzY62/DGBlltuUXyzYfcxYAnPs=
|
||||
SIZE (zelda3-0.1pre20221101-91d771ec.tar.gz) = 3907372
|
||||
SIZE (zelda3.sfc) = 1048576
|
||||
|
@ -1,3 +1,3 @@
|
||||
Zelda 3 - A Link to the Past (US) ROM image.
|
||||
Zelda 3 - A Link to the Past game assets.
|
||||
|
||||
Copyright 1991, 1992 Nintendo.
|
||||
|
Loading…
Reference in New Issue
Block a user