gurk-rs: working version

This commit is contained in:
c0dev0id
2023-02-10 08:06:17 +01:00
parent af606c11d2
commit df3fdba5eb
4 changed files with 8 additions and 143 deletions

View File

@@ -26,10 +26,15 @@ BUILD_DEPENDS = devel/protobuf \
CONFIGURE_STYLE = cargo
RELEASE_DIR = ${MODCARGO_TARGET_DIR}/release
post-configure:
cat ${FILESDIR}/config >> ${WRKDIR}/.cargo/config
sed -i.bak 's/opt-level = 2/opt-level = 0/g' ${WRKDIR}/.cargo/config
do-install:
${INSTALL_PROGRAM} ${RELEASE_DIR}/gurk ${PREFIX}/bin/
.include "crates.inc"
.include <bsd.port.mk>