summaryrefslogtreecommitdiff
path: root/net-p2p/bitcoin-utils/Makefile
blob: 2ea5b0eb7303dca1534dea7e295fac2abd7cb540 (plain) (blame)
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
PKGNAMESUFFIX=	-utils

COMMENT=	Virtual Peer-to-Peer Currency (CLI and Utilities)

SLAVE_PORT=	yes

CMAKE_ARGS=	-DBUILD_CLI=ON \
		-DBUILD_TX=ON \
		-DBUILD_UTIL=ON \
		-DBUILD_DAEMON=OFF \
		-DBUILD_GUI=OFF \
		-DBUILD_SHARED_LIBS=OFF

MASTERDIR=	${.CURDIR}/../bitcoin

PLIST_FILES=	bin/bitcoin-cli \
		bin/bitcoin-tx \
		bin/bitcoin-util \
		share/man/man1/bitcoin-cli.1.gz \
		share/man/man1/bitcoin-tx.1.gz \
		share/man/man1/bitcoin-util.1.gz

OPTIONS_DEFINE=		DEBUG HARDENING TESTS WALLET
OPTIONS_DEFAULT=	HARDENING TESTS WALLET

WALLET_CMAKE_BOOL+=	ENABLE_WALLET_TOOL
WALLET_PLIST_FILES+=	bin/bitcoin-wallet \
			share/man/man1/bitcoin-wallet.1.gz

.include "${MASTERDIR}/Makefile"