Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Apr 2017 14:39:31 +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: r438447 - in head/games/bloboats: . files
Message-ID:  <201704131439.v3DEdVUW074601@repo.freebsd.org>

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

Log:
  Use DESKTOP_ENTRIES macro for desktop file.
  
  Notified by:	danfe

Deleted:
  head/games/bloboats/files/bloboats.desktop
Modified:
  head/games/bloboats/Makefile
  head/games/bloboats/pkg-plist

Modified: head/games/bloboats/Makefile
==============================================================================
--- head/games/bloboats/Makefile	Thu Apr 13 14:31:05 2017	(r438446)
+++ head/games/bloboats/Makefile	Thu Apr 13 14:39:31 2017	(r438447)
@@ -19,6 +19,13 @@ USES=		dos2unix gmake
 USE_SDL=	mixer image net sdl
 USE_GL=		gl glu
 
+DESKTOP_ENTRIES="Bloboats" \
+		"${COMMENT}" \
+		"${PORTNAME}" \
+		"${PORTNAME}" \
+		"Game;" \
+		false
+
 MAKE_ENV+=	DATADIR="${DATADIR}" STAGEDIR=${STAGEDIR}
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
@@ -26,7 +33,6 @@ 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
 

Modified: head/games/bloboats/pkg-plist
==============================================================================
--- head/games/bloboats/pkg-plist	Thu Apr 13 14:31:05 2017	(r438446)
+++ head/games/bloboats/pkg-plist	Thu Apr 13 14:39:31 2017	(r438447)
@@ -113,5 +113,4 @@ 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?201704131439.v3DEdVUW074601>