git: 4c1826a822c8 - main - games/gunfudeadlands: install desktop entry
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed May 19 15:22:54 UTC 2021
The branch main has been updated by amdmi3:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4c1826a822c85671c450e4e7f55b872da6ec5ae6
commit 4c1826a822c85671c450e4e7f55b872da6ec5ae6
Author: Dmitry Marakasov <amdmi3 at FreeBSD.org>
AuthorDate: 2021-05-19 15:19:38 +0000
Commit: Dmitry Marakasov <amdmi3 at 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>
More information about the dev-commits-ports-all
mailing list