Changeset 118170 for trunk/dports


Ignore:
Timestamp:
Mar 24, 2014, 4:49:28 PM (10 years ago)
Author:
and.damore@…
Message:

port bitcoin: build and install application bundle

prevent occasional error in building with single build job
openmaintainer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/finance/bitcoin/Portfile

    r118164 r118170  
    77categories          finance crypto
    88version             0.9.0
     9revision            1
    910platforms           darwin
    1011license             MIT
     
    3334configure.cmd       ./autogen.sh && ./configure
    3435
     36build.args          appbundle
     37build.jobs          1
    3538variant daemon description {Build and install only the bitcoind daemon} {
    3639    configure.cmd-append    --with-gui=no
    3740    depends_lib-delete      port:qt4-mac
     41    build.args-delete       appbundle
    3842}
    3943
     
    4145    xinstall -d ${destroot}${prefix}/bin
    4246    if {![variant_isset daemon]} {
    43         xinstall -m 755 -W ${worksrcpath} \
    44             src/qt/bitcoin-qt ${destroot}${prefix}/bin
     47        set bundle_name Bitcoin-Qt.app
     48        xinstall -m 755 -d ${destroot}${applications_dir}
     49        copy ${worksrcpath}/${bundle_name} ${destroot}${applications_dir}/${bundle_name}
    4550    }
    4651    xinstall -m 755 -W ${worksrcpath} src/bitcoind ${destroot}${prefix}/bin
Note: See TracChangeset for help on using the changeset viewer.