mystuff/net/gurk-rs/Makefile
2023-02-07 07:37:03 +01:00

36 lines
709 B
Makefile

COMMENT = Signal Messenger client for terminal
GH_ACCOUNT = boxdot
GH_PROJECT = gurk-rs
GH_TAGNAME = v0.3.0
CATEGORIES = net
MAINTAINER = Stefan Hagen <sh+ports@codevoid.de>
# AGPL 3.0
PERMIT_PACKAGE = Yes
DISTFILES = ${DISTNAME}{master}${EXTRACT_SUFX}
# vendor files (see $FILESDIR/config)
MASTER_SITES0 = https://codevoid.de/h/
DISTFILES += ${DISTNAME}-vendorfiles${EXTRACT_SUFX}:0
MODULES = devel/cargo
WANTLIB = ${MODCARGO_WANTLIB}
BUILD_DEPENDS = devel/protobuf \
security/rust-ring
CONFIGURE_STYLE = cargo
post-configure:
cat ${FILESDIR}/config >> ${WRKDIR}/.cargo/config
sed -i.bak 's/opt-level = 2/opt-level = 0/g' ${WRKDIR}/.cargo/config
.include "crates.inc"
.include <bsd.port.mk>