Changeset 118125 for trunk/dports
- Timestamp:
- Mar 23, 2014, 9:59:56 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/finance/bitcoin/Portfile
r117040 r118125 5 5 name bitcoin 6 6 categories finance crypto 7 version 0. 8.67 version 0.9.0 8 8 platforms darwin 9 9 license MIT 10 maintainers yopmail.com:sami.laine easieste openmaintainer10 maintainers easieste openmaintainer yopmail.com:sami.laine 11 11 description client user interface for a peer-to-peer digital currency 12 12 long_description Bitcoin is a peer-to-peer digital currency. By peer-to-peer, \ … … 16 16 operating through the nodes of the network. 17 17 homepage http://www.bitcoin.org/ 18 master_sites sourceforge 19 distname ${name}-${version}-linux 20 checksums md5 4c24497a3c88adf1ef9855efaf31cf87 \ 21 sha1 a95b20338a14bb6aa379285828fb0a13b9f6c0e4 \ 22 rmd160 7a1e4055a6e77cfaafab2f92ea0400238ea8a256 18 19 fetch.type git 20 git.url https://github.com/bitcoin/bitcoin.git 21 git.branch v${version} 23 22 24 23 depends_lib port:boost \ … … 28 27 port:qt4-mac 29 28 30 worksrcdir ${name}-${version}-linux/src 29 configure.cmd ./autogen.sh && ./configure 31 30 32 if {![variant_isset daemon]} { 33 PortGroup qmake 1.0 34 } 35 36 patchfiles patch_src_src_serialize_h.diff 37 build.args "" 38 build.pre_args "" 39 build.post_args "" 40 build.target "" 41 build.cmd (cd src && make -f makefile.osx ) && make 42 43 post-build { 44 set year [clock format [clock seconds] -format %Y] 45 46 reinplace -W ${worksrcpath}/Bitcoin-Qt.app/Contents "s|\$VERSION|${version}|" Info.plist 47 reinplace -W ${worksrcpath}/Bitcoin-Qt.app/Contents "s|\$YEAR|${year}|" Info.plist 31 variant daemon description {Build and install only the bitcoind daemon} { 32 configure.cmd-append --with-gui=no 33 depends_lib-delete port:qt4-mac 48 34 } 49 35 50 36 destroot { 51 37 xinstall -d ${destroot}${prefix}/bin 52 xinstall -d ${destroot}${prefix}/sbin53 38 if {![variant_isset daemon]} { 54 39 xinstall -m 755 -W ${worksrcpath} \ 55 Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt \ 56 ${destroot}${prefix}/bin/bitcoin-qt 40 src/qt/bitcoin-qt ${destroot}${prefix}/bin 57 41 } 58 42 xinstall -m 755 -W ${worksrcpath} src/bitcoind ${destroot}${prefix}/bin 43 xinstall -m 755 -W ${worksrcpath} src/bitcoin-cli ${destroot}${prefix}/bin 59 44 60 45 set docdir ${destroot}${prefix}/share/doc/${name} 61 46 xinstall -d ${docdir} 62 eval xinstall -m 444 -W ${worksrcpath} [glob ${worksrcpath}/doc/*] ${docdir} 63 64 xinstall -d ${destroot}${applications_dir} 65 file rename ${worksrcpath}/Bitcoin-Qt.app ${destroot}${applications_dir}/Bitcoin-Qt.app 47 eval xinstall -m 444 -W ${worksrcpath} [glob ${worksrcpath}/doc/*.md] ${docdir} 66 48 } 67 49 68 variant daemon description {Build and install only the bitcoind daemon} {69 use_configure no70 build.cmd "cd src && make -f makefile.osx"71 depends_lib-delete port:qt4-mac72 }73 50
Note: See TracChangeset
for help on using the changeset viewer.