aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-06-10 20:09:22 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-06-10 20:09:22 +0800
commitca7b30fe9e4d4f2f6cb72fab91b3b414edba4b52 (patch)
tree1d6bde66214130992ad8c8c0d3273a1e6bb49e6c /games
parent7e0781d9f541ebdbc5720dc77a4a374f26f062a8 (diff)
downloadfreebsd-ports-gnome-ca7b30fe9e4d4f2f6cb72fab91b3b414edba4b52.tar.gz
freebsd-ports-gnome-ca7b30fe9e4d4f2f6cb72fab91b3b414edba4b52.tar.zst
freebsd-ports-gnome-ca7b30fe9e4d4f2f6cb72fab91b3b414edba4b52.zip
- Install desktop entry and an icon
Submitted by: Kevin Zheng <kevinz5000 at gmail dot com>
Diffstat (limited to 'games')
-rw-r--r--games/luola/Makefile15
1 files changed, 12 insertions, 3 deletions
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}/