ports/188191: [MAINTAINER] net-p2p/bitcoin: Update to 0.9.0, add icon and desktop file, support staging

Robert Backahus robbak at robbak.com
Wed Apr 2 08:50:00 UTC 2014


>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 at 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:


More information about the freebsd-ports-bugs mailing list