aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun Amott <shaun@FreeBSD.org>2011-08-08 00:05:15 +0000
committerShaun Amott <shaun@FreeBSD.org>2011-08-08 00:05:15 +0000
commit4b22f9d3750c5a43bc95c70e8db58a0e64c2565b (patch)
tree18387f000b06e8cbbb1b41d2844bc7a933a022c3
parent0f19c6c10ee5b548b0061055f758135049349f68 (diff)
downloadports-4b22f9d3750c5a43bc95c70e8db58a0e64c2565b.tar.gz
ports-4b22f9d3750c5a43bc95c70e8db58a0e64c2565b.zip
Notes
-rw-r--r--net-p2p/bitcoin/Makefile20
-rw-r--r--net-p2p/bitcoin/distinfo4
2 files changed, 8 insertions, 16 deletions
diff --git a/net-p2p/bitcoin/Makefile b/net-p2p/bitcoin/Makefile
index 9dbdeb34b05e..e142e224b0d8 100644
--- a/net-p2p/bitcoin/Makefile
+++ b/net-p2p/bitcoin/Makefile
@@ -6,11 +6,11 @@
#
PORTNAME= bitcoin
-PORTVERSION= 0.3.23
+PORTVERSION= 0.3.24
CATEGORIES= net-p2p finance
-MASTER_SITES= https://download.github.com/ \
+MASTER_SITES= https://nodeload.github.com/${PORTNAME}/${PORTNAME}/tarball/ \
http://mirror.inerd.com/FreeBSD/distfiles/${PORTNAME}/
-DISTFILES= bitcoin-bitcoin-v${PORTVERSION}-0-gce14894.tar.gz
+DISTFILES= v${PORTVERSION}
MAINTAINER= shaun@FreeBSD.org
COMMENT= Virtual Peer-to-Peer Currency Client
@@ -30,9 +30,9 @@ CXXFLAGS+= -I${LOCALBASE}/include -I${BDB_INCLUDE_DIR}
CXXFLAGS+= -L${LOCALBASE}/lib -L${BDB_LIB_DIR}
CXXFLAGS+= -Wno-invalid-offsetof
-WRKSRC= ${WRKDIR}/bitcoin-bitcoin-ebdab6d/src
+WRKSRC= ${WRKDIR}/bitcoin-bitcoin-36aa6bd/src
-LOCALES= cs de eo es fr it lt nl pt ru zh_cn
+LOCALES= cs de eo es fr it lt nl pt ru sv zh_cn
.include <bsd.port.options.mk>
@@ -68,21 +68,13 @@ PLIST_DIRSTRY+= ${LOCALES:C|^|share/locale/|}
.include <bsd.port.pre.mk>
-pre-fetch:
-.if ${MASTER_SITES:M*github.com*} != "" && !exists(${DISTDIR}/${DISTFILES})
- @${ECHO_MSG} "===> Pinging github to vivify tarball..."
- @(cd ${DISTDIR} && \
- ${FETCH_BINARY} -Ap https://nodeload.github.com/bitcoin/bitcoin/tarball/v${PORTVERSION} 2>/dev/null \
- || ${TRUE} \
- )
-.endif
-
post-patch:
@cd ${WRKSRC} && ${CP} -p makefile.unix Makefile
@${REINPLACE_CMD} \
-e 's|wx-config|${WX_CONFIG}|g' \
-e 's|^CXXFLAGS=.*$$|CXXFLAGS += $$(DEFS)|' \
-e 's|^USE_UPNP.*$$||' \
+ -e 's|-l pthread|${PTHREAD_LIBS}|g' \
-e 's:-O3::' -e 's:-\(march=[A-Za-z0-9]*\)::g' \
-e 's:-l dl::' \
${WRKSRC}/Makefile
diff --git a/net-p2p/bitcoin/distinfo b/net-p2p/bitcoin/distinfo
index 19b848cb7001..40b8477ad83e 100644
--- a/net-p2p/bitcoin/distinfo
+++ b/net-p2p/bitcoin/distinfo
@@ -1,2 +1,2 @@
-SHA256 (bitcoin-bitcoin-v0.3.23-0-gce14894.tar.gz) = bf3e81e601839619597e88a51315780e2be1d0c320fab8303cdf63f94e0a81eb
-SIZE (bitcoin-bitcoin-v0.3.23-0-gce14894.tar.gz) = 446803
+SHA256 (v0.3.24) = 8e10a6293af79dc62bed9b68ce764495da8192766473980c8fefeac067831d30
+SIZE (v0.3.24) = 730076