summaryrefslogblamecommitdiff
path: root/net-p2p/bitcoin-daemon/Makefile
blob: 050de2f78d1849b44fff23eb41af5ce2b0348303 (plain) (tree)
1
2
3
4
5
6
7
8
9

           
                                     
                 



                                                      
                   
 

                                                                 
 

                                                             
 


                       



                                    
                               
 
                              

                                        
 

                        


                                                                                                                   
                                
# $FreeBSD$

MASTERDIR=	${.CURDIR}/../bitcoin
PORTREVISION=	2
PKGNAMESUFFIX=	-daemon

COMMENT=	Virtual Peer-to-Peer Currency (Daemon)

SLAVE_PORT=	yes

NOT_FOR_ARCHS=		powerpc powerpc64 sparc64
NOT_FOR_ARCHS_REASON=	does not support big-endian architectures

OPTIONS_DEFINE=		DEBUG HARDENING TESTS UPNP WALLET ZMQ
OPTIONS_DEFAULT=	HARDENING UPNP WALLET

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 \
		%%ETCDIR%%.conf.sample

USE_RC_SUBR=	bitcoind

post-install:
	${INSTALL_DATA} ${WRKSRC}/contrib/debian/examples/bitcoin.conf ${STAGEDIR}${PREFIX}/etc/bitcoin.conf.sample

.include "${MASTERDIR}/Makefile"