Date: Fri, 17 Jan 2014 03:09:23 GMT From: Steve Wills <swills@freebsd.org> To: FreeBSD-gnats-submit@freebsd.org Cc: robbak@robbak.com Subject: ports/185834: [PATCH] net-p2p/bitcoin: support stage dir and install icon Message-ID: <201401170309.s0H39N7l046377@meatwad.mouf.net> Resent-Message-ID: <201401170310.s0H3A0of020145@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.options.mk> .if ${PORT_OPTIONS:MGUI} && !defined(WITHOUT_X11) @@ -65,6 +65,10 @@ .include <bsd.port.pre.mk> +.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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401170309.s0H39N7l046377>