# -*- 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$ PortSystem 1.0 name bitcoin categories finance crypto version 0.8.3 revision 1 platforms darwin license MIT maintainers yopmail.com:sami.laine easieste openmaintainer 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/ master_sites sourceforge distname ${name}-${version}-linux checksums md5 1f0e1e55be710e3f9aaee4a025b2cb7e \ sha1 78f9fc2d5f2b225846bf12803b22c4a2b3e2d1ba \ rmd160 e9329f89a47697c546cd2ff30ce2cefb46caea42 depends_lib port:boost \ port:openssl \ port:db48 \ port:miniupnpc \ port:qt4-mac worksrcdir ${name}-${version}-linux/src if {![variant_isset daemon]} { PortGroup qmake 1.0 } build.args "" build.pre_args "" build.post_args "" build.target "" build.cmd (cd src && make -f makefile.osx ) && make destroot { xinstall -d ${destroot}${prefix}/bin xinstall -d ${destroot}${prefix}/sbin if {![variant_isset daemon]} { xinstall -m 755 -W ${worksrcpath} \ Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt \ ${destroot}${prefix}/bin/bitcoin-qt } xinstall -m 755 -W ${worksrcpath} src/bitcoind ${destroot}${prefix}/sbin set docdir ${destroot}${prefix}/share/doc/${name} xinstall -d ${docdir} eval xinstall -m 444 -W ${worksrcpath} [glob ${worksrcpath}/doc/*] ${docdir} } variant daemon description {Build and install only the bitcoind daemon} { use_configure no build.cmd "cd src && make -f makefile.osx" depends_lib-delete port:qt4-mac }