From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jan 17 03:10:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1E685CE1 for ; Fri, 17 Jan 2014 03:10:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id ED22715E1 for ; Fri, 17 Jan 2014 03:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s0H3A0Q8020146 for ; Fri, 17 Jan 2014 03:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s0H3A0of020145; Fri, 17 Jan 2014 03:10:00 GMT (envelope-from gnats) Resent-Date: Fri, 17 Jan 2014 03:10:00 GMT Resent-Message-Id: <201401170310.s0H3A0of020145@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Steve Wills Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BB1ECCD6 for ; Fri, 17 Jan 2014 03:09:31 +0000 (UTC) Received: from mouf.net (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6726515D8 for ; Fri, 17 Jan 2014 03:09:31 +0000 (UTC) Received: from meatwad.mouf.net (cpe-107-015-170-205.nc.res.rr.com [107.15.170.205]) by mouf.net (8.14.5/8.14.5) with ESMTP id s0H39O17098293 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 17 Jan 2014 03:09:29 GMT (envelope-from swills@meatwad.mouf.net) Received: (from swills@localhost) by meatwad.mouf.net (8.14.7/8.14.5/Submit) id s0H39N7l046377; Fri, 17 Jan 2014 03:09:23 GMT (envelope-from swills) Message-Id: <201401170309.s0H39N7l046377@meatwad.mouf.net> Date: Fri, 17 Jan 2014 03:09:23 GMT From: Steve Wills To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/185834: [PATCH] net-p2p/bitcoin: support stage dir and install icon Cc: robbak@robbak.com X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jan 2014 03:10:01 -0000 >Number: 185834 >Category: ports >Synopsis: [PATCH] net-p2p/bitcoin: support stage dir and install icon >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jan 17 03:10:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Steve Wills >Release: FreeBSD 11.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD meatwad.mouf.net 11.0-CURRENT FreeBSD 11.0-CURRENT #4 r260369M: Sat Jan 11 18:52:32 UTC >Description: - Support stage dir - Install icon Port maintainer (robbak@robbak.com) is cc'd. Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: SVN) >How-To-Repeat: >Fix: --- bitcoin-0.8.6_1.patch begins here --- Index: Makefile =================================================================== --- Makefile (revision 340010) +++ Makefile (working copy) @@ -3,6 +3,7 @@ PORTNAME= bitcoin PORTVERSION= 0.8.6 +PORTREVISION= 1 CATEGORIES= net-p2p finance MASTER_SITES= ${MASTER_SITE_LOCAL} \ http://people.freebsd.org/~swills/ \ @@ -35,7 +36,6 @@ CXXFLAGS+= -L${LOCALBASE}/lib -L${BDB_LIB_DIR} CXXFLAGS+= -Wno-invalid-offsetof -NO_STAGE= yes .include .if ${PORT_OPTIONS:MGUI} && !defined(WITHOUT_X11) @@ -65,6 +65,10 @@ .include +.if ${PORT_OPTIONS:MGUI} && !defined(WITHOUT_X11) +PLIST_FILES+= share/applications/bitcoin-qt.desktop share/pixmaps/bitcoin128.png +.endif + post-patch: .if !${PORT_OPTIONS:MGUI} || defined(WITHOUT_X11) @cd ${WRKSRC}/src && ${CP} -p makefile.unix Makefile @@ -86,7 +90,10 @@ do-install: @${MKDIR} ${PREFIX}/bin .if ${PORT_OPTIONS:MGUI} && !defined(WITHOUT_X11) - ${INSTALL_PROGRAM} ${WRKSRC}/${BINARY} ${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKSRC}/${BINARY} ${STAGEDIR}${PREFIX}/bin/ + ${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/ .else ${INSTALL_PROGRAM} ${WRKSRC}/src/${BINARY} ${PREFIX}/bin/ .endif --- bitcoin-0.8.6_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: