-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
51 lines (39 loc) · 1.17 KB
/
Makefile
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
39
40
41
42
43
44
45
46
47
48
49
50
51
PORTNAME= mithril
#DISTVERSIONPREFIX= v
DISTVERSION= nightly
CATEGORIES= net-p2p
MAINTAINER= [email protected]
COMMENT= Stake-based Threshold Multisignatures on Cardano
WWW= https://mithril.network/
LICENSE= APACHE20
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE
USES= cargo ssl
USE_GITHUB= yes
GH_ACCOUNT= input-output-hk
USE_RC_SUBR= mithril_signer_preview
CARGO_ENV= OPENSSL_LIB_DIR=${OPENSSLLIB} OPENSSL_INCLUDE_DIR=${OPENSSLINC}
CARGO_INSTALL= no
.sinclude "${.CURDIR}/Makefile.crates"
PLIST_FILES= bin/mithril-signer \
bin/mithril-client \
bin/mithril-aggregator
do-install:
${CARGO_CARGO_RUN} install \
--no-track \
--path "${WRKSRC}/mithril-signer" \
--root "${STAGEDIR}${PREFIX}" \
--verbose \
--verbose
${CARGO_CARGO_RUN} install \
--no-track \
--path "${WRKSRC}/mithril-client" \
--root "${STAGEDIR}${PREFIX}" \
--verbose \
--verbose
${CARGO_CARGO_RUN} install \
--no-track \
--path "${WRKSRC}/mithril-aggregator" \
--root "${STAGEDIR}${PREFIX}" \
--verbose \
--verbose
.include <bsd.port.mk>