From owner-svn-ports-head@FreeBSD.ORG Sun Oct 21 02:24:31 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0E3B3671; Sun, 21 Oct 2012 02:24:31 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E5DFF8FC08; Sun, 21 Oct 2012 02:24:30 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9L2OU9G060219; Sun, 21 Oct 2012 02:24:30 GMT (envelope-from swills@svn.freebsd.org) Received: (from swills@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9L2OURV060216; Sun, 21 Oct 2012 02:24:30 GMT (envelope-from swills@svn.freebsd.org) Message-Id: <201210210224.q9L2OURV060216@svn.freebsd.org> From: Steve Wills Date: Sun, 21 Oct 2012 02:24:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306214 - head/net-p2p/bitcoin X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2012 02:24:31 -0000 Author: swills Date: Sun Oct 21 02:24:30 2012 New Revision: 306214 URL: http://svn.freebsd.org/changeset/ports/306214 Log: - Update to 0.7.1 - Update db version to 4.8, for compatability with data files from other OSs - Convert to OptionsNG - Remove no-op sed commands. - Pet portlint PR: ports/172839 Submitted by: Robert Backahus (maintainer) Feature safe: yes Modified: head/net-p2p/bitcoin/Makefile head/net-p2p/bitcoin/distinfo Modified: head/net-p2p/bitcoin/Makefile ============================================================================== --- head/net-p2p/bitcoin/Makefile Sun Oct 21 01:23:22 2012 (r306213) +++ head/net-p2p/bitcoin/Makefile Sun Oct 21 02:24:30 2012 (r306214) @@ -6,7 +6,7 @@ # PORTNAME= bitcoin -PORTVERSION= 0.7.0 +PORTVERSION= 0.7.1 CATEGORIES= net-p2p finance MAINTAINER= robbak@robbak.com @@ -14,20 +14,23 @@ COMMENT= Virtual Peer-to-Peer Currency C LIB_DEPENDS= boost_date_time:${PORTSDIR}/devel/boost-libs -OPTIONS= GUI "Build with QT3 GUI" on \ - UPNP "Build with UPNP support" off \ - QRCODES "Build with QR code display" on +OPTIONS_DEFINE= GUI UPNP QRCODES +OPTIONS_DEFAULT= GUI QRCODES -USE_GITHUB= yes -GH_ACCOUNT= bitcoin +GUI_DESC= Build as a QT3 GUI +UPNP_DESC= Build with UPNP support +QRCODES_DESC= Build with QR code display + +USE_GITHUB= yes +GH_ACCOUNT= bitcoin GH_PROJECT= bitcoin -GH_COMMIT= a76c22e +GH_COMMIT= d082365 GH_TAGNAME= v${PORTVERSION} USE_GMAKE= yes USE_OPENSSL= yes USE_BDB= yes -WANT_BDB_VER= 47 +WANT_BDB_VER= 48 CXXFLAGS+= -I${LOCALBASE}/include -I${BDB_INCLUDE_DIR} CXXFLAGS+= -L${LOCALBASE}/lib -L${BDB_LIB_DIR} @@ -35,7 +38,7 @@ CXXFLAGS+= -Wno-invalid-offsetof .include -.if defined(WITH_GUI) && !defined(WITHOUT_X11) +.if ${PORT_OPTIONS:MGUI} && !defined(WITHOUT_X11) USE_QT_VER= 4 USE_QT4= corelib gui qmake_build linguist uic moc rcc BINARY= bitcoin-qt @@ -45,7 +48,7 @@ ALL_TARGET= ${BINARY} MAKE_ARGS+= -C ${WRKSRC}/src .endif -.if defined(WITH_QRCODES) +.if ${PORT_OPTIONS:MQRCODES} LIB_DEPENDS+= qrencode:${PORTSDIR}/graphics/libqrencode QMAKE_USE_QRCODE=1 .else @@ -54,7 +57,7 @@ QMAKE_USE_QRCODE=0 PLIST_FILES= bin/${BINARY} -.if defined(WITH_UPNP) +.if ${PORT_OPTIONS:MUPNP} LIB_DEPENDS+= miniupnpc:${PORTSDIR}/net/miniupnpc QMAKE_USE_UPNP= 1 .else @@ -67,19 +70,17 @@ post-patch: @${CP} ${WRKSRC}/src/protocol.h ${WRKSRC}/src/protocol.h.orig @${AWK} 'BEGIN { f = 0 } { if ( $$0 ~ /^#include/ && f == 0 ) { f = 1; print "#include "; print "#include " }; print }' \ ${WRKSRC}/src/protocol.h.orig > ${WRKSRC}/src/protocol.h - +.if !${PORT_OPTIONS:MGUI} || defined(WITHOUT_X11) @cd ${WRKSRC}/src && ${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|^USE_UPNP.*$$|USE_UPNP=${QMAKE_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}/src/Makefile +.endif do-configure: -.if defined(WITH_GUI) && !defined(WITHOUT_X11) +.if ${PORT_OPTIONS:MGUI} && !defined(WITHOUT_X11) cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ ${QMAKE} USE_UPNP=${QMAKE_USE_UPNP} USE_QRCODE=${QMAKE_USE_QRCODE} \ QMAKE_LRELEASE=lrelease-qt4 PREFIX=${PREFIX} INCLUDEPATH=${BDB_INCLUDE_DIR} \ @@ -88,7 +89,7 @@ do-configure: do-install: @${MKDIR} ${PREFIX}/bin -.if defined(WITH_GUI) && !defined(WITHOUT_X11) +.if ${PORT_OPTIONS:MGUI} && !defined(WITHOUT_X11) ${INSTALL_PROGRAM} ${WRKSRC}/${BINARY} ${PREFIX}/bin/ .else ${INSTALL_PROGRAM} ${WRKSRC}/src/${BINARY} ${PREFIX}/bin/ Modified: head/net-p2p/bitcoin/distinfo ============================================================================== --- head/net-p2p/bitcoin/distinfo Sun Oct 21 01:23:22 2012 (r306213) +++ head/net-p2p/bitcoin/distinfo Sun Oct 21 02:24:30 2012 (r306214) @@ -1,2 +1,2 @@ -SHA256 (bitcoin-0.7.0.tar.gz) = d0b5ca34c61e8fbd6dca53f2730fa3d8e3df1f7bb40d5e42f8ea4cd3bf32a221 -SIZE (bitcoin-0.7.0.tar.gz) = 1603153 +SHA256 (bitcoin-0.7.1.tar.gz) = eb1c4bb59a6a6557e59dec5d90ab7c45b660898f535fafaeaed051aeb347b94d +SIZE (bitcoin-0.7.1.tar.gz) = 1623510