Date: Wed, 19 May 2021 15:22:53 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: 4c1826a822c8 - main - games/gunfudeadlands: install desktop entry Message-ID: <202105191522.14JFMrDr021605@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=4c1826a822c85671c450e4e7f55b872da6ec5ae6 commit 4c1826a822c85671c450e4e7f55b872da6ec5ae6 Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2021-05-19 15:19:38 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> CommitDate: 2021-05-19 15:21:33 +0000 games/gunfudeadlands: install desktop entry --- games/gunfudeadlands/Makefile | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/games/gunfudeadlands/Makefile b/games/gunfudeadlands/Makefile index bbee1551b133..ea4dd9809e77 100644 --- a/games/gunfudeadlands/Makefile +++ b/games/gunfudeadlands/Makefile @@ -1,6 +1,6 @@ PORTNAME= gunfudeadlands PORTVERSION= 1.01 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/GunFu%20Deadlands%20${PORTVERSION}/ DISTNAME= GunFuDeadlands_${PORTVERSION:C/\.//}_src @@ -17,20 +17,31 @@ USES= zip NO_BUILD= yes NO_ARCH= yes -SUB_FILES= gunfudeadlands +SUB_FILES= ${PORTNAME} -PLIST_FILES= bin/gunfudeadlands +PLIST_FILES= bin/${PORTNAME} share/pixmaps/${PORTNAME}.png PORTDOCS= * PORTDATA= * +DESKTOP_ENTRIES="GunFu Deadlands" \ + "" \ + "${PREFIX}/share/pixmaps/${PORTNAME}.png" \ + "${PORTNAME}" \ + "Game;ArcadeGame;" \ + "" + OPTIONS_DEFINE= DOCS do-install: - ${MKDIR} ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} \ ${STAGEDIR}${DATADIR}/GunFuDeadlands.zip ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin - ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKDIR}/images/guy.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png + +do-install-DOCS-on: + @${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.14JFMrDr021605>