- Install desktop entry and an icon

Submitted by:	Kevin Zheng <kevinz5000 at gmail dot com>
This commit is contained in:
Dmitry Marakasov 2014-06-10 12:09:22 +00:00
parent acf6cb5b38
commit ff48c35ae0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357299

View file

@ -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}/