Skip to content
Permalink
Browse files

port bitcoin: build and install application bundle

prevent occasional error in building with single build job
openmaintainer

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@118170 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
anddam committed Mar 24, 2014
1 parent 75d9311 commit 82742854a92964f26108a3e5ef780d3ebaca5814
Showing with 7 additions and 2 deletions.
  1. +7 −2 finance/bitcoin/Portfile
@@ -6,6 +6,7 @@ PortSystem 1.0
name bitcoin
categories finance crypto
version 0.9.0
revision 1
platforms darwin
license MIT
maintainers easieste openmaintainer yopmail.com:sami.laine
@@ -32,16 +33,20 @@ depends_lib port:boost \

configure.cmd ./autogen.sh && ./configure

build.args appbundle
build.jobs 1
variant daemon description {Build and install only the bitcoind daemon} {
configure.cmd-append --with-gui=no
depends_lib-delete port:qt4-mac
build.args-delete appbundle
}

destroot {
xinstall -d ${destroot}${prefix}/bin
if {![variant_isset daemon]} {
xinstall -m 755 -W ${worksrcpath} \
src/qt/bitcoin-qt ${destroot}${prefix}/bin
set bundle_name Bitcoin-Qt.app
xinstall -m 755 -d ${destroot}${applications_dir}
copy ${worksrcpath}/${bundle_name} ${destroot}${applications_dir}/${bundle_name}
}
xinstall -m 755 -W ${worksrcpath} src/bitcoind ${destroot}${prefix}/bin
xinstall -m 755 -W ${worksrcpath} src/bitcoin-cli ${destroot}${prefix}/bin

0 comments on commit 8274285

Please sign in to comment.
You can’t perform that action at this time.