aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorshaun <shaun@FreeBSD.org>2011-08-08 08:05:15 +0800
committershaun <shaun@FreeBSD.org>2011-08-08 08:05:15 +0800
commit938fb667269dab1ac1fc8bacb5d0e9d933785404 (patch)
tree79fdac9aef555323e5ba8a18de25833f6e8aec65 /net-p2p
parentdf28174cbf1670307b3741401523e30eced562a1 (diff)
downloadfreebsd-ports-graphics-938fb667269dab1ac1fc8bacb5d0e9d933785404.tar.gz
freebsd-ports-graphics-938fb667269dab1ac1fc8bacb5d0e9d933785404.tar.zst
freebsd-ports-graphics-938fb667269dab1ac1fc8bacb5d0e9d933785404.zip
- Update to 0.3.24.
- Hack for github no longer required.
Diffstat (limited to 'net-p2p')
-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 9dbdeb34b05..e142e224b0d 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 19b848cb700..40b8477ad83 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