Date: Wed, 19 May 2021 15:22:54 GMT From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: aca85df3df78 - main - games/mari0: install desktop entry Message-ID: <202105191522.14JFMsav021626@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=aca85df3df7844ce86caa189216644b7699da6ad commit aca85df3df7844ce86caa189216644b7699da6ad Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2021-05-19 15:20:31 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> 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 <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105191522.14JFMsav021626>