freebsd-ports/net-p2p/litecoin-daemon/Makefile
Steve Wills e4f9348119 net-p2p/litecoin: update to 0.14.2
While here, add rc script for litecoin-daemon

PR:		222343
Submitted by:	Christopher Hall <hsw@bitmark.com> (with changes)
2017-09-17 00:38:59 +00:00

40 lines
885 B
Makefile

# $FreeBSD$
MASTERDIR= ${.CURDIR}/../litecoin
PKGNAMESUFFIX= -daemon
COMMENT= Virtual Peer-to-Peer Currency (Daemon)
SLAVE_PORT= yes
NOT_FOR_ARCHS= powerpc64 sparc64
NOT_FOR_ARCHS_REASON= configure: error: Big Endian not supported
USES+= cpe
CPE_VENDOR= bitcoin
CPE_PRODUCT= bitcoind
CPE_VERSION= ${PORTVERSION:R}
OPTIONS_DEFINE= DEBUG HARDENING TESTS UPNP WALLET ZMQ
OPTIONS_DEFAULT= HARDENING WALLET
USERS= litecoin
GROUPS= litecoin
CONFIGURE_ARGS= --with-daemon \
--without-gui \
--without-libs \
--without-qrencode \
--without-utils \
--disable-reduce-exports
PLIST_FILES= bin/litecoind
PLIST_FILES+= man/man1/litecoind.1.gz
PLIST_FILES+= "@sample etc/litecoin.conf.sample"
USE_RC_SUBR= litecoind
post-install:
${INSTALL_DATA} ${WRKSRC}/contrib/debian/examples/bitcoin.conf ${STAGEDIR}${PREFIX}/etc/litecoin.conf.sample
.include "${MASTERDIR}/Makefile"