blob: 0385ef46fc97ed5baac96f20374d04d3ccc292b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
PORTNAME= gurk-rs
DISTVERSIONPREFIX= v
DISTVERSION= 0.4.1
PORTREVISION= 1
CATEGORIES= net-im
MAINTAINER= bsd@orsolic.org
COMMENT= Signal Messenger client for terminal
WWW= https://github.com/boxdot/gurk-rs
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE-AGPL-3.0
BUILD_DEPENDS= protoc:devel/protobuf
USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= boxdot
PLIST_FILES= bin/gurk \
${DATADIR}/README.md
.include <bsd.port.pre.mk>
# avoid address space exhaustion on armv7
.if ${ARCH:Marmv?}
LTO_UNSAFE= yes
.endif
post-patch:
${REINPLACE_CMD} -e s,%%WRKDIR%%,${WRKDIR}, ${WRKSRC}/Cargo.toml
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gurk
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DATADIR}
.include <bsd.port.post.mk>
|