1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Add desktop entry

Approved by:	amdmi3 (maintainer via jabber)
This commit is contained in:
Max Brazhnikov 2010-08-19 20:23:15 +00:00
parent 743ac0ebed
commit 9e305a5abe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=259590
3 changed files with 27 additions and 3 deletions

View File

@ -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 <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"

View File

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

View File

@ -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 <bsd.port.pre.mk>
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 <bsd.port.post.mk>