From owner-svn-ports-all@freebsd.org Thu Apr 13 14:16:43 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 13604D3C769; Thu, 13 Apr 2017 14:16:43 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E8C59CA7; Thu, 13 Apr 2017 14:16:42 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id 0F6B064DB; Thu, 13 Apr 2017 14:16:42 +0000 (UTC) Date: Thu, 13 Apr 2017 14:16:42 +0000 From: Alexey Dokuchaev To: Emanuel Haupt 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> References: <201704131357.v3DDvFAI057645@repo.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201704131357.v3DDvFAI057645@repo.freebsd.org> User-Agent: Mutt/1.7.1 (2016-10-04) X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Apr 2017 14:16:43 -0000 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 > > 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