# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id: Portfile 118162 2014-03-24 09:53:36Z and.damore@macports.org $ PortSystem 1.0 name bitcoin categories finance crypto version 0.9.0 platforms darwin license MIT maintainers easieste openmaintainer yopmail.com:sami.laine description client user interface for a peer-to-peer digital currency long_description Bitcoin is a peer-to-peer digital currency. By peer-to-peer, \ we mean that there is no central authority to issue \ new Bitcoins or keep track of transactions. Instead, these \ tasks are managed collectively by the Bitcoin protocol \ operating through the nodes of the network. homepage http://www.bitcoin.org/ fetch.type git git.url https://github.com/bitcoin/bitcoin.git git.branch v${version} depends_lib port:boost \ port:openssl \ port:db48 \ port:miniupnpc \ port:qt4-mac \ port:protobuf-cpp configure.cmd ./autogen.sh && ./configure variant daemon description {Build and install only the bitcoind daemon} { configure.cmd-append --with-gui=no depends_lib-delete port:qt4-mac } destroot { xinstall -d ${destroot}${prefix}/bin if {![variant_isset daemon]} { xinstall -m 755 -W ${worksrcpath} \ src/qt/bitcoin-qt ${destroot}${prefix}/bin } xinstall -m 755 -W ${worksrcpath} src/bitcoind ${destroot}${prefix}/bin xinstall -m 755 -W ${worksrcpath} src/bitcoin-cli ${destroot}${prefix}/bin set docdir ${destroot}${prefix}/share/doc/${name} xinstall -d ${docdir} eval xinstall -m 444 -W ${worksrcpath} [glob ${worksrcpath}/doc/*.md] ${docdir} }