diff options
author | Shaun Amott <shaun@FreeBSD.org> | 2011-07-01 22:21:35 +0000 |
---|---|---|
committer | Shaun Amott <shaun@FreeBSD.org> | 2011-07-01 22:21:35 +0000 |
commit | 3558c33de327d04ca904379152964aaec36a4f5a (patch) | |
tree | c2aa423787eecac0449797194ada14e574c51c1f /net-p2p | |
parent | acdebcff7eb1048b1fe2dbd4c0a9b9f5ae074051 (diff) | |
download | ports-3558c33de327d04ca904379152964aaec36a4f5a.tar.gz ports-3558c33de327d04ca904379152964aaec36a4f5a.zip |
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/bitcoin/Makefile | 32 | ||||
-rw-r--r-- | net-p2p/bitcoin/distinfo | 4 |
2 files changed, 27 insertions, 9 deletions
diff --git a/net-p2p/bitcoin/Makefile b/net-p2p/bitcoin/Makefile index a345cca11272..9dbdeb34b05e 100644 --- a/net-p2p/bitcoin/Makefile +++ b/net-p2p/bitcoin/Makefile @@ -6,12 +6,11 @@ # PORTNAME= bitcoin -PORTVERSION= 0.3.21 -PORTREVISION= 1 +PORTVERSION= 0.3.23 CATEGORIES= net-p2p finance MASTER_SITES= https://download.github.com/ \ http://mirror.inerd.com/FreeBSD/distfiles/${PORTNAME}/ -DISTFILES= bitcoin-bitcoin-v${PORTVERSION}-0-g64ad448.tar.gz +DISTFILES= bitcoin-bitcoin-v${PORTVERSION}-0-gce14894.tar.gz MAINTAINER= shaun@FreeBSD.org COMMENT= Virtual Peer-to-Peer Currency Client @@ -29,8 +28,11 @@ WANT_BDB_VER= 47 # 4.8 doesn't work CXXFLAGS+= -I${LOCALBASE}/include -I${BDB_INCLUDE_DIR} CXXFLAGS+= -L${LOCALBASE}/lib -L${BDB_LIB_DIR} +CXXFLAGS+= -Wno-invalid-offsetof -WRKSRC= ${WRKDIR}/bitcoin-bitcoin-1f578d2 +WRKSRC= ${WRKDIR}/bitcoin-bitcoin-ebdab6d/src + +LOCALES= cs de eo es fr it lt nl pt ru zh_cn .include <bsd.port.options.mk> @@ -40,11 +42,14 @@ USE_GNOME= gtk20 #USE_WX= 2.9+ BUILD_DEPENDS+= ${LOCALBASE}/include/wx-2.9/wx/aboutdlg.h:${PORTSDIR}/x11-toolkits/wxgtk29 +RUN_DEPENDS+= ${LOCALBASE}/include/wx-2.9/wx/aboutdlg.h:${PORTSDIR}/x11-toolkits/wxgtk29 WX_CONFIG= ${LOCALBASE}/bin/wxgtk2u-2.9-config BINARY= bitcoin PLIST_FILES= bin/${BINARY} .else +USE_GNOME= glib20 + BINARY= bitcoind ALL_TARGET= ${BINARY} PLIST_FILES= bin/${BINARY} @@ -55,6 +60,12 @@ LIB_DEPENDS+= miniupnpc:${PORTSDIR}/net/miniupnpc MAKE_ENV+= USE_UPNP=yes .endif +.if !defined(WITHOUT_NLS) +PLIST_FILES+= ${LOCALES:C|^|share/locale/|:C|$|/LC_MESSAGES/bitcoin.mo|} +PLIST_DIRSTRY+= ${LOCALES:C|^|share/locale/|:C|$|/LC_MESSAGES|} +PLIST_DIRSTRY+= ${LOCALES:C|^|share/locale/|} +.endif + .include <bsd.port.pre.mk> pre-fetch: @@ -67,13 +78,12 @@ pre-fetch: .endif post-patch: - cd ${WRKSRC} && ${CP} -p makefile.unix Makefile - ${REINPLACE_CMD} \ + @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:-O3::' -e 's:-\(march=[A-Za-z0-9]*\)::g' \ - -e 's:-l z \\:-l z:' \ -e 's:-l dl::' \ ${WRKSRC}/Makefile @@ -81,4 +91,12 @@ do-install: @${MKDIR} ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/${BINARY} ${PREFIX}/bin/ +.if !defined(WITHOUT_NLS) +. for lo in ${LOCALES} + ${MKDIR} -p ${PREFIX}/share/locale/${lo}/LC_MESSAGES + ${INSTALL_DATA} ${WRKSRC}/../locale/${lo}/LC_MESSAGES/bitcoin.mo \ + ${PREFIX}/share/locale/${lo}/LC_MESSAGES/ +. endfor +.endif + .include <bsd.port.post.mk> diff --git a/net-p2p/bitcoin/distinfo b/net-p2p/bitcoin/distinfo index 6ce1a5aac8be..19b848cb7001 100644 --- a/net-p2p/bitcoin/distinfo +++ b/net-p2p/bitcoin/distinfo @@ -1,2 +1,2 @@ -SHA256 (bitcoin-bitcoin-v0.3.21-0-g64ad448.tar.gz) = 8c62d735a13d89c25c35996c828bcee96aa6e00adcffd294c494ae8d8b5924bb -SIZE (bitcoin-bitcoin-v0.3.21-0-g64ad448.tar.gz) = 383958 +SHA256 (bitcoin-bitcoin-v0.3.23-0-gce14894.tar.gz) = bf3e81e601839619597e88a51315780e2be1d0c320fab8303cdf63f94e0a81eb +SIZE (bitcoin-bitcoin-v0.3.23-0-gce14894.tar.gz) = 446803 |