svn commit: r438442 - in head/games/bloboats: . files
Alexey Dokuchaev
danfe at FreeBSD.org
Thu Apr 13 14:16:43 UTC 2017
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
More information about the svn-ports-head
mailing list