diff options
author | Steve Wills <swills@FreeBSD.org> | 2014-01-17 04:30:47 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2014-01-17 04:30:47 +0000 |
commit | 6af7482ae86c6c5c1e290c266e14502dbff16223 (patch) | |
tree | 515e80663cc8b96277d050fa1a4610e292c700eb /net-p2p/dogecoin | |
parent | 0ecea0c78eec4fafd09d4bc6717d72b53eea868f (diff) | |
download | ports-6af7482ae86c6c5c1e290c266e14502dbff16223.tar.gz ports-6af7482ae86c6c5c1e290c266e14502dbff16223.zip |
Notes
Diffstat (limited to 'net-p2p/dogecoin')
-rw-r--r-- | net-p2p/dogecoin/Makefile | 14 | ||||
-rw-r--r-- | net-p2p/dogecoin/files/dogecoin-qt.desktop.in | 10 |
2 files changed, 21 insertions, 3 deletions
diff --git a/net-p2p/dogecoin/Makefile b/net-p2p/dogecoin/Makefile index bd568a02a317..9f9c3b32685d 100644 --- a/net-p2p/dogecoin/Makefile +++ b/net-p2p/dogecoin/Makefile @@ -3,6 +3,7 @@ PORTNAME= dogecoin PORTVERSION= 1.4 +PORTREVISION= 1 CATEGORIES= net-p2p finance MASTER_SITES= ${MASTER_SITE_LOCAL} \ http://people.freebsd.org/~swills/ \ @@ -37,7 +38,6 @@ CXXFLAGS+= -I${LOCALBASE}/include -I${BDB_INCLUDE_DIR} 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,8 +65,14 @@ QMAKE_USE_UPNP= 1 QMAKE_USE_UPNP= - .endif +SUB_FILES+= dogecoin-qt.desktop + .include <bsd.port.pre.mk> +.if ${PORT_OPTIONS:MGUI} && !defined(WITHOUT_X11) +PLIST_FILES+= share/applications/dogecoin-qt.desktop share/pixmaps/dogecoin64.png +.endif + post-patch: .if !${PORT_OPTIONS:MGUI} || defined(WITHOUT_X11) @cd ${WRKSRC}/src && ${CP} -p makefile.unix Makefile @@ -88,9 +94,11 @@ do-configure: 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/ + ${INSTALL} ${WRKDIR}/dogecoin-qt.desktop ${STAGEDIR}${PREFIX}/share/applications + ${INSTALL} ${WRKSRC}/src/qt/res/icons/bitcoin.png ${STAGEDIR}${PREFIX}/share/pixmaps/dogecoin64.png .else - ${INSTALL_PROGRAM} ${WRKSRC}/src/${BINARY} ${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKSRC}/src/${BINARY} ${STAGEDIR}${PREFIX}/bin/ .endif .include <bsd.port.post.mk> diff --git a/net-p2p/dogecoin/files/dogecoin-qt.desktop.in b/net-p2p/dogecoin/files/dogecoin-qt.desktop.in new file mode 100644 index 000000000000..e7daa4ae94c1 --- /dev/null +++ b/net-p2p/dogecoin/files/dogecoin-qt.desktop.in @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Dogecoin +Comment=Dogecoin P2P Cryptocurrency +Exec=%%PREFIX%%/bin/dogecoin-qt %u +Terminal=false +Type=Application +Icon=%%PREFIX%%/share/pixmaps/dogecoin64.png +MimeType=x-scheme-handler/dogecoin; +Categories=Office; |