Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Apr 2017 19:29:57 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r438594 - head/games/blockout
Message-ID:  <201704151929.v3FJTvlt085955@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Sat Apr 15 19:29:56 2017
New Revision: 438594
URL: https://svnweb.freebsd.org/changeset/ports/438594

Log:
  Add .desktop entry and icon.

Modified:
  head/games/blockout/Makefile
  head/games/blockout/pkg-plist

Modified: head/games/blockout/Makefile
==============================================================================
--- head/games/blockout/Makefile	Sat Apr 15 17:46:02 2017	(r438593)
+++ head/games/blockout/Makefile	Sat Apr 15 19:29:56 2017	(r438594)
@@ -3,7 +3,7 @@
 
 PORTNAME=	blockout
 PORTVERSION=	2.5
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	games
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/BlockOut%20${PORTVERSION}/ \
 		http://www.stasyan.com/devel/distfiles/
@@ -29,6 +29,13 @@ BUILD_WRKSRC=	${WRKSRC}/BlockOut
 
 OPTIONS_DEFINE=	DOCS
 
+DESKTOP_ENTRIES="BlockOut" \
+		"" \
+		"${PREFIX}/share/pixmaps/block_icon.ico" \
+		"${PORTNAME}" \
+		"" \
+		""
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' ${WRKSRC}/BlockOut/Utils.cpp
 
@@ -38,6 +45,7 @@ pre-build:
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/BlockOut/blockout ${STAGEDIR}${PREFIX}/bin
 	cd ${WRKDIR}/blockout && ${COPYTREE_SHARE} "images sounds" ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/BlockOut/block_icon.ico ${STAGEDIR}${PREFIX}/share/pixmaps
 
 do-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}

Modified: head/games/blockout/pkg-plist
==============================================================================
--- head/games/blockout/pkg-plist	Sat Apr 15 17:46:02 2017	(r438593)
+++ head/games/blockout/pkg-plist	Sat Apr 15 19:29:56 2017	(r438594)
@@ -1,4 +1,5 @@
 bin/blockout
+share/pixmaps/block_icon.ico
 %%DATADIR%%/images/background.png
 %%DATADIR%%/images/background2.png
 %%DATADIR%%/images/background3.png



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704151929.v3FJTvlt085955>