Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Apr 2017 14:16:42 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Emanuel Haupt <ehaupt@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r438442 - in head/games/bloboats: . files
Message-ID:  <20170413141642.GA86375@FreeBSD.org>
In-Reply-To: <201704131357.v3DDvFAI057645@repo.freebsd.org>
References:  <201704131357.v3DDvFAI057645@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 13, 2017 at 01:57:15PM +0000, Emanuel Haupt wrote:
> Author: ehaupt
> URL: https://svnweb.freebsd.org/changeset/ports/438442
> 
> Log:
>   Provide a desktop file and icon
> 
> ...
> +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

Wouldn't DESKTOP_ENTRIES be easier way?

./danfe



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