From ca7b30fe9e4d4f2f6cb72fab91b3b414edba4b52 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Tue, 10 Jun 2014 12:09:22 +0000 Subject: - Install desktop entry and an icon Submitted by: Kevin Zheng --- games/luola/Makefile | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'games') diff --git a/games/luola/Makefile b/games/luola/Makefile index ac44733adf05..235ef53421b0 100644 --- a/games/luola/Makefile +++ b/games/luola/Makefile @@ -3,7 +3,7 @@ PORTNAME= luola PORTVERSION= 1.3.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MASTER_SITES= http://mirror.amdmi3.ru/distfiles/ # master site gone DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ @@ -19,14 +19,22 @@ USES= gmake USE_SDL= sdl image ttf CONFIGURE_ARGS= --program-prefix='' -PLIST_FILES= bin/${PORTNAME} +PLIST_FILES= bin/${PORTNAME} \ + share/pixmaps/${PORTNAME}.png PORTDOCS= * PORTDATA= * +DESKTOP_ENTRIES="Luola" \ + "" \ + "luola" \ + "luola" \ + "Game;ArcadeGame;" \ + false + OPTIONS_DEFINE= SDL_GFX SOUND DOCS OPTIONS_DEFAULT=SDL_GFX SOUND -SDL_GFX_DESC= Nicer graphics +SDL_GFX_DESC= Nicer graphics SDL_GFX_USE= SDL=gfx SDL_GFX_CONFIGURE_ENABLE=sdl-gfx SOUND_USE= SDL=mixer @@ -37,6 +45,7 @@ post-patch: post-install: ${INSTALL_DATA} ${WRKDIR}/*.lev ${WRKDIR}/*.png ${STAGEDIR}${DATADIR}/levels/ + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/FAQ ${STAGEDIR}${DOCSDIR}/ -- cgit