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