From owner-dev-commits-ports-all@freebsd.org Wed May 19 15:22:55 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A2D42644A62; Wed, 19 May 2021 15:22:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Flc7g1HpHz4YBL; Wed, 19 May 2021 15:22:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 09BA1152BE; Wed, 19 May 2021 15:22:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 14JFMsiU021627; Wed, 19 May 2021 15:22:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14JFMsav021626; Wed, 19 May 2021 15:22:54 GMT (envelope-from git) Date: Wed, 19 May 2021 15:22:54 GMT Message-Id: <202105191522.14JFMsav021626@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitry Marakasov Subject: git: aca85df3df78 - main - games/mari0: install desktop entry MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: amdmi3 X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: aca85df3df7844ce86caa189216644b7699da6ad Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2021 15:22:55 -0000 The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=aca85df3df7844ce86caa189216644b7699da6ad commit aca85df3df7844ce86caa189216644b7699da6ad Author: Dmitry Marakasov AuthorDate: 2021-05-19 15:20:31 +0000 Commit: Dmitry Marakasov CommitDate: 2021-05-19 15:21:36 +0000 games/mari0: install desktop entry --- games/mari0/Makefile | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/games/mari0/Makefile b/games/mari0/Makefile index de2e2d88d2b2..175cc5439ccb 100644 --- a/games/mari0/Makefile +++ b/games/mari0/Makefile @@ -2,7 +2,7 @@ PORTNAME= mari0 PORTVERSION= 1.6 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MASTER_SITES= http://stabyourself.net/dl.php?file=${PORTNAME}-${PORTVERSION:C/\./00/}/ DISTNAME= ${PORTNAME}-source @@ -19,23 +19,35 @@ USES= zip NO_BUILD= yes NO_ARCH= yes -SUB_FILES= mari0 +SUB_FILES= ${PORTNAME} SUB_LIST+= PORTNAME=${PORTNAME} PORTVERSION=${PORTVERSION} -PLIST_FILES= bin/mari0 +PLIST_FILES= bin/${PORTNAME} share/pixmaps/${PORTNAME}.gif PORTDOCS= * PORTDATA= * +DESKTOP_ENTRIES="Mari0" \ + "" \ + "${PREFIX}/share/pixmaps/${PORTNAME}.gif" \ + "${PORTNAME}" \ + "Game;ArcadeGame;" \ + "" + OPTIONS_DEFINE= DOCS +post-extract: + @cd ${WRKDIR} && ${EXTRACT_CMD} ${PORTNAME}_${PORTVERSION}.love >/dev/null 2>&1 + do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${PORTVERSION}.love \ ${STAGEDIR}${DATADIR}/ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKDIR}/graphics/icon.gif \ + ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.gif post-install-DOCS-on: - ${MKDIR} ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKDIR}/readme.txt ${STAGEDIR}${DOCSDIR}/ .include