git: 8bafe9258698 - main - games/punchy: convert to WRKSRC_crate

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Thu, 06 Apr 2023 00:52:48 UTC
The branch main has been updated by jbeich:

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

commit 8bafe92586981370304050bf58a0c7d56cb841cc
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-04-06 00:34:39 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-04-06 00:50:12 +0000

    games/punchy: convert to WRKSRC_crate
---
 games/punchy/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games/punchy/Makefile b/games/punchy/Makefile
index edb9225e3163..e29e43824ead 100644
--- a/games/punchy/Makefile
+++ b/games/punchy/Makefile
@@ -32,7 +32,7 @@ GN_ARGS+=	use_custom_libcxx=false
 post-patch:
 # Search assets under PREFIX instead of current directory
 	@${REINPLACE_CMD} 's,assets",../${DATADIR_REL}/&,' \
-		${WRKSRC}/cargo-crates/bevy_asset-*/src/lib.rs
+		${WRKSRC_crate_bevy_asset}/src/lib.rs
 
 post-install:
 	(cd ${WRKSRC} && ${COPYTREE_SHARE} "assets" ${STAGEDIR}${DATADIR})