1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

games/punchy: convert to WRKSRC_crate

This commit is contained in:
Jan Beich 2023-04-06 00:34:39 +00:00
parent d27d84724c
commit 8bafe92586

View File

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