[116432] trunk/dports/finance/bitcoind/Portfile
cal at macports.org
cal at macports.org
Fri Jan 24 17:50:19 PST 2014
Revision: 116432
https://trac.macports.org/changeset/116432
Author: cal at macports.org
Date: 2014-01-24 17:50:19 -0800 (Fri, 24 Jan 2014)
Log Message:
-----------
bitcoind: use github portgroup, use use_autoreconf yes to automatically add required dependencies, add missing pkgconfig dep, enable verbose build, enable tests, make sure the qt gui is off, openmaintainer
Modified Paths:
--------------
trunk/dports/finance/bitcoind/Portfile
Modified: trunk/dports/finance/bitcoind/Portfile
===================================================================
--- trunk/dports/finance/bitcoind/Portfile 2014-01-24 22:41:48 UTC (rev 116431)
+++ trunk/dports/finance/bitcoind/Portfile 2014-01-25 01:50:19 UTC (rev 116432)
@@ -2,10 +2,17 @@
# $Id$
PortSystem 1.0
+PortGroup github 1.0
+
+set commitish 08b93f9a65ce70e650244f94725fcd042d97f0ee
+
+github.setup bitcoin bitcoin ${commitish}
name bitcoind
+version 0.8.6.${commitish}
+checksums rmd160 07d77e45837b45c84bacae713b680f8027a93af2 \
+ sha256 b5e299a922a501e0c21b9037a7793a3cc27c5d09192aa9029552ccbbebc47418
+
categories finance crypto
-version 0.8.6.08b93f9a65ce70e650244f94725fcd042d97f0ee
-revision 0
epoch 2013121401
platforms darwin
license MIT
@@ -17,31 +24,25 @@
tasks are managed collectively by the Bitcoin protocol \
operating through the nodes of the network.
homepage http://www.bitcoin.org/
-# FIXME
-master_sites github
-distname ${name}-${version}
-fetch.type git
-git.url https://github.com/bitcoin/bitcoin.git
-#git.branch v0.8.6 # Doesn't contain "./autogen.sh"
-git.branch 08b93f9a65ce70e650244f94725fcd042d97f0ee
-#git.branch 9109ed6430366c928d21e2d9016a6484e4ff1b8a # TODO allow hg hash
+use_autoreconf yes
depends_lib port:boost \
port:openssl \
port:db48 \
- port:miniupnpc
+ port:miniupnpc
-worksrcdir bitcoin
+depends_build-append \
+ port:pkgconfig
-configure.cmd "./autogen.sh && ./configure"
+configure.args --without-qt
-build.args ""
-build.pre_args ""
-build.post_args ""
-build.target ""
-build.cmd make
+build.args V=1
+test.run yes
+test.target check
+test.args V=1
+
destroot {
xinstall -d ${destroot}${prefix}/sbin
xinstall -m 755 -W ${worksrcpath} src/bitcoind ${destroot}${prefix}/sbin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140124/f845406f/attachment.html>
More information about the macports-changes
mailing list