freebsd-ports/net-p2p/bitcoin-daemon/Makefile
Kevin Bowling f0acac574d net-p2p/bitcoin-daemon: Move PID to /var/run
This deconflicts the GUI client, and fixes a permission error for the daemon
even when running stand alone.

PR:		246792
Reported by:	Seth586 at protonmail.com, oobaz at frammish.org
Sponsored by:	BBOX.io
2020-11-17 02:36:54 +00:00

33 lines
646 B
Makefile

# $FreeBSD$
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
USERS= bitcoin
GROUPS= bitcoin
CONFIGURE_ARGS= --with-daemon \
--without-gui \
--without-libs \
--without-qrencode \
--without-utils
PLIST_FILES= bin/bitcoind \
man/man1/bitcoind.1.gz \
"@sample %%ETCDIR%%.conf.sample"
USE_RC_SUBR= bitcoind
PORTREVISION= 3
post-install:
${INSTALL_DATA} ${FILESDIR}/bitcoin.conf ${STAGEDIR}${PREFIX}/etc/bitcoin.conf.sample
.include "${MASTERDIR}/Makefile"