Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Apr 2017 13:57:15 +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: r438442 - in head/games/bloboats: . files
Message-ID:  <201704131357.v3DDvFAI057645@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Apr 13 13:57:14 2017
New Revision: 438442
URL: https://svnweb.freebsd.org/changeset/ports/438442

Log:
  Provide a desktop file and icon

Added:
  head/games/bloboats/files/bloboats.desktop   (contents, props changed)
Modified:
  head/games/bloboats/Makefile
  head/games/bloboats/pkg-plist

Modified: head/games/bloboats/Makefile
==============================================================================
--- head/games/bloboats/Makefile	Thu Apr 13 12:56:14 2017	(r438441)
+++ head/games/bloboats/Makefile	Thu Apr 13 13:57:14 2017	(r438442)
@@ -4,7 +4,7 @@
 PORTNAME=	bloboats
 PORTVERSION=	1.0.2
 DISTVERSIONSUFFIX=	-source
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	games
 MASTER_SITES=	http://bloboats.dy.fi/mirror/ \
 		LOCAL/ehaupt
@@ -25,4 +25,9 @@ WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVER
 
 DOS2UNIX_FILES=	src/*.cpp
 
+post-install:
+	${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
+	${INSTALL_DATA} ${WRKSRC}/data/images/icon.png \
+		${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
+
 .include <bsd.port.mk>

Added: head/games/bloboats/files/bloboats.desktop
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/bloboats/files/bloboats.desktop	Thu Apr 13 13:57:14 2017	(r438442)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=Bloboats
+GenericName=Boat racing game in the spirit of Elasto Mania or X-Moto
+Comment=Boat racing game in the spirit of Elasto Mania or X-Moto
+Icon=bloboats
+Exec=bloboats
+Categories=Game;
+StartupNotify=false

Modified: head/games/bloboats/pkg-plist
==============================================================================
--- head/games/bloboats/pkg-plist	Thu Apr 13 12:56:14 2017	(r438441)
+++ head/games/bloboats/pkg-plist	Thu Apr 13 13:57:14 2017	(r438442)
@@ -113,3 +113,5 @@ etc/bloboats.dirs
 %%DATADIR%%/defaults/private/ghost/ghost.txt
 %%DATADIR%%/defaults/private/records/records.txt
 %%DATADIR%%/defaults/private/levels.dat
+share/applications/bloboats.desktop
+share/pixmaps/bloboats.png



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