Changeset View
Changeset View
Standalone View
Standalone View
www/deno/Makefile
Show First 20 Lines • Show All 456 Lines • ▼ Show 20 Lines | CARGO_CRATES= Inflector-0.11.4 \ | ||||
zeroize_derive-1.1.0 | zeroize_derive-1.1.0 | ||||
post-patch: | post-patch: | ||||
${REINPLACE_CMD} "s|%%LOCALBASE%%|${LOCALBASE}|" \ | ${REINPLACE_CMD} "s|%%LOCALBASE%%|${LOCALBASE}|" \ | ||||
${WRKSRC}/cargo-crates/rusty_v8-${RUSTY_VERS}/build/toolchain/gcc_toolchain.gni \ | ${WRKSRC}/cargo-crates/rusty_v8-${RUSTY_VERS}/build/toolchain/gcc_toolchain.gni \ | ||||
${WRKSRC}/cargo-crates/rusty_v8-${RUSTY_VERS}/buildtools/third_party/libc++/BUILD.gn | ${WRKSRC}/cargo-crates/rusty_v8-${RUSTY_VERS}/buildtools/third_party/libc++/BUILD.gn | ||||
do-install: | do-install: | ||||
${INSTALL_PROGRAM} ${WRKDIR}/target/release/deno ${STAGEDIR}${LOCALBASE}/bin | ${INSTALL_PROGRAM} ${CARGO_TARGET_DIR}/${CARGO_BUILD_TARGET}/*/deno ${STAGEDIR}${LOCALBASE}/bin | ||||
tobik: FYI, Cargo has an (unstable) `--out-dir` option we hopefully can set in the future which lets… | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
FYI, Cargo has an (unstable) --out-dir option we hopefully can set in the future which lets us configure the directory for the final build artifacts. Then we don't need to do stuff like this to find them.
https://doc.rust-lang.org/cargo/commands/cargo-build.html#output-options
https://github.com/rust-lang/cargo/issues/6790