aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2009-09-12 05:57:40 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2009-09-12 05:57:40 +0800
commitf90defc705b5e50614708f42ca97498faaa69314 (patch)
tree378bb23bc57371de6bc523f040e16c9b4e498965 /games
parent004ff8b00abf45c6a99b49329d6e8aa1ddf27c1a (diff)
downloadfreebsd-ports-gnome-f90defc705b5e50614708f42ca97498faaa69314.tar.gz
freebsd-ports-gnome-f90defc705b5e50614708f42ca97498faaa69314.tar.zst
freebsd-ports-gnome-f90defc705b5e50614708f42ca97498faaa69314.zip
- Add DESKTOP_ENTRY to bunch of ports
- Mark some ports MAKE_JOBS_SAFE
Diffstat (limited to 'games')
-rw-r--r--games/agame/Makefile10
-rw-r--r--games/apricots/Makefile8
-rw-r--r--games/biloba/Makefile11
-rw-r--r--games/biloba/pkg-plist1
-rw-r--r--games/brainworkshop/Makefile7
-rw-r--r--games/crrcsim/Makefile8
-rw-r--r--games/fillets-ng/Makefile7
-rw-r--r--games/fishsupper/Makefile8
-rw-r--r--games/flobopuyo/Makefile8
-rw-r--r--games/gondola/Makefile7
-rw-r--r--games/hedgewars/Makefile7
-rw-r--r--games/jigzo/Makefile8
-rw-r--r--games/kartofel/Makefile8
-rw-r--r--games/kimboot/Makefile7
-rw-r--r--games/kobodeluxe/Makefile17
-rw-r--r--games/kobodeluxe/pkg-plist3
-rw-r--r--games/lander/Makefile7
-rw-r--r--games/legesmotus/Makefile7
-rw-r--r--games/linwarrior/Makefile7
-rw-r--r--games/magicor/Makefile7
-rw-r--r--games/meritous/Makefile7
-rw-r--r--games/ri-li/Makefile8
-rw-r--r--games/teeworlds/Makefile7
-rw-r--r--games/teeworlds/pkg-descr30
-rw-r--r--games/teeworlds/pkg-plist1
-rw-r--r--games/volleyball/Makefile8
-rw-r--r--games/widelands/Makefile7
-rw-r--r--games/wop/Makefile7
-rw-r--r--games/xbill/Makefile8
-rw-r--r--games/xmoto/Makefile7
-rw-r--r--games/xorgramana/Makefile9
-rw-r--r--games/xtron/Makefile18
-rw-r--r--games/zatacka/Makefile8
33 files changed, 256 insertions, 22 deletions
diff --git a/games/agame/Makefile b/games/agame/Makefile
index 16e15ff4f2ff..589784734f33 100644
--- a/games/agame/Makefile
+++ b/games/agame/Makefile
@@ -9,7 +9,7 @@ PORTNAME= agame
PORTVERSION= 1577
PORTREVISION= 4
CATEGORIES= games
-MASTER_SITES= http://zevv.nl/code/game/ \
+MASTER_SITES= http://zevv.nl/play/code/game/ \
http://critical.ch/distfiles/ \
http://energy.critical.ch/distfiles/
DISTNAME= game-src-${PORTVERSION}
@@ -20,11 +20,19 @@ COMMENT= A simple tetris-like game
USE_SDL= sdl image mixer
USE_GMAKE= yes
+MAKE_JOBS_SAFE= yes
WRKSRC= ${WRKDIR}/game
PORTDOCS= README.TXT
+DESKTOP_ENTRIES="game" \
+ "A simple tetris-like game" \
+ "${DATADIR}/img/icon.png" \
+ "game" \
+ "Game;BlocksGame;" \
+ false
+
post-patch:
@${REINPLACE_CMD} -Ee 's,wav/|mp3/|img/,${DATADIR}/&,g' ${WRKSRC}/main.c
diff --git a/games/apricots/Makefile b/games/apricots/Makefile
index 303b51785425..c23c550b953a 100644
--- a/games/apricots/Makefile
+++ b/games/apricots/Makefile
@@ -19,11 +19,19 @@ USE_AUTOTOOLS= libtool:22
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_SDL= sdl
+MAKE_JOBS_SAFE= yes
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include"
PORTDOCS= README
+DESKTOP_ENTRIES="Apricots" \
+ "Fly a little plane around and shoot things and drop bombs" \
+ "" \
+ "apricots" \
+ "Game;ArcadeGame;" \
+ false
+
OPTIONS= OPENAL "Enable OpenAL audio" on
.include <bsd.port.pre.mk>
diff --git a/games/biloba/Makefile b/games/biloba/Makefile
index 6682560bb152..7b9248cf49fd 100644
--- a/games/biloba/Makefile
+++ b/games/biloba/Makefile
@@ -17,9 +17,20 @@ COMMENT= A strategy board game for 2 to 4 players
USE_SDL= image mixer sdl
USE_GMAKE= yes
GNU_CONFIGURE= yes
+MAKE_JOBS_SAFE= yes
+
+DESKTOP_ENTRIES="Biloba" \
+ "A strategy board game for 2 to 4 players" \
+ "${DATADIR}/biloba_icon.png" \
+ "biloba" \
+ "Game;LogicGame;" \
+ false
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' \
${WRKSRC}/src/Makefile.server
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/biloba_icon.png ${DATADIR}/
+
.include <bsd.port.mk>
diff --git a/games/biloba/pkg-plist b/games/biloba/pkg-plist
index 87aacb557146..7c6ce17ce173 100644
--- a/games/biloba/pkg-plist
+++ b/games/biloba/pkg-plist
@@ -1,4 +1,5 @@
bin/biloba
+%%DATADIR%%/biloba_icon.png
%%DATADIR%%/en/2play.png
%%DATADIR%%/en/3play.png
%%DATADIR%%/en/4play.png
diff --git a/games/brainworkshop/Makefile b/games/brainworkshop/Makefile
index b764e92619f2..f41c7f56d99c 100644
--- a/games/brainworkshop/Makefile
+++ b/games/brainworkshop/Makefile
@@ -25,6 +25,13 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
PORTSCOUT= skipv:4.22
+DESKTOP_ENTRIES="Brain Workshop" \
+ "Dual N-Back mental exercise" \
+ "${DATADIR}/brain.png" \
+ "brainworkshop" \
+ "Game;LogicGame;" \
+ false
+
post-patch:
@${REINPLACE_CMD} -e '/^FOLDER_RES = / s|res|${DATADIR}|; \
/^FOLDER_DATA = / s|.data.|os.environ["HOME"]+"/.brainworkshop"|' \
diff --git a/games/crrcsim/Makefile b/games/crrcsim/Makefile
index fe542d6a4bf9..e6ac5fc040c7 100644
--- a/games/crrcsim/Makefile
+++ b/games/crrcsim/Makefile
@@ -22,6 +22,7 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_SDL= sdl
USE_GL= gl glu
+MAKE_JOBS_SAFE= yes
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib/portaudio2 -L${LOCALBASE}/lib"\
CPPFLAGS="-I${LOCALBASE}/include/portaudio2 -I${LOCALBASE}/include"
@@ -30,6 +31,13 @@ PORTDOCS= *
MAN1= crrcsim.1
+DESKTOP_ENTRIES="CRRCsim" \
+ "Model-airplane flight simulation program" \
+ "${DATADIR}/icons/crrcsim.png" \
+ "crrcsim" \
+ "Game;Simulation;" \
+ false
+
post-patch:
@${REINPLACE_CMD} -e '/portaudio/ s|==|=|' ${WRKSRC}/configure
.if defined(NOPORTDOCS)
diff --git a/games/fillets-ng/Makefile b/games/fillets-ng/Makefile
index b8282c0c8ed9..dbcc76cf9be5 100644
--- a/games/fillets-ng/Makefile
+++ b/games/fillets-ng/Makefile
@@ -31,6 +31,13 @@ ONLY_FOR_ARCHS= i386 amd64
MAN6= fillets.6
+DESKTOP_ENTRIES="Fish Fillets - Next Generation" \
+ "A wonderful puzzle game" \
+ "${DATADIR}/images/icon.png" \
+ "fillets-ng" \
+ "Game;LogicGame;" \
+ false
+
OPTIONS= FRIBIDI "Enable fribidi support" on
.include <bsd.port.pre.mk>
diff --git a/games/fishsupper/Makefile b/games/fishsupper/Makefile
index 6ba831577fed..4cf7e9feb937 100644
--- a/games/fishsupper/Makefile
+++ b/games/fishsupper/Makefile
@@ -17,11 +17,19 @@ COMMENT= Guide a cat across a series of rivers, jumping from log to log
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_SDL= sdl image mixer
+MAKE_JOBS_SAFE= yes
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
PORTDOCS= README
+DESKTOP_ENTRIES="Fish Supper" \
+ "Guide a cat across a series of rivers, jumping from log to log" \
+ "${DATADIR}/images/fs_image_30.png" \
+ "fishsupper" \
+ "Game;ArcadeGame;" \
+ false
+
.if !defined(NOPORTDOCS)
post-install:
${MKDIR} ${DOCSDIR}
diff --git a/games/flobopuyo/Makefile b/games/flobopuyo/Makefile
index 54d569130f35..49910d6df5a3 100644
--- a/games/flobopuyo/Makefile
+++ b/games/flobopuyo/Makefile
@@ -19,6 +19,14 @@ COMMENT= Clone of the famous PuyoPuyo
USE_BISON= build
USE_GMAKE= yes
USE_SDL= sdl mixer image
+MAKE_JOBS_SAFE= yes
+
+DESKTOP_ENTRIES="FloboPuyo" \
+ "Clone of the famous PuyoPuyo" \
+ "${DATADIR}/gfx/Neutral.png" \
+ "flobopuyo" \
+ "Game;BlocksGame;" \
+ false
post-patch:
@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/Makefile
diff --git a/games/gondola/Makefile b/games/gondola/Makefile
index 8e72b241683a..9a82b00ea4a9 100644
--- a/games/gondola/Makefile
+++ b/games/gondola/Makefile
@@ -28,6 +28,13 @@ SUB_LIST= PROGRAM_DIR="${PREFIX}/lib/${PORTNAME}"
WRKSRC= ${WRKDIR}/Gondola-${PORTVERSION}
+DESKTOP_ENTRIES="Gondola" \
+ "Create and optimize a distribution network of gondolas" \
+ "" \
+ "gondola" \
+ "Game;StrategyGame;" \
+ false
+
post-patch:
@${REINPLACE_CMD} -e 's|data/|${DATADIR}/|g' ${WRKSRC}/gamelib/*.py
@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g' \
diff --git a/games/hedgewars/Makefile b/games/hedgewars/Makefile
index 15224e6e3d97..b48f25159947 100644
--- a/games/hedgewars/Makefile
+++ b/games/hedgewars/Makefile
@@ -29,6 +29,13 @@ QT_COMPONENTS= corelib gui moc_build network \
uic_build
MAKE_JOBS_SAFE= yes
+DESKTOP_ENTRIES="Hedgewars" \
+ "Worms-like turn based strategy game" \
+ "${DATADIR}/Data/Forts/FlowerhogL.png" \
+ "hedgewars" \
+ "Game;StrategyGame;" \
+ false
+
post-patch:
${ECHO} "include_directories(${LOCALBASE}/include)" >> \
${WRKSRC}/QTfrontend/CMakeLists.txt
diff --git a/games/jigzo/Makefile b/games/jigzo/Makefile
index b3bba0f79f1d..757109a7fd5c 100644
--- a/games/jigzo/Makefile
+++ b/games/jigzo/Makefile
@@ -22,9 +22,17 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
USE_SDL= sdl mixer
USE_GL= gl
USE_GMAKE= yes
+MAKE_JOBS_SAFE= yes
PORTDOCS= *
+DESKTOP_ENTRIES="Jigzo" \
+ "An OpenGL jigsaw puzzle game" \
+ "" \
+ "jigzo" \
+ "Game;LogicGame;KidsGame;" \
+ false
+
post-patch:
.for i in font image puzzles sound
@${REINPLACE_CMD} -e "s|${i}/|${DATADIR}/${i}/|g" \
diff --git a/games/kartofel/Makefile b/games/kartofel/Makefile
index f9396799469c..4ddf9b4ed92d 100644
--- a/games/kartofel/Makefile
+++ b/games/kartofel/Makefile
@@ -21,9 +21,17 @@ USE_GMAKE= yes
USE_SDL= sdl gfx mixer image ttf
ALL_TARGET= default
+MAKE_JOBS_SAFE= yes
DATA_DIRS= sounds fonts music images levels
+DESKTOP_ENTRIES="Kartofel" \
+ "A game of skill and logic" \
+ "${DATADIR}/images/icon32x32.png" \
+ "kartofel" \
+ "Game;LogicGame;ArcadeGame;" \
+ false
+
post-patch:
@${REINPLACE_CMD} -e '/^CXXOPTIONS/ d; s|g++|${CXX} ${CXXFLAGS}|; \
s|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/Makefile
diff --git a/games/kimboot/Makefile b/games/kimboot/Makefile
index 558e4b6957dc..aa5f1cf840bc 100644
--- a/games/kimboot/Makefile
+++ b/games/kimboot/Makefile
@@ -25,6 +25,13 @@ NO_BUILD= yes
SUB_FILES= kimboot
SUB_LIST= PROGRAM_DIR="${PREFIX}/lib/${PORTNAME}"
+DESKTOP_ENTRIES="Kimboot" \
+ "A sick and addictive arcade game" \
+ "${PREFIX}/lib/kimboot/data/corpse.gif" \
+ "kimboot" \
+ "Game;ArcadeGame;" \
+ false
+
do-install:
${MKDIR} ${PREFIX}/lib/${PORTNAME}
${MKDIR} ${PREFIX}/lib/${PORTNAME}/data
diff --git a/games/kobodeluxe/Makefile b/games/kobodeluxe/Makefile
index 14da329abedf..d12bda3965ca 100644
--- a/games/kobodeluxe/Makefile
+++ b/games/kobodeluxe/Makefile
@@ -29,7 +29,14 @@ PLIST_SUB= SCOREDIR="${SCOREDIR}"
DATADIR= ${PREFIX}/share/kobo-deluxe
-OPTIONS= OPENGL "OpenGL rendering layer" on
+DESKTOP_ENTRIES="Kobo Deluxe" \
+ "An SDL port of the scrolling game XKobo" \
+ "${DATADIR}/" \
+ "kobodeluxe" \
+ "Game;ArcadeGame;" \
+ false
+
+OPTIONS= OPENGL "OpenGL rendering layer" on
.include <bsd.port.pre.mk>
@@ -40,6 +47,9 @@ CONFIGURE_ARGS+= --enable-opengl
CONFIGURE_ARGS+= --disable-opengl
.endif
+post-extract:
+ @cd ${WRKSRC} && ${TAR} -xzf icons.tar.gz
+
post-patch:
@${REINPLACE_CMD} -e 's|$$(datadir)/games/kobo-deluxe|${DATADIR}|; \
s|$$(prefix)/games/kobo-deluxe/scores|${SCOREDIR}|; \
@@ -51,5 +61,10 @@ post-install:
${CHGRP} games ${PREFIX}/bin/kobodl
${CHMOD} g+s ${PREFIX}/bin/kobodl
${INSTALL} -d -o root -g games -m 775 ${SCOREDIR}
+ ${MKDIR} ${PREFIX}/share/applications
+ ${INSTALL_DATA} ${WRKSRC}/icons/Ubuntu/kobodeluxe.desktop \
+ ${PREFIX}/share/applications/
+ ${INSTALL_DATA} ${WRKSRC}/icons/Ubuntu/kobo-icon.xpm \
+ ${PREFIX}/share/pixmaps/
.include <bsd.port.post.mk>
diff --git a/games/kobodeluxe/pkg-plist b/games/kobodeluxe/pkg-plist
index a2bfe525a8de..0e10c347ac9b 100644
--- a/games/kobodeluxe/pkg-plist
+++ b/games/kobodeluxe/pkg-plist
@@ -1,4 +1,5 @@
bin/kobodl
+share/applications/kobodeluxe.desktop
%%DATADIR%%/gfx/bigfont3.png
%%DATADIR%%/gfx/bigship.png
%%DATADIR%%/gfx/bmr-green.png
@@ -107,8 +108,10 @@ bin/kobodl
%%DATADIR%%/sfx/trance1.mid
%%DATADIR%%/sfx/trance1_c.agw
%%DATADIR%%/sfx/zapp1.agw
+share/pixmaps/kobo-icon.xpm
@dirrm %%DATADIR%%/sfx
@dirrm %%DATADIR%%/gfx
@dirrm %%DATADIR%%
@exec install -d -o root -g games -m 775 %%SCOREDIR%%
@dirrmtry %%SCOREDIR%%
+@dirrmtry share/applications
diff --git a/games/lander/Makefile b/games/lander/Makefile
index 22ed49d1591e..3f4ca879c19c 100644
--- a/games/lander/Makefile
+++ b/games/lander/Makefile
@@ -31,6 +31,13 @@ CONFIGURE_ARGS= --with-boost="${LOCALBASE}" \
PORTDOCS= *
+DESKTOP_ENTRIES="Lunar Lander" \
+ "Lunar Lander clone" \
+ "${DATADIR}/images/ship.png" \
+ "lander" \
+ "Game;ArcadeGame;" \
+ false
+
post-patch:
@${REINPLACE_CMD} -e '/LIBS=/ s|-lSDL_|`${SDL_CONFIG} --libs` &|' \
${WRKSRC}/configure
diff --git a/games/legesmotus/Makefile b/games/legesmotus/Makefile
index b73a5b4acdfe..e1ba6f3b8871 100644
--- a/games/legesmotus/Makefile
+++ b/games/legesmotus/Makefile
@@ -23,6 +23,13 @@ MAN6= lmserver.6
OPTIONS= LM_SERVER_ONLY "Build dedicated server only" off
+DESKTOP_ENTRIES="Leges Motus" \
+ "A team-based, networked, 2D shooter set in zero-gravity" \
+ "${DATADIR}/sprites/blue_head32.png" \
+ "legesmotus" \
+ "Game;ActionGame;" \
+ false
+
.include <bsd.port.options.mk>
.if defined(WITH_LM_SERVER_ONLY)
diff --git a/games/linwarrior/Makefile b/games/linwarrior/Makefile
index 56dab0c675bc..347c66f67b14 100644
--- a/games/linwarrior/Makefile
+++ b/games/linwarrior/Makefile
@@ -26,6 +26,13 @@ USE_GCC= 4.2+
WRKSRC= ${WRKDIR}/${PORTNAME}
+DESKTOP_ENTRIES="LinWarrior 3D" \
+ "Mech Simulation Game" \
+ "" \
+ "linwarrior" \
+ "Game;ActionGame;Simulation;" \
+ false
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 800007
diff --git a/games/magicor/Makefile b/games/magicor/Makefile
index b92f7a0f5cdb..eb5410f1334c 100644
--- a/games/magicor/Makefile
+++ b/games/magicor/Makefile
@@ -23,6 +23,13 @@ NO_BUILD= yes
PORTDOCS= README
+DESKTOP_ENTRIES="Magicor" \
+ "Old-school, puzzle game similar to Solomon's Key" \
+ "" \
+ "magicor" \
+ "Game;LogicGame;" \
+ false
+
OPTIONS= EDITOR "Enable editor" on
.include <bsd.port.pre.mk>
diff --git a/games/meritous/Makefile b/games/meritous/Makefile
index 43ab24c74ac8..aa4870990531 100644
--- a/games/meritous/Makefile
+++ b/games/meritous/Makefile
@@ -25,6 +25,13 @@ MAKE_JOBS_SAFE= yes
PORTDOCS= *
+DESKTOP_ENTRIES="Meritous" \
+ "Action-adventure dungeon crawl game" \
+ "${DATADIR}/i/icon.png" \
+ "meritous" \
+ "Game;ActionGame;AdventureGame;" \
+ false
+
post-patch:
@${REINPLACE_CMD} -e 's|dat/|${DATADIR}/|' ${WRKSRC}/src/*.c
diff --git a/games/ri-li/Makefile b/games/ri-li/Makefile
index 154b16ef22e4..a807f510c827 100644
--- a/games/ri-li/Makefile
+++ b/games/ri-li/Makefile
@@ -19,9 +19,17 @@ USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_SDL= sdl mixer
+MAKE_JOBS_SAFE= yes
CONFIGURE_ENV= CPPFLAGS="`${SDL_CONFIG} --cflags` -I${LOCALBASE}/include"
+DESKTOP_ENTRIES="Ri-li" \
+ "Drive a toy wood train in many levels - snake-like arcade game" \
+ "${DATADIR}/Ri-li-icon-48x48.png" \
+ "Ri_li" \
+ "Game;ArcadeGame;" \
+ false
+
post-patch:
@${REINPLACE_CMD} -e 's|-lSDL |`${SDL_CONFIG} --libs`|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/strcpy.*DefPath/ s|.*|strcpy(DefPath,"${DATADIR}/");|' ${WRKSRC}/src/main.cc
diff --git a/games/teeworlds/Makefile b/games/teeworlds/Makefile
index 9371a64dfaed..e2da70193b8b 100644
--- a/games/teeworlds/Makefile
+++ b/games/teeworlds/Makefile
@@ -35,6 +35,12 @@ USE_XORG= x11
USE_GL= gl glu
USE_SDL= sdl
PLIST_SUB+= CLIENT=""
+DESKTOP_ENTRIES="Teeworlds" \
+ "Platform game featuring buggers equipped with weapons" \
+ "${DATADIR}/Teeworlds.ico" \
+ "teeworlds" \
+ "Game;ActionGame;" \
+ false
.endif
post-patch:
@@ -67,5 +73,6 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/teeworlds_srv ${PREFIX}/bin
${MKDIR} ${DATADIR}
@cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${DATADIR}/
+ ${INSTALL_DATA} ${WRKSRC}/other/icons/Teeworlds.ico ${DATADIR}
.include <bsd.port.post.mk>
diff --git a/games/teeworlds/pkg-descr b/games/teeworlds/pkg-descr
index 005c6a855e7d..24d1d928d8a8 100644
--- a/games/teeworlds/pkg-descr
+++ b/games/teeworlds/pkg-descr
@@ -1,16 +1,16 @@
-Teewars is a freeware online multiplayer game, designed as a crossover
-between Quake and Worms. Set on platform-based maps, players control
-a cute little bugger with guns to take out as many opponents as
-possible. The characters can jump but move more quickly using a
-grappling hook, swinging through the levels. It can also be used
-to lock other players to keep them near. The available weapons
-include a pistol, shotgun, grenade launcher and a hammer. The
-shooting and grappling direction is shown through a cursor, controlled
-by the mouse. A special power-up temporarily provides a ninja sword,
-used to slash through enemies. Each character has an amount of
-health and shield. Items scattered around include additional ammo,
-and health and shield bonuses. Unlike Worms, all the action that
-happens is fast-paced and happens in real-time. It supports CTF
-mode.
+Teeworlds is a freeware online multiplayer game, designed as a
+crossover between Quake and Worms. Set on platform-based maps,
+players control a cute little bugger with guns to take out as many
+opponents as possible. The characters can jump but move more quickly
+using a grappling hook, swinging through the levels. It can also
+be used to lock other players to keep them near. The available
+weapons include a pistol, shotgun, grenade launcher and a hammer.
+The shooting and grappling direction is shown through a cursor,
+controlled by the mouse. A special power-up temporarily provides a
+ninja sword, used to slash through enemies. Each character has an
+amount of health and shield. Items scattered around include additional
+ammo, and health and shield bonuses. Unlike Worms, all the action
+that happens is fast-paced and happens in real-time. It supports
+CTF mode.
-WWW: http://www.teewars.com/
+WWW: http://www.teeworlds.com/
diff --git a/games/teeworlds/pkg-plist b/games/teeworlds/pkg-plist
index 77defb3e74a0..4cb5f1a19236 100644
--- a/games/teeworlds/pkg-plist
+++ b/games/teeworlds/pkg-plist
@@ -1,5 +1,6 @@
%%CLIENT%%bin/teeworlds
bin/teeworlds_srv
+%%DATADIR%%/Teeworlds.ico
%%DATADIR%%/audio/foley_body_impact-01.wv
%%DATADIR%%/audio/foley_body_impact-02.wv
%%DATADIR%%/audio/foley_body_impact-03.wv
diff --git a/games/volleyball/Makefile b/games/volleyball/Makefile
index a3661deae2a8..73d4ecacfc46 100644
--- a/games/volleyball/Makefile
+++ b/games/volleyball/Makefile
@@ -23,12 +23,20 @@ GNU_CONFIGURE= yes
USE_GETTEXT= yes
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -lintl"
CONFIGURE_ARGS= --mandir="${MANPREFIX}/man" --disable-nls # strangeness in nls support
+MAKE_JOBS_SAFE= yes
PORTDOCS= README
MAN6= volleyball.6
DATAVERSION= 0.8.5
+DESKTOP_ENTRIES="Pocket Volleyball" \
+ "A game similar to GNU Arcade Volleyball" \
+ "" \
+ "volleyball" \
+ "Game;SportsGame;ArcadeGame;" \
+ false
+
post-configure:
cd ${WRKDIR}/${PORTNAME}-data-${DATAVERSION} && \
${SETENV} ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}
diff --git a/games/widelands/Makefile b/games/widelands/Makefile
index 0ef01b043861..13dbd1aad4d5 100644
--- a/games/widelands/Makefile
+++ b/games/widelands/Makefile
@@ -34,6 +34,13 @@ SCONS_ARGS= install_prefix=${PREFIX} bindir=bin datadir=share/widelands \
sdlconfig=${SDL_CONFIG}
MAKE_JOBS_SAFE= yes
+DESKTOP_ENTRIES="Widelands" \
+ "Realtime strategy game inspired by Settlers II" \
+ "${DATADIR}/pics/wl-ico-32.png" \
+ "widelands" \
+ "Game;StrategyGame;" \
+ false
+
post-patch:
@${REINPLACE_CMD} -e '/prefer_localdata/ s|True|False|' \
${WRKSRC}/worlds/SConscript
diff --git a/games/wop/Makefile b/games/wop/Makefile
index eb82c59c5720..a025572b3e06 100644
--- a/games/wop/Makefile
+++ b/games/wop/Makefile
@@ -23,9 +23,16 @@ USE_BZIP2= yes
USE_SDL= sdl net mixer ttf image
USE_GMAKE= yes
+MAKE_JOBS_SAFE= yes
MAKE_ENV= "CXX=${CXX}"
DATAVERSION= 2005-12-21
+DESKTOP_ENTRIES="Worms of Prey" \
+ "Real-time Worms game" \
+ "${DATADIR}/images/gui/wop32.png" \
+ "wop" \
+ "Game;ActionGame;" \
+ false
post-patch:
@${REINPLACE_CMD} -e 's|__va_copy|va_copy|g' ${WRKSRC}/src/string.cpp
diff --git a/games/xbill/Makefile b/games/xbill/Makefile
index 654b8bd06db6..5a61c95643c3 100644
--- a/games/xbill/Makefile
+++ b/games/xbill/Makefile
@@ -19,11 +19,19 @@ COMMENT= Save your computers from the evil clutches of Bill
GNU_CONFIGURE= yes
WANT_GNOME= yes
CONFIGURE_ARGS= --localstatedir=${SCORES_DIR}
+MAKE_JOBS_SAFE= yes
MAN6= xbill.6
SCORES_DIR?= ${DATADIR}/scores
+DESKTOP_ENTRIES="xBill" \
+ "Save your computers from the evil clutches of Bill" \
+ "${DATADIR}/pixmaps/icon.xpm" \
+ "xbill" \
+ "Game;ArcadeGame;" \
+ false
+
OPTIONS= ATHENA "Build with Athena widget set" off \
GTK "Build with GTK widget set" on \
MOTIF "Build with Motif widget set" off
diff --git a/games/xmoto/Makefile b/games/xmoto/Makefile
index e81f9c50a8f7..90a9d48cf492 100644
--- a/games/xmoto/Makefile
+++ b/games/xmoto/Makefile
@@ -43,6 +43,13 @@ OPTIONS= ASIAN_TTF "Use asian TTF font" off
MAN6= xmoto.6
+DESKTOP_ENTRIES="XMoto" \
+ "Motorcross game" \
+ "${DATADIR}/xmoto_icone_x.ico" \
+ "xmoto" \
+ "Game;SportsGame;ArcadeGame;" \
+ false
+
.include <bsd.port.pre.mk>
.if defined(WITH_ASIAN_TTF)
diff --git a/games/xorgramana/Makefile b/games/xorgramana/Makefile
index 427114251a0d..62a5182364f2 100644
--- a/games/xorgramana/Makefile
+++ b/games/xorgramana/Makefile
@@ -20,11 +20,20 @@ USE_BZIP2= yes
USE_GMAKE= yes
USE_SDL= sdl image
USE_GL= glu
+MAKE_JOBS_SAFE= yes
ALL_TARGET= ${PORTNAME}
+MKE_JOBS_SAFE= yes
PORTDOCS= README
+DESKTOP_ENTRIES="XorGramana" \
+ "Logic word puzzle game set inside a series of mazes" \
+ "${DATADIR}/GFX/x.png" \
+ "xorgramana" \
+ "Game;LogicGame;" \
+ false
+
post-patch:
@${REINPLACE_CMD} -e 's|GFX/|${DATADIR}/&|' ${WRKSRC}/icons.c
diff --git a/games/xtron/Makefile b/games/xtron/Makefile
index 28ea81dff25b..fd140215e520 100644
--- a/games/xtron/Makefile
+++ b/games/xtron/Makefile
@@ -17,19 +17,27 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Avoid running into walls, your own tail, and that of your opponent
USE_XORG= x11 xpm
+MAKE_JOBS_SAFE= yes
+
+DESKTOP_ENTRIES="xtron" \
+ "Avoid running into walls, your own tail, and that of your opponent" \
+ "${DATADIR}/Xtron_icon.xpm" \
+ "xtron" \
+ "Game;ArcadeGame;" \
+ false
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/xtronrc
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xtron ${PREFIX}/bin
- @${MKDIR} ${PREFIX}/share/xtron
- ${INSTALL_DATA} ${WRKSRC}/pixmaps/* ${PREFIX}/share/xtron
+ ${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/pixmaps/* ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/xtronrc ${PREFIX}/lib/X11/app-defaults/Tron
.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/games/zatacka/Makefile b/games/zatacka/Makefile
index ffeb4937daf0..23ef0cbf22a9 100644
--- a/games/zatacka/Makefile
+++ b/games/zatacka/Makefile
@@ -22,6 +22,14 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS= CPPFLAGS="-I${LOCALBASE}/include"
+MAKE_JOBS_SAFE= yes
+
+DESKTOP_ENTRIES="Zatacka" \
+ "Nibbles-like multiplayer game" \
+ "" \
+ "zatacka" \
+ "Game;ArcadeGame;" \
+ false
post-patch:
@${REINPLACE_CMD} -e 's|__linux__|__FreeBSD__|; s|\[30\]|[PATH_MAX]|' \