Date: Wed, 2 Apr 2014 18:44:40 +1000 (EST) From: Robert Backahus <robbak@robbak.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/188191: [MAINTAINER] net-p2p/bitcoin: Update to 0.9.0, add icon and desktop file, support staging Message-ID: <201404020844.s328ieHm045879@boffin.lan> Resent-Message-ID: <201404020850.s328o0pb048095@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 188191 >Category: ports >Synopsis: [MAINTAINER] net-p2p/bitcoin: Update to 0.9.0, add icon and desktop file, support staging >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Apr 02 08:50:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Robert Backahus >Release: FreeBSD 9.2-STABLE amd64 >Organization: >Environment: System: FreeBSD boffin 9.2-STABLE FreeBSD 9.2-STABLE #0: Tue Mar 25 13:39:37 EST 2014 >Description: The important 0.9.0 update is here. This port now installs both the command line and daemon versions as well as the GUI, if requested. This means that the seperate bitcoin-daemon port is now redundant, and conflicts this port. Generated with FreeBSD Port Tools 1.00.2014.03.23 (mode: change, diff: SVN) >How-To-Repeat: >Fix: --- bitcoin-0.9.0.patch begins here --- Index: Makefile =================================================================== --- Makefile (revision 25198) +++ Makefile (working copy) @@ -12,7 +12,7 @@ MAINTAINER= robbak@robbak.com COMMENT= Virtual Peer-to-Peer Currency Client -LICENSE= MIT +LICENSE= MIT BUILD_DEPENDS= protoc:${PORTSDIR}/devel/protobuf \ pkg-config:${PORTSDIR}/devel/pkgconf @@ -42,7 +42,6 @@ USE_BDB= yes WANT_BDB_VER= 48 - CXXFLAGS+= -I${LOCALBASE}/include -I${BDB_INCLUDE_DIR} CXXFLAGS+= -L${LOCALBASE}/lib -L${BDB_LIB_DIR} CXXFLAGS+= -Wno-invalid-offsetof @@ -53,7 +52,8 @@ .if ${PORT_OPTIONS:MGUI} && !defined(WITHOUT_X11) USE_QT4= corelib gui qmake_build linguist uic moc rcc qtestlib_build -PLIST_FILES= %%QT_BINDIR%%/bitcoin-qt %%QT_BINDIR%%/bitcoind %%QT_BINDIR%%/bitcoin-cli +PLIST_FILES= %%QT_BINDIR%%/bitcoin-qt %%QT_BINDIR%%/bitcoind %%QT_BINDIR%%/bitcoin-cli +PLIST_FILES+= share/applications/bitcoin-qt.desktop share/pixmaps/bitcoin128.png CONFIGURE_ARGS+=--with-gui .else PLIST_FILES= bin/bitcoind bin/bitcoin-cli @@ -85,4 +85,11 @@ post-patch: ${MKDIR} ${WRKSRC}/src/build-aux +post-install: +.if ${PORT_OPTIONS:MGUI} && !defined(WITHOUT_X11) + ${REINPLACE_CMD} -e 's,=/usr,=${PREFIX},' ${WRKSRC}/contrib/debian/bitcoin-qt.desktop + ${INSTALL} ${WRKSRC}/contrib/debian/bitcoin-qt.desktop ${STAGEDIR}${PREFIX}/share/applications + ${INSTALL} ${WRKSRC}/share/pixmaps/bitcoin128.png ${STAGEDIR}${PREFIX}/share/pixmaps/ +.endif + .include <bsd.port.post.mk> --- bitcoin-0.9.0.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404020844.s328ieHm045879>