summaryrefslogtreecommitdiff
path: root/net-p2p/bitcoin-daemon
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/bitcoin-daemon')
-rw-r--r--net-p2p/bitcoin-daemon/Makefile29
1 files changed, 16 insertions, 13 deletions
diff --git a/net-p2p/bitcoin-daemon/Makefile b/net-p2p/bitcoin-daemon/Makefile
index 48b7037240c2..6d5b32515f90 100644
--- a/net-p2p/bitcoin-daemon/Makefile
+++ b/net-p2p/bitcoin-daemon/Makefile
@@ -1,27 +1,30 @@
-MASTERDIR= ${.CURDIR}/../bitcoin
PKGNAMESUFFIX= -daemon
COMMENT= Virtual Peer-to-Peer Currency (Daemon)
SLAVE_PORT= yes
-OPTIONS_DEFINE= DEBUG HARDENING TESTS UPNP WALLET ZMQ
-OPTIONS_DEFAULT= HARDENING UPNP WALLET ZMQ
+USE_RC_SUBR= bitcoind
+
+CMAKE_ARGS= -DBUILD_DAEMON=ON \
+ -DBUILD_CLI=OFF \
+ -DBUILD_GUI=OFF \
+ -DBUILD_SHARED_LIBS=OFF \
+ -DBUILD_TX=OFF \
+ -DBUILD_UTIL=OFF \
+ -DBUILD_WALLET_TOOL=OFF
+
+MASTERDIR= ${.CURDIR}/../bitcoin
USERS= bitcoin
GROUPS= bitcoin
-CONFIGURE_ARGS= --with-daemon \
- --without-gui \
- --without-libs \
- --without-qrencode \
- --without-utils
-
-PLIST_FILES= bin/bitcoind \
- share/man/man1/bitcoind.1.gz \
- "@sample %%ETCDIR%%.conf.sample"
+PLIST_FILES= "@sample %%ETCDIR%%.conf.sample" \
+ bin/bitcoind \
+ share/man/man1/bitcoind.1.gz
-USE_RC_SUBR= bitcoind
+OPTIONS_DEFINE= DEBUG HARDENING TESTS WALLET ZMQ
+OPTIONS_DEFAULT= HARDENING WALLET ZMQ
post-install:
${INSTALL_DATA} ${FILESDIR}/bitcoin.conf ${STAGEDIR}${PREFIX}/etc/bitcoin.conf.sample