svn commit: r438442 - in head/games/bloboats: . files

Emanuel Haupt ehaupt at FreeBSD.org
Thu Apr 13 14:25:07 UTC 2017


Alexey Dokuchaev <danfe at FreeBSD.org> wrote:
> 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?

Indeed. Thanks for the pointer.


More information about the svn-ports-all mailing list