From 9e305a5abe9e0cc4aca2b90d9a8a39cea03f8dd1 Mon Sep 17 00:00:00 2001 From: Max Brazhnikov Date: Thu, 19 Aug 2010 20:23:15 +0000 Subject: [PATCH] Add desktop entry Approved by: amdmi3 (maintainer via jabber) --- games/spacejunk/Makefile | 8 ++++++++ games/tecnoballz/Makefile | 9 ++++++++- games/tomatoes/Makefile | 13 +++++++++++-- 3 files changed, 27 insertions(+), 3 deletions(-) diff --git a/games/spacejunk/Makefile b/games/spacejunk/Makefile index 4414ec875681..c221dab5c0e1 100644 --- a/games/spacejunk/Makefile +++ b/games/spacejunk/Makefile @@ -7,6 +7,7 @@ PORTNAME= spacejunk PORTVERSION= 1.0.4 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} @@ -26,6 +27,13 @@ SUB_FILES= spacejunk PORTDOCS= * +DESKTOP_ENTRIES= "Spacejunk" \ + "Collect garbage by navigating through the gravitational fields of planets and stars" \ + "" \ + "spacejunk" \ + "Game;ArcadeGame;" \ + false + .include .if ${ARCH} == "sparc64" diff --git a/games/tecnoballz/Makefile b/games/tecnoballz/Makefile index 278468048483..5cffa473bbd2 100644 --- a/games/tecnoballz/Makefile +++ b/games/tecnoballz/Makefile @@ -7,7 +7,7 @@ PORTNAME= tecnoballz PORTVERSION= 0.92 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= games MASTER_SITES= http://linux.tlk.fr/games/TecnoballZ/download/ \ http://mirror.amdmi3.ru/distfiles/ @@ -28,6 +28,13 @@ GNU_CONFIGURE= yes MAN6= tecnoballz.6 +DESKTOP_ENTRIES= "TecnoballZ" \ + "A brick breaker (Arkanoid-like game)" \ + "" \ + "tecnoballz" \ + "Game;ArcadeGame;" \ + false + post-patch: @${FIND} ${WRKSRC}/include -name '*.h' | ${XARGS} ${REINPLACE_CMD} \ -e 's|SDL/||' diff --git a/games/tomatoes/Makefile b/games/tomatoes/Makefile index 7815a7a1503d..d9bd34c76d1e 100644 --- a/games/tomatoes/Makefile +++ b/games/tomatoes/Makefile @@ -7,7 +7,7 @@ PORTNAME= tomatoes PORTVERSION= 1.5 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= games MASTER_SITES= SF DISTFILES= ${PORTNAME}-linux-src-${PORTVERSION}5${EXTRACT_SUFX} \ @@ -35,7 +35,8 @@ MAKE_ARGS= CC="${CXX}" \ PLIST_FILES= bin/tomatoes \ %%DATADIR%%/config.cfg \ %%DATADIR%%/music/IHaveNoTomatoes.it \ - %%DATADIR%%/tomatoes.mpk + %%DATADIR%%/tomatoes.mpk \ + %%DATADIR%%/icon.png PLIST_DIRS= %%DATADIR%%/music \ %%DATADIR%% @@ -43,6 +44,13 @@ SDL_CFLAGS= `${SDL_CONFIG} --cflags` -I${LOCALBASE}/include SDL_LDFLAGS= `${SDL_CONFIG} --libs` -lSDL_image -lSDL_mixer \ -L${LOCALBASE}/lib -lGL -lGLU +DESKTOP_ENTRIES= "Tomatoes" \ + "I Have No Tomatoes" \ + "${DATADIR}/icon.png" \ + "tomatoes" \ + "Game;ArcadeGame;" \ + false + .include post-patch: @@ -56,6 +64,7 @@ do-install: ${MKDIR} ${DATADIR}/music ${INSTALL_DATA} ${TDATA}/config.cfg ${DATADIR} ${INSTALL_DATA} ${TDATA}/tomatoes.mpk ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/icon.png ${DATADIR} ${INSTALL_DATA} ${TDATA}/music/IHaveNoTomatoes.it ${DATADIR}/music .include