wip/rust-bindgen: use mk/cargo-binary.mk

This commit is contained in:
ng0 2019-08-21 10:19:35 +00:00
parent 73b7726d6c
commit 7a377d9c2e
1 changed files with 1 additions and 8 deletions

View File

@ -68,12 +68,5 @@ USE_LANGUAGES= c c++
INSTALLATION_DIRS= bin
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/cargo build --locked --frozen --release
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/bindgen ${DESTDIR}${PREFIX}/bin/bindgen
.include "../../lang/rust/buildlink3.mk"
.include "../../lang/rust/cargo.mk"
.include "../../wip/mk/cargo-binary.mk"
.include "../../mk/bsd.pkg.mk"