aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2019-11-08 10:47:01 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2019-11-08 10:47:01 +0000
commitef878751a79ba6aaefefa599a76c833c618977d5 (patch)
treee67483ee6a85fa279cba6dfa007a1304c37237d9 /games
parent78b522d04c8a56a2bcf7582bd65b2e049494ea9e (diff)
downloadports-ef878751a79ba6aaefefa599a76c833c618977d5.tar.gz
ports-ef878751a79ba6aaefefa599a76c833c618977d5.zip
games: Add missing USES={gnome,gl,sdl,xorg}
Notes
Notes: svn path=/head/; revision=517046
Diffstat (limited to 'games')
-rw-r--r--games/4stattack/Makefile2
-rw-r--r--games/54321/Makefile2
-rw-r--r--games/OpenTomb/Makefile2
-rw-r--r--games/abbayedesmorts/Makefile1
-rw-r--r--games/abe/Makefile2
-rw-r--r--games/agame/Makefile2
-rw-r--r--games/aklabeth/Makefile4
-rw-r--r--games/alienblaster/Makefile2
-rw-r--r--games/amoebax/Makefile2
-rw-r--r--games/apricots/Makefile2
-rw-r--r--games/asteroids3d/Makefile2
-rw-r--r--games/atris/Makefile2
-rw-r--r--games/ballerburg/Makefile2
-rw-r--r--games/barbie_seahorse_adventures/Makefile2
-rw-r--r--games/barony/Makefile3
-rw-r--r--games/battletanks/Makefile2
-rw-r--r--games/biloba/Makefile2
-rw-r--r--games/biniax2/Makefile2
-rw-r--r--games/bitefusion/Makefile2
-rw-r--r--games/black-box/Makefile1
-rw-r--r--games/blackshadeselite/Makefile2
-rw-r--r--games/blinkensisters/Makefile3
-rw-r--r--games/blobwars/Makefile2
-rw-r--r--games/blockrage/Makefile1
-rw-r--r--games/bomberclone/Makefile2
-rw-r--r--games/bomberinstinct/Makefile2
-rw-r--r--games/bombherman/Makefile2
-rw-r--r--games/bombz/Makefile2
-rw-r--r--games/bomns/Makefile2
-rw-r--r--games/bouncy/Makefile2
-rw-r--r--games/brickout/Makefile2
-rw-r--r--games/brickshooter/Makefile1
-rw-r--r--games/brikx/Makefile2
-rw-r--r--games/brumbrumrally/Makefile2
-rw-r--r--games/bstone/Makefile2
-rw-r--r--games/bugsquish/Makefile2
-rw-r--r--games/bumprace/Makefile2
-rw-r--r--games/bygfoot/Makefile2
-rw-r--r--games/childsplay/Makefile2
-rw-r--r--games/chocolate-doom/Makefile2
-rw-r--r--games/chromium-bsu/Makefile2
-rw-r--r--games/circuslinux/Makefile1
-rw-r--r--games/cockatrice/Makefile2
-rw-r--r--games/columns/Makefile1
-rw-r--r--games/concentration/Makefile2
-rw-r--r--games/corsix-th/Makefile5
-rw-r--r--games/crimson/Makefile2
-rw-r--r--games/crossfire-client/Makefile2
-rw-r--r--games/cube/Makefile2
-rw-r--r--games/cuyo/Makefile2
-rw-r--r--games/d2x/Makefile2
-rw-r--r--games/dangen/Makefile2
-rw-r--r--games/defendguin/Makefile1
-rw-r--r--games/dodgindiamond2/Makefile1
-rw-r--r--games/dunelegacy/Makefile2
-rw-r--r--games/eboard/Makefile2
-rw-r--r--games/einstein/Makefile1
-rw-r--r--games/endgame-singularity/Makefile2
-rw-r--r--games/enigma/Makefile2
-rw-r--r--games/entombed/Makefile2
-rw-r--r--games/epiphany-game/Makefile2
-rw-r--r--games/euchre/Makefile2
-rw-r--r--games/evq3/Makefile3
-rw-r--r--games/exult/Makefile9
-rw-r--r--games/fightorperish/Makefile2
-rw-r--r--games/fillets-ng/Makefile2
-rw-r--r--games/flobopuyo/Makefile2
-rw-r--r--games/flyhard/Makefile2
-rw-r--r--games/formido/Makefile2
-rw-r--r--games/freeblocks/Makefile2
-rw-r--r--games/freedink-dfarc/Makefile3
-rw-r--r--games/freedink-engine/Makefile2
-rw-r--r--games/freedoko/Makefile2
-rw-r--r--games/freedroid/Makefile2
-rw-r--r--games/freeorion/Makefile2
-rw-r--r--games/freera/Makefile2
-rw-r--r--games/freesynd/Makefile2
-rw-r--r--games/frozen-bubble/Makefile3
-rw-r--r--games/galaxyhack/Makefile2
-rw-r--r--games/garden-of-coloured-lights/Makefile2
-rw-r--r--games/gbottler/Makefile2
-rw-r--r--games/gbrainy/Makefile3
-rw-r--r--games/gcompris/Makefile4
-rw-r--r--games/gemdropx/Makefile2
-rw-r--r--games/gemrb/Makefile3
-rw-r--r--games/gigalomania/Makefile2
-rw-r--r--games/gillo/Makefile2
-rw-r--r--games/glchess/Makefile2
-rw-r--r--games/glob2/Makefile2
-rw-r--r--games/gnubik/Makefile2
-rw-r--r--games/gnurobbo/Makefile2
-rw-r--r--games/gnurobots/Makefile2
-rw-r--r--games/gretools/Makefile2
-rw-r--r--games/griels-quest/Makefile1
-rw-r--r--games/gtkatlantic/Makefile2
-rw-r--r--games/gtkballs/Makefile2
-rw-r--r--games/gtkevemon/Makefile2
-rw-r--r--games/hangman/Makefile2
-rw-r--r--games/hedgewars/Makefile3
-rw-r--r--games/help_hannahs_horse/Makefile2
-rw-r--r--games/heroes/Makefile2
-rw-r--r--games/hex-a-hop/Makefile2
-rw-r--r--games/highmoon/Makefile2
-rw-r--r--games/hitori/Makefile3
-rw-r--r--games/hoverboard-sdl/Makefile2
-rw-r--r--games/icebreaker/Makefile2
-rw-r--r--games/iceicepenguin/Makefile2
-rw-r--r--games/impossible_mission_puzzle/Makefile1
-rw-r--r--games/instead/Makefile2
-rw-r--r--games/interlogic/Makefile2
-rw-r--r--games/jfk/Makefile1
-rw-r--r--games/jumpnbump/Makefile2
-rw-r--r--games/kajaani-kombat/Makefile2
-rw-r--r--games/kevedit/Makefile1
-rw-r--r--games/klavaro/Makefile2
-rw-r--r--games/kobodeluxe/Makefile2
-rw-r--r--games/kuklomenos/Makefile2
-rw-r--r--games/kye/Makefile2
-rw-r--r--games/lbreakout/Makefile2
-rw-r--r--games/lbreakout2/Makefile2
-rw-r--r--games/lgeneral/Makefile2
-rw-r--r--games/libmaitretarot/Makefile2
-rw-r--r--games/libmt_client/Makefile2
-rw-r--r--games/lmarbles/Makefile2
-rw-r--r--games/lordsawar/Makefile3
-rw-r--r--games/ltris/Makefile2
-rw-r--r--games/luola/Makefile2
-rw-r--r--games/madbomber/Makefile1
-rw-r--r--games/magicmaze/Makefile2
-rw-r--r--games/magicor/Makefile1
-rw-r--r--games/mahjong/Makefile2
-rw-r--r--games/maitretarot/Makefile2
-rw-r--r--games/maxr/Makefile2
-rw-r--r--games/meandmyshadow/Makefile2
-rw-r--r--games/meritous/Makefile2
-rw-r--r--games/mirrormagic/Makefile2
-rw-r--r--games/monster-masher/Makefile3
-rw-r--r--games/moonlander/Makefile1
-rw-r--r--games/mt_dolphin_ia/Makefile2
-rw-r--r--games/mt_gtk_client/Makefile2
-rw-r--r--games/naev/Makefile2
-rw-r--r--games/nazghul/Makefile2
-rw-r--r--games/netpanzer/Makefile2
-rw-r--r--games/netrek-client-cow/Makefile2
-rw-r--r--games/netwalk/Makefile2
-rw-r--r--games/newvox/Makefile1
-rw-r--r--games/nimuh/Makefile2
-rw-r--r--games/njam/Makefile2
-rw-r--r--games/nuclearchess/Makefile1
-rw-r--r--games/numptyphysics/Makefile2
-rw-r--r--games/odamex/Makefile2
-rw-r--r--games/onscripter/Makefile2
-rw-r--r--games/openbor/Makefile2
-rw-r--r--games/openbubbles/Makefile2
-rw-r--r--games/openclaw/Makefile2
-rw-r--r--games/openclonk/Makefile4
-rw-r--r--games/openglad/Makefile2
-rw-r--r--games/openlierox/Makefile4
-rw-r--r--games/openmortal/Makefile2
-rw-r--r--games/openomf/Makefile2
-rw-r--r--games/openra/Makefile2
-rw-r--r--games/opensurge/Makefile2
-rw-r--r--games/openttd/Makefile2
-rw-r--r--games/orbital_eunuchs_sniper/Makefile1
-rw-r--r--games/osgg/Makefile2
-rw-r--r--games/pachi/Makefile2
-rw-r--r--games/pacmanarena/Makefile1
-rw-r--r--games/palomino/Makefile1
-rw-r--r--games/passage/Makefile1
-rw-r--r--games/patapizza-tetris/Makefile2
-rw-r--r--games/pengpong/Makefile2
-rw-r--r--games/penguin-command/Makefile2
-rw-r--r--games/pengupop/Makefile2
-rw-r--r--games/pioneer/Makefile2
-rw-r--r--games/pioneers/Makefile2
-rw-r--r--games/pipenightdreams/Makefile2
-rw-r--r--games/pipepanic/Makefile1
-rw-r--r--games/pmars-sdl/Makefile2
-rw-r--r--games/pongix/Makefile2
-rw-r--r--games/ponscripter-sekai/Makefile2
-rw-r--r--games/popstar/Makefile2
-rw-r--r--games/powder/Makefile2
-rw-r--r--games/prboom-plus/Makefile5
-rw-r--r--games/prboom/Makefile5
-rw-r--r--games/primateplunge/Makefile2
-rw-r--r--games/puckman/Makefile2
-rw-r--r--games/pushover/Makefile2
-rw-r--r--games/pycadia/Makefile2
-rw-r--r--games/pyspacewar/Makefile2
-rw-r--r--games/pytowerdefense/Makefile2
-rw-r--r--games/qnetwalk/Makefile2
-rw-r--r--games/qonk/Makefile2
-rw-r--r--games/quantumminigolf/Makefile2
-rw-r--r--games/reminiscence/Makefile2
-rw-r--r--games/residualvm/Makefile2
-rw-r--r--games/rezerwar/Makefile2
-rw-r--r--games/ri-li/Makefile2
-rw-r--r--games/rnd_jue/Makefile2
-rw-r--r--games/rockdodger/Makefile2
-rw-r--r--games/rocksndiamonds/Makefile2
-rw-r--r--games/rottdc/Makefile2
-rw-r--r--games/sauerbraten/Makefile2
-rw-r--r--games/schwarzweiss/Makefile2
-rw-r--r--games/scramble/Makefile2
-rw-r--r--games/sdl_jewels/Makefile2
-rw-r--r--games/sdl_lopan/Makefile2
-rw-r--r--games/sdl_scavenger/Makefile2
-rw-r--r--games/sdlroids/Makefile2
-rw-r--r--games/sdlsand/Makefile2
-rw-r--r--games/senken/Makefile2
-rw-r--r--games/sets/Makefile2
-rw-r--r--games/simutrans/Makefile2
-rw-r--r--games/sopwith/Makefile2
-rw-r--r--games/spacejunk/Makefile2
-rw-r--r--games/stransball2/Makefile2
-rw-r--r--games/stratagus/Makefile2
-rw-r--r--games/taisei/Makefile2
-rw-r--r--games/tecnoballz/Makefile2
-rw-r--r--games/tesseract/Makefile2
-rw-r--r--games/tileworld/Makefile2
-rw-r--r--games/tong/Makefile2
-rw-r--r--games/toppler/Makefile2
-rw-r--r--games/torrent/Makefile2
-rw-r--r--games/toycars/Makefile2
-rw-r--r--games/traingame/Makefile3
-rw-r--r--games/trenchbroom/Makefile2
-rw-r--r--games/trimines/Makefile1
-rw-r--r--games/ttt/Makefile2
-rw-r--r--games/tuxfighter/Makefile2
-rw-r--r--games/tuxmath/Makefile2
-rw-r--r--games/tuxpaint/Makefile2
-rw-r--r--games/tuxtype/Makefile3
-rw-r--r--games/twind/Makefile1
-rw-r--r--games/uhexen/Makefile2
-rw-r--r--games/ultimatestunts/Makefile2
-rw-r--r--games/umark/Makefile2
-rw-r--r--games/unknown-horizons/Makefile2
-rw-r--r--games/untahris/Makefile2
-rw-r--r--games/uqm/Makefile2
-rw-r--r--games/valyriatear/Makefile4
-rw-r--r--games/vamos/Makefile3
-rw-r--r--games/vavoom/Makefile3
-rw-r--r--games/vectoroids/Makefile2
-rw-r--r--games/viruskiller/Makefile2
-rw-r--r--games/vkquake/Makefile2
-rw-r--r--games/volleyball/Makefile2
-rw-r--r--games/vultures-eye/Makefile2
-rw-r--r--games/warmux/Makefile2
-rw-r--r--games/whichwayisup/Makefile2
-rw-r--r--games/wizznic/Makefile2
-rw-r--r--games/wordwarvi/Makefile2
-rw-r--r--games/wxlauncher/Makefile2
-rw-r--r--games/wyrmgus/Makefile2
-rw-r--r--games/xblast/Makefile2
-rw-r--r--games/xcowsay/Makefile2
-rw-r--r--games/xemeraldia/Makefile2
-rw-r--r--games/xgalaga-sdl/Makefile2
-rw-r--r--games/xlogical/Makefile2
-rw-r--r--games/xpired/Makefile1
-rw-r--r--games/xrick/Makefile2
-rw-r--r--games/xye/Makefile2
-rw-r--r--games/zatacka/Makefile2
-rw-r--r--games/zdoom/Makefile2
263 files changed, 299 insertions, 242 deletions
diff --git a/games/4stattack/Makefile b/games/4stattack/Makefile
index b79a5c739b4b..2f284703643f 100644
--- a/games/4stattack/Makefile
+++ b/games/4stattack/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/GPL
RUN_DEPENDS= ${PYGAME}
-USES= python:2.7 shebangfix
+USES= gnome python:2.7 shebangfix
SHEBANG_FILES= 4stattack.py
NO_ARCH= yes
diff --git a/games/54321/Makefile b/games/54321/Makefile
index f32451d3fe9a..d57d8363124c 100644
--- a/games/54321/Makefile
+++ b/games/54321/Makefile
@@ -14,7 +14,7 @@ COMMENT= Five games in four-, three-, or two-dimensions for one player
LIB_DEPENDS= libpng.so:graphics/png
-USES= gmake tar:tgz
+USES= gmake sdl tar:tgz
USE_SDL= image sdl
MAKEFILE= GNUmakefile
diff --git a/games/OpenTomb/Makefile b/games/OpenTomb/Makefile
index d0863ee6ea57..36a9d6577cc9 100644
--- a/games/OpenTomb/Makefile
+++ b/games/OpenTomb/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libpng.so:graphics/png
-USES= cmake:insource compiler:c++11-lang lua openal
+USES= cmake:insource compiler:c++11-lang lua openal sdl
USE_GITHUB= yes
USE_SDL= sdl2
LLD_UNSAFE= yes
diff --git a/games/abbayedesmorts/Makefile b/games/abbayedesmorts/Makefile
index 75c4316a7e21..05811a337719 100644
--- a/games/abbayedesmorts/Makefile
+++ b/games/abbayedesmorts/Makefile
@@ -12,6 +12,7 @@ COMMENT= Cross-platform port of l'Abbaye des Morts by Locomalito
LICENSE= GPLv3 CC-BY-3.0
LICENSE_COMB= multi
+USES= sdl
USE_GITHUB= yes
GH_ACCOUNT= nevat
GH_PROJECT= ${PORTNAME}-gpl
diff --git a/games/abe/Makefile b/games/abe/Makefile
index 48defc441850..2fde7aa2a4d9 100644
--- a/games/abe/Makefile
+++ b/games/abe/Makefile
@@ -16,7 +16,7 @@ COMMENT= Abe's Amazing Adventure
LICENSE= GPLv2
-USES= gmake
+USES= gmake sdl
USE_SDL= mixer sdl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-data-dir=${DATADIR}
diff --git a/games/agame/Makefile b/games/agame/Makefile
index 6c9d61ce6532..937208e01b4e 100644
--- a/games/agame/Makefile
+++ b/games/agame/Makefile
@@ -14,7 +14,7 @@ COMMENT= Simple Tetris-like game
LICENSE= GPLv2+
-USES= gmake tar:tgz
+USES= gmake sdl tar:tgz
USE_SDL= sdl image mixer
WRKSRC= ${WRKDIR}/game
diff --git a/games/aklabeth/Makefile b/games/aklabeth/Makefile
index 18d7ef06d09e..a755d7ead59f 100644
--- a/games/aklabeth/Makefile
+++ b/games/aklabeth/Makefile
@@ -12,9 +12,11 @@ COMMENT= Remake of Richard Garriott's Ultima prequel
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-GNU_CONFIGURE= yes
+USES= sdl
USE_SDL= sdl
+GNU_CONFIGURE= yes
+
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= AUTHORS README
diff --git a/games/alienblaster/Makefile b/games/alienblaster/Makefile
index 62b9f85cacc6..e0eef6490087 100644
--- a/games/alienblaster/Makefile
+++ b/games/alienblaster/Makefile
@@ -13,7 +13,7 @@ COMMENT= Alien Blaster
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= gmake tar:tgz
+USES= gmake sdl tar:tgz
USE_SDL= mixer sdl
REINPLACE_ARGS= -i ''
diff --git a/games/amoebax/Makefile b/games/amoebax/Makefile
index e98bd301cda6..2d27c1f0c07f 100644
--- a/games/amoebax/Makefile
+++ b/games/amoebax/Makefile
@@ -17,7 +17,7 @@ LICENSE_NAME_FAL= Free Art License, version 1.2
LICENSE_FILE_FAL= ${WRKSRC}/COPYING.LAL
LICENSE_PERMS_FAL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-USES= tar:bzip2 gmake
+USES= gmake sdl tar:bzip2
GNU_CONFIGURE= yes
USE_SDL= sdl mixer image
diff --git a/games/apricots/Makefile b/games/apricots/Makefile
index 1b6428bd74dc..cb27ec9ece0d 100644
--- a/games/apricots/Makefile
+++ b/games/apricots/Makefile
@@ -11,7 +11,7 @@ MASTER_SITES= http://www.fishies.org.uk/ \
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Fly a little plane around and shoot things and drop bombs
-USES= dos2unix
+USES= dos2unix sdl
USE_SDL= sdl
USE_CXXSTD= c++98
DOS2UNIX_GLOB= *.cpp
diff --git a/games/asteroids3d/Makefile b/games/asteroids3d/Makefile
index 917c929433ec..332e235928f2 100644
--- a/games/asteroids3d/Makefile
+++ b/games/asteroids3d/Makefile
@@ -17,7 +17,7 @@ COMMENT= First-person shooter blowing up asteroids in 3D space
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
-USES= autoreconf gl tar:bzip2
+USES= autoreconf gl gnome tar:bzip2
GNU_CONFIGURE= yes
CONFIGURE_ENV= with_gamesdir="${PREFIX}/bin" with_gamedatadir="${DATADIR}"
USE_GL= glut
diff --git a/games/atris/Makefile b/games/atris/Makefile
index c5a8e14ff38a..f06d1bfbc2bb 100644
--- a/games/atris/Makefile
+++ b/games/atris/Makefile
@@ -13,7 +13,7 @@ COMMENT= Atris: Alizarin Tetris
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= gmake
+USES= gmake sdl
USE_SDL= sdl ttf
GNU_CONFIGURE= yes
diff --git a/games/ballerburg/Makefile b/games/ballerburg/Makefile
index 01d5a4205983..7dacdc9477f4 100644
--- a/games/ballerburg/Makefile
+++ b/games/ballerburg/Makefile
@@ -16,7 +16,7 @@ LICENSE= GPLv3+
GNU_CONFIGURE= yes
NLS_USES= gettext
-USES= cmake:insource
+USES= cmake:insource sdl
USE_SDL= sdl
OPTIONS_DEFINE= DOCS NLS
diff --git a/games/barbie_seahorse_adventures/Makefile b/games/barbie_seahorse_adventures/Makefile
index 50223663fab8..5bcef29fa67d 100644
--- a/games/barbie_seahorse_adventures/Makefile
+++ b/games/barbie_seahorse_adventures/Makefile
@@ -19,7 +19,7 @@ RUN_DEPENDS= ${PYGAME}
WRKSRC= ${WRKDIR}/barbie-${DISTVERSION}
-USES= dos2unix python:2.7 shebangfix tar:tgz
+USES= dos2unix gnome python:2.7 shebangfix tar:tgz
SHEBANG_FILES= run_game.py create-upload.py
DOS2UNIX_GLOB= *.py
NO_BUILD= yes
diff --git a/games/barony/Makefile b/games/barony/Makefile
index 964dd3488bfd..24e89c93eb2a 100644
--- a/games/barony/Makefile
+++ b/games/barony/Makefile
@@ -17,7 +17,8 @@ LIB_DEPENDS= libogg.so:audio/libogg \
libpng.so:graphics/png \
libvorbisfile.so:audio/libvorbis
-USES= cmake:insource compiler:c++11-lib dos2unix gl localbase:ldflags openal pkgconfig
+USES= cmake:insource compiler:c++11-lib dos2unix gl localbase:ldflags \
+ openal pkgconfig sdl
USE_GITHUB= yes
GH_ACCOUNT= TurningWheel
GH_PROJECT= Barony
diff --git a/games/battletanks/Makefile b/games/battletanks/Makefile
index a3d9f28c61bd..ed4df9c8b5b2 100644
--- a/games/battletanks/Makefile
+++ b/games/battletanks/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= libsigc-2.0.so:devel/libsigc++20 \
libvorbisfile.so:audio/libvorbis \
libsmpeg.so:multimedia/smpeg
-USES= openal:al pkgconfig lua:51 python:2.7,build scons tar:bzip2
+USES= lua:51 openal:al pkgconfig python:2.7,build scons sdl tar:bzip2
USE_CXXSTD= gnu++98
USE_LDCONFIG= yes
USE_SDL= image sdl
diff --git a/games/biloba/Makefile b/games/biloba/Makefile
index 04263fb013e0..f2e805d3676d 100644
--- a/games/biloba/Makefile
+++ b/games/biloba/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Strategy board game for 2 to 4 players
GNU_CONFIGURE= yes
-USES= gmake
+USES= gmake sdl
USE_SDL= image mixer sdl
PLIST_FILES= bin/${PORTNAME} bin/${PORTNAME}-server
diff --git a/games/biniax2/Makefile b/games/biniax2/Makefile
index a505a0d9a79c..31b36d20a558 100644
--- a/games/biniax2/Makefile
+++ b/games/biniax2/Makefile
@@ -16,7 +16,7 @@ LICENSE= ZLIB
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USE_SDL= sdl mixer image
-USES= dos2unix
+USES= dos2unix sdl
DOS2UNIX_FILES= biniax.c
NO_WRKSUBDIR= yes
diff --git a/games/bitefusion/Makefile b/games/bitefusion/Makefile
index 6848d19dc0ab..a479af584bf1 100644
--- a/games/bitefusion/Makefile
+++ b/games/bitefusion/Makefile
@@ -12,7 +12,7 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Snake game with 8 levels
GNU_CONFIGURE= yes
-USES= gmake
+USES= gmake sdl
USE_SDL= sdl
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib -lm
diff --git a/games/black-box/Makefile b/games/black-box/Makefile
index 92a17299b22c..1bbf0f99f405 100644
--- a/games/black-box/Makefile
+++ b/games/black-box/Makefile
@@ -18,6 +18,7 @@ COMMENT= Shoot in and watch where the shot leaves the box
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
+USES= sdl
USE_SDL= sdl image mixer
GNU_CONFIGURE= yes
diff --git a/games/blackshadeselite/Makefile b/games/blackshadeselite/Makefile
index 5bdd1c7a394e..6a4e415c8087 100644
--- a/games/blackshadeselite/Makefile
+++ b/games/blackshadeselite/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libvorbis.so:audio/libvorbis
-USES= gl gmake openal:al,alut tar:bzip2
+USES= gl gmake openal:al,alut sdl tar:bzip2
USE_CXXSTD= c++98
USE_SDL= sdl
USE_GL= gl glu
diff --git a/games/blinkensisters/Makefile b/games/blinkensisters/Makefile
index b234457e668c..2528d89ffd5e 100644
--- a/games/blinkensisters/Makefile
+++ b/games/blinkensisters/Makefile
@@ -15,7 +15,8 @@ LICENSE_FILE= ${WRKSRC}/DOC/LICENSE
BROKEN_sparc64= does not compile on sparc64
-USES= cmake:insource compiler:c++11-lang localbase perl5 # actually, old gcc fails in theora.h
+# actually, old gcc fails in theora.h
+USES= cmake:insource compiler:c++11-lang localbase perl5 sdl
USE_SDL= sdl image ttf
USE_PERL5= build
diff --git a/games/blobwars/Makefile b/games/blobwars/Makefile
index e5aaaea12aa0..83ffcb213a6f 100644
--- a/games/blobwars/Makefile
+++ b/games/blobwars/Makefile
@@ -13,7 +13,7 @@ LICENSE= GPLv2+ CC-BY-3.0 CC-BY-SA-3.0
LICENSE_COMB= multi
LICENSE_FILE_GPLv2+ = ${WRKSRC}/doc/license
-USES= gmake pkgconfig
+USES= gmake gnome pkgconfig sdl
USE_SDL= image2 mixer2 net2 sdl2 ttf2
INSTALLS_ICONS= yes
diff --git a/games/blockrage/Makefile b/games/blockrage/Makefile
index 2c19e4b2213f..2e9544ccfc16 100644
--- a/games/blockrage/Makefile
+++ b/games/blockrage/Makefile
@@ -16,6 +16,7 @@ COMMENT= Falling blocks game with 2-player hotseat mode
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
+USES= gnome sdl
USE_SDL= sdl image mixer
GNU_CONFIGURE= yes
ALL_TARGET= ${PORTNAME}
diff --git a/games/bomberclone/Makefile b/games/bomberclone/Makefile
index 93ec25ec6e41..24eb23cb450d 100644
--- a/games/bomberclone/Makefile
+++ b/games/bomberclone/Makefile
@@ -13,7 +13,7 @@ COMMENT= Reimplementation of Atomic Bomber Man
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= gmake localbase
+USES= gmake localbase sdl
USE_SDL= image mixer sdl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-werror
diff --git a/games/bomberinstinct/Makefile b/games/bomberinstinct/Makefile
index ef6fc30c5f4c..6dc816ea7358 100644
--- a/games/bomberinstinct/Makefile
+++ b/games/bomberinstinct/Makefile
@@ -13,7 +13,7 @@ COMMENT= Bomberman-like multiplayer game
WRKSRC= ${WRKDIR}/${DISTNAME}
-USES= gettext gmake
+USES= gettext gmake sdl
USE_SDL= mixer sdl
GNU_CONFIGURE= yes
diff --git a/games/bombherman/Makefile b/games/bombherman/Makefile
index 640a77a86ba1..b53e9c3304ff 100644
--- a/games/bombherman/Makefile
+++ b/games/bombherman/Makefile
@@ -22,7 +22,7 @@ GH_ACCOUNT= Keruspe
GH_PROJECT= Bomb-her-man
GH_TAGNAME= 8f5aa22
-USES= autoreconf compiler:c++11-lang gmake pkgconfig
+USES= autoreconf compiler:c++11-lang gmake gnome pkgconfig sdl
USE_CXXSTD= gnu++98
USE_SDL= sdl image mixer ttf
USE_GNOME= cairo intltool librsvg2
diff --git a/games/bombz/Makefile b/games/bombz/Makefile
index 35b338a70343..9f0244801817 100644
--- a/games/bombz/Makefile
+++ b/games/bombz/Makefile
@@ -22,7 +22,7 @@ RUN_DEPENDS= ${PYGAME}
WRKSRC= ${WRKDIR}/Bombz
-USES= dos2unix python:2.7 zip
+USES= dos2unix gnome python:2.7 sdl zip
DOS2UNIX_FILES= *.txt
USE_SDL= sdl image mixer
INSTALLS_ICONS= yes
diff --git a/games/bomns/Makefile b/games/bomns/Makefile
index 22c8069d2c70..4a5f4ebbb86b 100644
--- a/games/bomns/Makefile
+++ b/games/bomns/Makefile
@@ -19,7 +19,7 @@ GH_ACCOUNT= keithfancher
GH_PROJECT= Bomns-for-Linux
GH_TAGNAME= 113be27
-USES= cmake localbase
+USES= cmake gnome localbase sdl
CMAKE_ARGS= -Wno-dev
USE_CXXSTD= gnu++98
USE_SDL= mixer sdl
diff --git a/games/bouncy/Makefile b/games/bouncy/Makefile
index 9b985c0145a2..104b36b786db 100644
--- a/games/bouncy/Makefile
+++ b/games/bouncy/Makefile
@@ -23,7 +23,7 @@ RUN_DEPENDS= ${PYGAME} \
WRKSRC= ${WRKDIR}/${PORTNAME}-post-${DISTVERSION}
-USES= python:2.7
+USES= gnome python:2.7
PORTDOCS= README.txt
diff --git a/games/brickout/Makefile b/games/brickout/Makefile
index 1a539dd97089..13927e768b15 100644
--- a/games/brickout/Makefile
+++ b/games/brickout/Makefile
@@ -12,7 +12,7 @@ COMMENT= Ball-and-paddle game
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING.txt
-USES= localbase
+USES= localbase sdl
USE_SDL= sdl mixer
PORTDOCS= CHANGES.txt README.txt TODO.txt
diff --git a/games/brickshooter/Makefile b/games/brickshooter/Makefile
index 82ffb1d2027f..99db82072a1e 100644
--- a/games/brickshooter/Makefile
+++ b/games/brickshooter/Makefile
@@ -11,6 +11,7 @@ MASTER_SITES= http://bilious.homelinux.org/~paxed/brickshooter/ \
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Push blocks on to the playing field, match block colors to remove them
+USES= sdl
USE_SDL= sdl mixer image
PLIST_FILES= bin/${PORTNAME}
diff --git a/games/brikx/Makefile b/games/brikx/Makefile
index 5a212c5b50c3..586fab1c9821 100644
--- a/games/brikx/Makefile
+++ b/games/brikx/Makefile
@@ -12,7 +12,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Puzzle game - remove all tiles from the table
-USES= tar:bzip2
+USES= sdl tar:bzip2
GNU_CONFIGURE= yes
USE_SDL= sdl mixer image ttf
USE_CXXSTD= c++98
diff --git a/games/brumbrumrally/Makefile b/games/brumbrumrally/Makefile
index 433a064d05df..822ca2edd541 100644
--- a/games/brumbrumrally/Makefile
+++ b/games/brumbrumrally/Makefile
@@ -12,7 +12,7 @@ COMMENT= Racing game with randomized tracks
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= dos2unix gmake
+USES= dos2unix gmake sdl
DOS2UNIX_FILES= src/hqx/common.h
USE_SDL= sdl image net
diff --git a/games/bstone/Makefile b/games/bstone/Makefile
index 4fc4d1bdf280..d81d33011f69 100644
--- a/games/bstone/Makefile
+++ b/games/bstone/Makefile
@@ -12,7 +12,7 @@ COMMENT= Source port of Blake Stone
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/../LICENSE
-USES= cmake compiler:c++11-lang localbase:ldflags pkgconfig
+USES= cmake compiler:c++11-lang localbase:ldflags pkgconfig sdl
USE_GITHUB= yes
GH_ACCOUNT= bibendovsky
USE_SDL= sdl2
diff --git a/games/bugsquish/Makefile b/games/bugsquish/Makefile
index 365ce964efc0..47f1b7683c78 100644
--- a/games/bugsquish/Makefile
+++ b/games/bugsquish/Makefile
@@ -18,7 +18,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING.txt
LIB_DEPENDS= libogg.so:audio/libogg
-USES= gmake
+USES= gmake sdl
USE_SDL= image mixer sdl
PORTDOCS= AUTHORS.txt CHANGES.txt README.txt
diff --git a/games/bumprace/Makefile b/games/bumprace/Makefile
index 63ee893913bb..e7271553e641 100644
--- a/games/bumprace/Makefile
+++ b/games/bumprace/Makefile
@@ -18,7 +18,7 @@ LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING
WRKSRC= ${WRKDIR}/karlb-bumprace-e73baa9e7465
-USES= autoreconf gmake jpeg localbase tar:bz2
+USES= autoreconf gmake jpeg localbase sdl tar:bz2
GNU_CONFIGURE= yes
USE_SDL= sdl mixer image
diff --git a/games/bygfoot/Makefile b/games/bygfoot/Makefile
index 4b48aaf6420b..6464b1dfda2f 100644
--- a/games/bygfoot/Makefile
+++ b/games/bygfoot/Makefile
@@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
# needed to save/load games
RUN_DEPENDS= zip:archivers/zip
-USES= gettext pkgconfig tar:bzip2
+USES= gettext gnome pkgconfig tar:bzip2
GNU_CONFIGURE= yes
USE_GNOME= gtk20
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/games/childsplay/Makefile b/games/childsplay/Makefile
index 570c63a7321b..6fdf2950a165 100644
--- a/games/childsplay/Makefile
+++ b/games/childsplay/Makefile
@@ -17,7 +17,7 @@ BUILD_DEPENDS= ${PYGAME}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlalchemy10>0:databases/py-sqlalchemy10@${PY_FLAVOR} \
${PYGAME}
-USES= gettext shebangfix tar:tgz python:2.7
+USES= gettext gnome python:2.7 shebangfix tar:tgz
USE_GNOME= pygtk2
NO_BUILD= yes
NO_ARCH= yes
diff --git a/games/chocolate-doom/Makefile b/games/chocolate-doom/Makefile
index 076a1e5a5ede..cbc3c2d90cdd 100644
--- a/games/chocolate-doom/Makefile
+++ b/games/chocolate-doom/Makefile
@@ -12,7 +12,7 @@ LICENSE= GPLv2
LIB_DEPENDS= libpng.so:graphics/png
-USES= gmake python:build pkgconfig
+USES= gmake pkgconfig python:build sdl
USE_SDL= mixer2 net2 sdl2
GNU_CONFIGURE= yes
BINARY_ALIAS= python=${PYTHON_CMD}
diff --git a/games/chromium-bsu/Makefile b/games/chromium-bsu/Makefile
index 405858209287..61f7ed0489c7 100644
--- a/games/chromium-bsu/Makefile
+++ b/games/chromium-bsu/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libGLC.so:graphics/quesoglc
GNU_CONFIGURE= yes
-USES= gl gmake gettext-tools localbase pkgconfig sdl
+USES= gettext-tools gl gmake gnome localbase pkgconfig sdl
USE_SDL= sdl2 image2
USE_GL= gl glu
CONFIGURE_ARGS= --disable-sdl \
diff --git a/games/circuslinux/Makefile b/games/circuslinux/Makefile
index 404ca6f75a5e..7e1254022398 100644
--- a/games/circuslinux/Makefile
+++ b/games/circuslinux/Makefile
@@ -13,6 +13,7 @@ COMMENT= "Circus Linux!" is a clone of the Atari 2600 game "Circus Atari"
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING.txt
+USES= sdl
USE_SDL= image mixer sdl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --target=""
diff --git a/games/cockatrice/Makefile b/games/cockatrice/Makefile
index 004e64144a23..62dcc9a2de7c 100644
--- a/games/cockatrice/Makefile
+++ b/games/cockatrice/Makefile
@@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libprotobuf.so:devel/protobuf
-USES= cmake compiler:c++11-lib qt:5
+USES= cmake compiler:c++11-lib gnome qt:5
USE_QT= buildtools_build concurrent core network qmake_build websockets widgets
USE_GITHUB= yes
GH_TAGNAME= 2019-08-31-Release-2.7.2
diff --git a/games/columns/Makefile b/games/columns/Makefile
index e88765d568d5..3154e41ef6f1 100644
--- a/games/columns/Makefile
+++ b/games/columns/Makefile
@@ -16,6 +16,7 @@ COMMENT= Nice little implementation of columns game for X Window System
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
+USES= sdl
USE_SDL= sdl
GNU_CONFIGURE= yes
diff --git a/games/concentration/Makefile b/games/concentration/Makefile
index 5cde3ee80ae0..36ed341d0fbb 100644
--- a/games/concentration/Makefile
+++ b/games/concentration/Makefile
@@ -14,7 +14,7 @@ COMMENT= Find all matching pairs of icons as fast as possible
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= gmake localbase
+USES= gmake localbase sdl
GNU_CONFIGURE= yes
USE_SDL= sdl mixer image ttf
diff --git a/games/corsix-th/Makefile b/games/corsix-th/Makefile
index 21f5645dc218..062c1536379e 100644
--- a/games/corsix-th/Makefile
+++ b/games/corsix-th/Makefile
@@ -16,8 +16,8 @@ LIB_DEPENDS= libfreetype.so:print/freetype2
RUN_DEPENDS= ${LUA_MODLIBDIR}/lfs.so:devel/luafilesystem \
${LUA_MODLIBDIR}/lpeg.so:devel/lua-lpeg
-USES= cmake:insource compiler:c++11-lib desktop-file-utils dos2unix iconv \
- lua pkgconfig
+USES= cmake:insource compiler:c++11-lib desktop-file-utils dos2unix \
+ iconv lua pkgconfig sdl
USE_SDL= mixer2
DOS2UNIX_FILES= CMake/FindFFmpeg.cmake \
CorsixTH/CMakeLists.txt \
@@ -25,6 +25,7 @@ DOS2UNIX_FILES= CMake/FindFFmpeg.cmake \
CMAKE_ARGS= -DWITH_LUAJIT=OFF
CFLAGS+= -I${ICONV_PREFIX}/include
DATADIR= ${PREFIX}/share/corsix-th
+
DESKTOP_ENTRIES= "CorsixTH" \
"${COMMENT}" \
"${PREFIX}/share/pixmaps/corsix-th.png" \
diff --git a/games/crimson/Makefile b/games/crimson/Makefile
index 47e38bce86b3..1cdb00cf7f5b 100644
--- a/games/crimson/Makefile
+++ b/games/crimson/Makefile
@@ -16,7 +16,7 @@ LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
-USES= gmake
+USES= gmake sdl
USE_SDL= mixer sdl ttf
.include <bsd.port.mk>
diff --git a/games/crossfire-client/Makefile b/games/crossfire-client/Makefile
index 630b99494faa..d05ff8ae721b 100644
--- a/games/crossfire-client/Makefile
+++ b/games/crossfire-client/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= vala:lang/vala
LIB_DEPENDS= libcurl.so:ftp/curl
-USES= cmake perl5 pkgconfig tar:bzip2
+USES= cmake gnome perl5 pkgconfig sdl tar:bzip2
USE_PERL5= build
USE_GNOME= gtk20
USE_SDL= sdl image mixer
diff --git a/games/cube/Makefile b/games/cube/Makefile
index a9df40fe4801..e90bdc4c02ba 100644
--- a/games/cube/Makefile
+++ b/games/cube/Makefile
@@ -34,7 +34,7 @@ OPTIONS_SUB= yes
FLAVOR_DESC= Clients and servers
CLIENT_DESC= Build client
-CLIENT_USES= gl xorg
+CLIENT_USES= gl sdl xorg
CLIENT_USE= GL=gl,glu SDL=image,mixer,sdl XORG=x11
CLIENT_LDFLAGS= -lX11
CLIENT_ALL_TARGET= client
diff --git a/games/cuyo/Makefile b/games/cuyo/Makefile
index 153b4237c4dc..c88a99bfc889 100644
--- a/games/cuyo/Makefile
+++ b/games/cuyo/Makefile
@@ -13,7 +13,7 @@ COMMENT= Nice, innovative, challenging Tetris-like game
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= gmake iconv localbase:ldflags sdl xorg
+USES= gmake gnome iconv localbase:ldflags sdl xorg
USE_SDL= mixer image
USE_XORG= x11 xau xdmcp
GNU_CONFIGURE= yes
diff --git a/games/d2x/Makefile b/games/d2x/Makefile
index 42bbc1ad1f6c..5064be2b5ed7 100644
--- a/games/d2x/Makefile
+++ b/games/d2x/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Unix port of Descent 2 Game
GNU_CONFIGURE= yes
-USES= gmake
+USES= gmake sdl
USE_SDL= sdl image
CONFIGURE_ARGS= --disable-network --disable-debug
diff --git a/games/dangen/Makefile b/games/dangen/Makefile
index 16fa8b3c8b87..fe522c5d1ffc 100644
--- a/games/dangen/Makefile
+++ b/games/dangen/Makefile
@@ -15,7 +15,7 @@ LICENSE= GPLv2 ART20
LICENSE_COMB= dual
GNU_CONFIGURE= yes
-USES= gmake
+USES= gmake sdl
USE_SDL= sdl image
DESKTOP_ENTRIES="dangen" \
"Shoot'em up game where accurate shooting matters" \
diff --git a/games/defendguin/Makefile b/games/defendguin/Makefile
index b4e3a658d1fa..d99b008f66ef 100644
--- a/games/defendguin/Makefile
+++ b/games/defendguin/Makefile
@@ -18,6 +18,7 @@ COMMENT= Your mission is to defend little penguinoids
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/docs/COPYING.txt
+USES= sdl
USE_SDL= mixer sdl
PORTDOCS= AUTHORS.txt CHANGES.txt README.txt
diff --git a/games/dodgindiamond2/Makefile b/games/dodgindiamond2/Makefile
index f5e6ed4f271c..46b0d978c728 100644
--- a/games/dodgindiamond2/Makefile
+++ b/games/dodgindiamond2/Makefile
@@ -14,6 +14,7 @@ COMMENT= Old school shoot'em up game
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
+USES= sdl
USE_SDL= sdl image mixer
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var/games
diff --git a/games/dunelegacy/Makefile b/games/dunelegacy/Makefile
index 6036018322b7..c0e6589b812c 100644
--- a/games/dunelegacy/Makefile
+++ b/games/dunelegacy/Makefile
@@ -14,7 +14,7 @@ COMMENT= Open source clone of Dune II
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= autoreconf compiler:c++11-lib tar:bzip2 pkgconfig
+USES= autoreconf compiler:c++11-lib pkgconfig sdl tar:bzip2
GNU_CONFIGURE= yes
USE_SDL= sdl2 mixer2
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/games/eboard/Makefile b/games/eboard/Makefile
index aee42bc4ba59..f66d144c0c2d 100644
--- a/games/eboard/Makefile
+++ b/games/eboard/Makefile
@@ -19,7 +19,7 @@ COMMENT= GTK+ chess board interface (mainly for FICS and chessd)
LIB_DEPENDS= libpng.so:graphics/png
EXTRAS= 1pl2 2
-USES= shebangfix pkgconfig perl5 tar:bzip2
+USES= gnome perl5 pkgconfig shebangfix tar:bzip2
HAS_CONFIGURE= yes
USE_PERL5= build
USE_GNOME= gtk20
diff --git a/games/einstein/Makefile b/games/einstein/Makefile
index 8b87d7bd894d..7625a4777681 100644
--- a/games/einstein/Makefile
+++ b/games/einstein/Makefile
@@ -16,6 +16,7 @@ LICENSE= GPLv2+ # (now dead) website mentions GPL
LIB_DEPENDS= libfreetype.so:print/freetype2
+USES= sdl
USE_SDL= sdl ttf mixer
USE_CXXSTD= c++98
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/games/endgame-singularity/Makefile b/games/endgame-singularity/Makefile
index cdb242ccc456..0bac2ba721e0 100644
--- a/games/endgame-singularity/Makefile
+++ b/games/endgame-singularity/Makefile
@@ -19,7 +19,7 @@ RUN_DEPENDS= ${PYGAME} \
USE_GITHUB= yes
-USES= python:2.7
+USES= python:2.7 sdl
USE_PYTHON= autoplist distutils
USE_SDL= image mixer
PORTDOCS= AUTHORS Changelog README.txt TODO
diff --git a/games/enigma/Makefile b/games/enigma/Makefile
index b5f7b6e595fe..0dc827d093d4 100644
--- a/games/enigma/Makefile
+++ b/games/enigma/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= libxerces-c.so.3:textproc/xerces-c3 \
libcurl.so:ftp/curl
BUILD_DEPENDS= convert:graphics/ImageMagick6
-USES= gmake localbase pkgconfig
+USES= gmake localbase pkgconfig sdl
USE_SDL= image mixer sdl ttf
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-system-enet
diff --git a/games/entombed/Makefile b/games/entombed/Makefile
index dab5399db051..d1d41190f411 100644
--- a/games/entombed/Makefile
+++ b/games/entombed/Makefile
@@ -17,7 +17,7 @@ COMMENT= One- or two-player maze game based on the Entombed
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/docs/COPYING.txt
-USES= gmake
+USES= gmake sdl
USE_SDL= image mixer sdl
PORTDOCS= AUTHORS.txt CHANGES.txt README.txt
diff --git a/games/epiphany-game/Makefile b/games/epiphany-game/Makefile
index 21c3756b8422..8d66e8bbf681 100644
--- a/games/epiphany-game/Makefile
+++ b/games/epiphany-game/Makefile
@@ -15,7 +15,7 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
-USES= autoreconf localbase
+USES= autoreconf localbase sdl
USE_SDL= sdl mixer
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/games/euchre/Makefile b/games/euchre/Makefile
index 799599c5effb..dc26a631f988 100644
--- a/games/euchre/Makefile
+++ b/games/euchre/Makefile
@@ -16,7 +16,7 @@ COMMENT= Very popular card game with variable skill levels
LICENSE= GPLv2
-USES= compiler:c++11-lang pkgconfig
+USES= compiler:c++11-lang gnome pkgconfig
USE_GNOME= gtk20
GNU_CONFIGURE= yes
diff --git a/games/evq3/Makefile b/games/evq3/Makefile
index d923d27cf7f0..280cf3c9bebd 100644
--- a/games/evq3/Makefile
+++ b/games/evq3/Makefile
@@ -16,7 +16,7 @@ COMMENT= Marriage of XreaL and Icculus.org Q3 w/ Improvements
LIB_DEPENDS= libfreetype.so:print/freetype2
-USES= gmake dos2unix tar:bzip2
+USES= dos2unix gmake tar:bzip2
ALL_TARGET= release
WRKSRC= ${WRKDIR}/${PORTNAME}
CFLAGS+= -DMAP_ANONYMOUS=MAP_ANON
@@ -75,6 +75,7 @@ MAKE_ENV+= USE_OPENAL_DLOPEN=1
. endif
. endif
# SDL
+USES+= sdl
USE_SDL= sdl
# VOIP
. if ${PORT_OPTIONS:MVOIP}
diff --git a/games/exult/Makefile b/games/exult/Makefile
index b9d4518d4b10..b8e9fbecd1bc 100644
--- a/games/exult/Makefile
+++ b/games/exult/Makefile
@@ -18,8 +18,8 @@ LIB_DEPENDS= libvorbis.so:audio/libvorbis \
USE_GITHUB= yes
GH_TAGNAME= b15afba
-USES= autoreconf compiler:c++11-lib gmake gnome libtool localbase \
- pkgconfig xorg
+USES= autoreconf compiler:c++11-lib gmake libtool localbase pkgconfig \
+ xorg
USE_CXXSTD= c++98
USE_XORG= xext
GNU_CONFIGURE= yes
@@ -40,17 +40,20 @@ GIMP_DESC= GIMP plugin support
GIMP_LIB_DEPENDS= libgimp-2.0.so:graphics/gimp-app
GIMP_CONFIGURE_ENABLE= gimp-plugin
SDL1_DESC= Simple Direct Media Layer 1 support
+SDL1_USES= sdl
SDL1_USE= sdl=mixer
SDL1_CONFIGURE_ON= --with-sdl=sdl12
SDL2_DESC= Simple Direct Media Layer 2 support
+SDL2_USES= sdl
SDL2_USE= sdl=mixer2
SDL2_CONFIGURE_ON= --with-sdl=sdl2
STUDIO_DESC= Install Exult Studio
STUDIO_CONFIGURE_ENABLE=\
exult-studio exult-studio-support
+STUDIO_USES= gnome
STUDIO_USE= gnome=libglade2
THUMBNAILER_DESC= Gnome SHP thumbnailer support
-THUMBNAILER_USES= shared-mime-info
+THUMBNAILER_USES= gnome shared-mime-info
THUMBNAILER_USE= gnome=libgnomeui
THUMBNAILER_CONFIGURE_ENABLE=\
gnome-shp-thumbnailer
diff --git a/games/fightorperish/Makefile b/games/fightorperish/Makefile
index d811093f83c0..38b87cad2ebd 100644
--- a/games/fightorperish/Makefile
+++ b/games/fightorperish/Makefile
@@ -20,7 +20,7 @@ LICENSE_FILE= ${WRKSRC}/docs/COPYING.txt
WRKSRC= ${WRKDIR}/fop-${DISTVERSION}
-USES= gmake
+USES= gmake sdl
USE_SDL= image mixer sdl
PORTDOCS= CHANGES.txt README.txt
diff --git a/games/fillets-ng/Makefile b/games/fillets-ng/Makefile
index 414132aea052..7ec0987f20dd 100644
--- a/games/fillets-ng/Makefile
+++ b/games/fillets-ng/Makefile
@@ -17,7 +17,7 @@ LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USE_SDL= sdl mixer image ttf
-USES= gmake lua:51 pkgconfig
+USES= gmake lua:51 pkgconfig sdl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --datadir="${DATADIR}"
CONFIGURE_ENV= LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER}" \
diff --git a/games/flobopuyo/Makefile b/games/flobopuyo/Makefile
index 7687ad654e91..662e34bebc4f 100644
--- a/games/flobopuyo/Makefile
+++ b/games/flobopuyo/Makefile
@@ -14,7 +14,7 @@ COMMENT= Clone of the famous PuyoPuyo
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= bison gmake dos2unix tar:tgz
+USES= bison dos2unix gmake sdl tar:tgz
DOS2UNIX_FILES= IosVector.cpp PuyoGame.cpp
USE_SDL= sdl mixer image
diff --git a/games/flyhard/Makefile b/games/flyhard/Makefile
index b7dab0c1d8dd..0ad81cab776c 100644
--- a/games/flyhard/Makefile
+++ b/games/flyhard/Makefile
@@ -20,7 +20,7 @@ BROKEN_armv7= dumps core: Assertion failed: (!NodePtr->isKnownSentinel()), funct
LIB_DEPENDS= libpng.so:graphics/png
BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs
-USES= gmake localbase
+USES= gmake localbase sdl
GNU_CONFIGURE= yes
USE_CXXSTD= c++98
USE_SDL= sdl mixer
diff --git a/games/formido/Makefile b/games/formido/Makefile
index 2dc16bc24310..ed312d4ab61c 100644
--- a/games/formido/Makefile
+++ b/games/formido/Makefile
@@ -15,7 +15,7 @@ LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/GPL_license.txt
USE_SDL= sdl mixer image
-USES= gmake
+USES= gmake sdl
MAKE_ARGS= CC="${CXX}" DATDIR="${DATADIR}" DEFCONFIGDIR="${DATADIR}"
PLIST_FILES= bin/${PORTNAME}
diff --git a/games/freeblocks/Makefile b/games/freeblocks/Makefile
index 0cfb67f9aad7..19e6b1f31bf0 100644
--- a/games/freeblocks/Makefile
+++ b/games/freeblocks/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
USE_GITHUB= yes
GH_ACCOUNT= dorkster
-USES= cmake
+USES= cmake sdl
CMAKE_ARGS= -DDATADIR="${DATADIR_REL}"
USE_SDL= sdl mixer image ttf
diff --git a/games/freedink-dfarc/Makefile b/games/freedink-dfarc/Makefile
index 8cf1a157cb8a..c12487ea1845 100644
--- a/games/freedink-dfarc/Makefile
+++ b/games/freedink-dfarc/Makefile
@@ -11,7 +11,8 @@ DISTNAME= dfarc-${PORTVERSION}
MAINTAINER= shurd@FreeBSD.org
COMMENT= Frontend and .dmod installer for GNU FreeDink
-USES= compiler:c++11-lib desktop-file-utils gettext gmake shared-mime-info
+USES= compiler:c++11-lib desktop-file-utils gettext gmake gnome \
+ shared-mime-info
USE_CXXSTD= c++11
USE_WX= 3.0
GNU_CONFIGURE= yes
diff --git a/games/freedink-engine/Makefile b/games/freedink-engine/Makefile
index 1d723d0fcc3f..32ec3ca29eeb 100644
--- a/games/freedink-engine/Makefile
+++ b/games/freedink-engine/Makefile
@@ -14,7 +14,7 @@ COMMENT= Dink Smallwood RPG and RPG Construction Set
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libcheck.so:devel/check
-USES= gettext gmake pkgconfig
+USES= gettext gmake pkgconfig sdl
USE_SDL= sdl gfx ttf image mixer
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static --disable-upx
diff --git a/games/freedoko/Makefile b/games/freedoko/Makefile
index d14c21e2d55c..17d0a4b5ce73 100644
--- a/games/freedoko/Makefile
+++ b/games/freedoko/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/../doc/GPL
WRKSRC= ${WRKDIR}/${DISTNAME:C/\.src$//}/src
-USES= compiler:c++14-lang gettext-tools gettext-runtime gmake \
+USES= compiler:c++14-lang gettext-runtime gettext-tools gmake gnome \
localbase pkgconfig zip:infozip
USE_CXXSTD= c++14
diff --git a/games/freedroid/Makefile b/games/freedroid/Makefile
index 5b1b50f0b259..e62137277b1a 100644
--- a/games/freedroid/Makefile
+++ b/games/freedroid/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png
-USES= iconv jpeg
+USES= iconv jpeg sdl
USE_SDL= mixer image sdl
GNU_CONFIGURE= yes
diff --git a/games/freeorion/Makefile b/games/freeorion/Makefile
index 1e111623c082..8b7f09d9f1f7 100644
--- a/games/freeorion/Makefile
+++ b/games/freeorion/Makefile
@@ -48,7 +48,7 @@ TEST_USES= localbase
HEADLESS_DESC= Build only headless components: server and AI
HEADLESS_CMAKE_BOOL= BUILD_HEADLESS
-HEADLESS_USES_OFF= openal
+HEADLESS_USES_OFF= gl openal sdl
HEADLESS_USE_OFF= SDL=sdl2 GL=gl,glu,glew
HEADLESS_LIB_DEPENDS_OFF= \
libfreetype.so:print/freetype2 \
diff --git a/games/freera/Makefile b/games/freera/Makefile
index 786909de2e35..5acf7ae11d65 100644
--- a/games/freera/Makefile
+++ b/games/freera/Makefile
@@ -14,7 +14,7 @@ COMMENT= Westwood red alert game engine
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/doc/gpl.txt
-USES= compiler:c++11-lang scons
+USES= compiler:c++11-lang scons sdl
USE_SDL= sdl mixer
WRKSRC= ${WRKDIR}/freera++
diff --git a/games/freesynd/Makefile b/games/freesynd/Makefile
index 6c1639243078..b58ab9660694 100644
--- a/games/freesynd/Makefile
+++ b/games/freesynd/Makefile
@@ -11,7 +11,7 @@ COMMENT= Reimplementation of the classic Bullfrog game Syndicate
LIB_DEPENDS= libpng.so:graphics/png
-USES= cmake:insource
+USES= cmake:insource sdl
USE_SDL= sdl image mixer
SUB_FILES= pkg-message
diff --git a/games/frozen-bubble/Makefile b/games/frozen-bubble/Makefile
index 7611df9d4f7a..c0e53140cd4a 100644
--- a/games/frozen-bubble/Makefile
+++ b/games/frozen-bubble/Makefile
@@ -21,7 +21,8 @@ RUN_DEPENDS= p5-SDL>=2.511:devel/p5-SDL \
p5-Compress-Bzip2>=0:archivers/p5-Compress-Bzip2 \
p5-Alien-SDL>=1.413:devel/p5-Alien-SDL
-USES= compiler:features gettext-runtime perl5 pkgconfig tar:bzip2
+USES= compiler:features gettext-runtime gnome perl5 pkgconfig sdl \
+ tar:bzip2
USE_GNOME= glib20
USE_PERL5= modbuild
USE_SDL= mixer pango sdl ttf
diff --git a/games/galaxyhack/Makefile b/games/galaxyhack/Makefile
index 361979ab9460..dab68f4af506 100644
--- a/games/galaxyhack/Makefile
+++ b/games/galaxyhack/Makefile
@@ -27,7 +27,7 @@ FLEETS_DESC= Additional fleets
WRKSRC= ${WRKDIR}/${PORTNAME}/src
-USES= compiler:c++11-lang dos2unix gmake tar:bzip2
+USES= compiler:c++11-lang dos2unix gmake sdl tar:bzip2
USE_SDL= gfx image mixer sdl
ALL_TARGET= ${PORTNAME}
diff --git a/games/garden-of-coloured-lights/Makefile b/games/garden-of-coloured-lights/Makefile
index 94bb52c147dc..7c8bee663981 100644
--- a/games/garden-of-coloured-lights/Makefile
+++ b/games/garden-of-coloured-lights/Makefile
@@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= liballeg.so:devel/allegro
GNU_CONFIGURE= yes
-USES= desktop-file-utils localbase
+USES= desktop-file-utils gnome localbase
INSTALLS_ICONS= yes
DATADIR= ${PREFIX}/share/garden
diff --git a/games/gbottler/Makefile b/games/gbottler/Makefile
index ac8dde3745b2..dd00364e68b1 100644
--- a/games/gbottler/Makefile
+++ b/games/gbottler/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= SSTP Bottle client
NO_ARCH= yes
-USES= gettext-tools gmake python:2.7 shebangfix
+USES= gettext-tools gmake gnome python:2.7 shebangfix
SHEBANG_FILES= src/*.py src/viewer/*.py
USE_GNOME= pygtk2
MAKE_ARGS= PYTHON=${PYTHON_CMD}
diff --git a/games/gbrainy/Makefile b/games/gbrainy/Makefile
index 17d12926e91c..b467067ad01c 100644
--- a/games/gbrainy/Makefile
+++ b/games/gbrainy/Makefile
@@ -18,8 +18,7 @@ BUILD_DEPENDS= mautil:devel/mono-addins \
RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_GNOME= gtksharp20 gnomesharp20 gnomedocutils intltool
-USES= gettext gmake mono pathfix pkgconfig \
- shebangfix
+USES= gettext gmake gnome mono pathfix pkgconfig shebangfix
SHEBANG_FILES= src/Clients/Classical/gbrainy.in
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/games/gcompris/Makefile b/games/gcompris/Makefile
index e5657b07e5d7..fad43d01c29b 100644
--- a/games/gcompris/Makefile
+++ b/games/gcompris/Makefile
@@ -24,8 +24,8 @@ LIB_DEPENDS= libvorbis.so:audio/libvorbis \
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
gnucap:cad/gnucap
-USES= display:configure gettext gmake libtool localbase pathfix \
- pkgconfig python:2.7 shebangfix sqlite tar:bzip2 perl5
+USES= display:configure gettext gmake gnome libtool localbase pathfix \
+ perl5 pkgconfig python:2.7 sdl shebangfix sqlite tar:bzip2
USE_PERL5= run
SHEBANG_FILES= boards/voices/*.sh boards/voices/*.pl
GNU_CONFIGURE= yes
diff --git a/games/gemdropx/Makefile b/games/gemdropx/Makefile
index 2b899658b4a3..a96a9b82f9e9 100644
--- a/games/gemdropx/Makefile
+++ b/games/gemdropx/Makefile
@@ -17,7 +17,7 @@ COMMENT= Interesting one-player puzzle game for X (SDL)
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING.txt
-USES= gmake
+USES= gmake sdl
USE_SDL= image mixer sdl
ALL_TARGET= ${PORTNAME}
diff --git a/games/gemrb/Makefile b/games/gemrb/Makefile
index 86b86ed29a7d..800753edb69e 100644
--- a/games/gemrb/Makefile
+++ b/games/gemrb/Makefile
@@ -24,7 +24,8 @@ OPENGL_USE= gl=gl,glu,glew
OPENGL_CMAKE_ON=-DOPENGL_BACKEND=OpenGL
PLIST_SUB= PORTVERSION=${PORTVERSION}
-USES= cmake openal:al,alut python:2.7 shebangfix iconv localbase
+USES= cmake gnome iconv localbase openal:al,alut python:2.7 sdl \
+ shebangfix
SHEBANG_FILES= admin/extend2da.py
USE_SDL= sdl2
USE_LDCONFIG= yes
diff --git a/games/gigalomania/Makefile b/games/gigalomania/Makefile
index 03324e7674dd..72c9a91f1332 100644
--- a/games/gigalomania/Makefile
+++ b/games/gigalomania/Makefile
@@ -10,7 +10,7 @@ DISTNAME= ${PORTNAME}src
MAINTAINER= ports@FreeBSD.org
COMMENT= Open source 2D real time strategy god game
-USES= zip
+USES= sdl zip
USE_SDL= image2 mixer2 sdl2
PORTDOCS= readme.html
diff --git a/games/gillo/Makefile b/games/gillo/Makefile
index 75edc8f8866c..265e12d00fda 100644
--- a/games/gillo/Makefile
+++ b/games/gillo/Makefile
@@ -18,7 +18,7 @@ BUILD_DEPENDS= ${JAM}:devel/jam \
${LOCALBASE}/lib/libplibsg.a:x11-toolkits/plib
LIB_DEPENDS= libode.so:devel/ode
-USES= gl tar:bzip2
+USES= gl sdl tar:bzip2
USE_CXXSTD= c++98
USE_GL= gl glu
USE_SDL= sdl
diff --git a/games/glchess/Makefile b/games/glchess/Makefile
index 13b5230197ac..fdd225e0ba19 100644
--- a/games/glchess/Makefile
+++ b/games/glchess/Makefile
@@ -12,7 +12,7 @@ COMMENT= 3D OpenGL based chess game
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/gdkgl/__init__.py:x11-toolkits/py-gtkglext@${PY_FLAVOR}
-USES= desktop-file-utils python:2.7 shared-mime-info
+USES= desktop-file-utils gnome python:2.7 shared-mime-info
USE_GNOME= gconf2
USE_PYTHON= distutils
GCONF_SCHEMAS= glchess.schemas
diff --git a/games/glob2/Makefile b/games/glob2/Makefile
index 229bace329cf..dcb8492b3762 100644
--- a/games/glob2/Makefile
+++ b/games/glob2/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= libvorbis.so:audio/libvorbis \
OPTIONS_DEFINE= DOCS PORTAUDIO
-USES= compiler:c++11-lang gl pkgconfig scons sdl
+USES= compiler:c++11-lang gl gnome pkgconfig scons sdl
USE_SDL= image net sdl ttf
USE_GL= gl glu
MAKE_ARGS= CCFLAGS="${CFLAGS}" \
diff --git a/games/gnubik/Makefile b/games/gnubik/Makefile
index e5f4028a598f..4a39237c022f 100644
--- a/games/gnubik/Makefile
+++ b/games/gnubik/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libguile-2.2.so:lang/guile2 \
libgtkglext-x11-1.0.so:x11-toolkits/gtkglext
GNU_CONFIGURE= yes
-USES= compiler:c++11-lang gettext gl gmake localbase pkgconfig
+USES= compiler:c++11-lang gettext gl gmake gnome localbase pkgconfig
USE_GNOME= gtk20
USE_GL= gl glu
diff --git a/games/gnurobbo/Makefile b/games/gnurobbo/Makefile
index f7cf5f8875b9..760fd3e5fec2 100644
--- a/games/gnurobbo/Makefile
+++ b/games/gnurobbo/Makefile
@@ -10,7 +10,7 @@ EXTRACT_SUFX= -source.tar.gz
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Reimplementation of LK Avalon's Robbo for the Atari XE/XL
-USES= gmake
+USES= gmake sdl
USE_SDL= sdl ttf mixer image
MAKE_ENV= PACKAGE_DATA_DIR="${DATADIR}" \
diff --git a/games/gnurobots/Makefile b/games/gnurobots/Makefile
index d1376a27b09d..af26fdf1b98a 100644
--- a/games/gnurobots/Makefile
+++ b/games/gnurobots/Makefile
@@ -19,7 +19,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libguile.so:lang/guile
-USES= pkgconfig readline
+USES= gnome pkgconfig readline
USE_GNOME= vte
GNU_CONFIGURE= yes
diff --git a/games/gretools/Makefile b/games/gretools/Makefile
index d63c4f9ea144..6e6043f3bc03 100644
--- a/games/gretools/Makefile
+++ b/games/gretools/Makefile
@@ -13,7 +13,7 @@ COMMENT= GNOME vocabulary builder
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= gmake pathfix pkgconfig python:2.7 shebangfix
+USES= gmake gnome pathfix pkgconfig python:2.7 shebangfix
SHEBANG_FILES= gretools.in gretools.py
USE_GNOME= gnomeprefix pygnome2
GNU_CONFIGURE= yes
diff --git a/games/griels-quest/Makefile b/games/griels-quest/Makefile
index 423fef278a3a..970e952a19b3 100644
--- a/games/griels-quest/Makefile
+++ b/games/griels-quest/Makefile
@@ -11,6 +11,7 @@ COMMENT= Griel's Quest for the Sangraal
LICENSE= GPLv3
+USES= sdl
USE_GITHUB= yes
GH_ACCOUNT= nevat
GH_TAGNAME= 0282e6a2e3
diff --git a/games/gtkatlantic/Makefile b/games/gtkatlantic/Makefile
index aa055877c2fa..a4026dbac09e 100644
--- a/games/gtkatlantic/Makefile
+++ b/games/gtkatlantic/Makefile
@@ -16,7 +16,7 @@ COMMENT= Game like Monopoly(tm)
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= localbase:ldflags pkgconfig
+USES= gnome localbase:ldflags pkgconfig
USE_GNOME= gtk20
GNU_CONFIGURE= yes
diff --git a/games/gtkballs/Makefile b/games/gtkballs/Makefile
index ea9a8ff780e1..d3f191dc7b0f 100644
--- a/games/gtkballs/Makefile
+++ b/games/gtkballs/Makefile
@@ -13,7 +13,7 @@ COMMENT= Lines-like simple logic game for X Window System
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= gmake pkgconfig
+USES= gmake gnome pkgconfig
USE_GNOME= gtk20
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var/games
diff --git a/games/gtkevemon/Makefile b/games/gtkevemon/Makefile
index 99778eeac2c0..d3146620f4a4 100644
--- a/games/gtkevemon/Makefile
+++ b/games/gtkevemon/Makefile
@@ -14,7 +14,7 @@ LIB_DEPENDS= libgtkmm-3.0.so:x11-toolkits/gtkmm30 \
USE_GITHUB= yes
GH_TAGNAME= ac2ca34
-USES= compiler:c++11-lang pkgconfig:both gmake ssl
+USES= compiler:c++11-lang gmake gnome pkgconfig:both ssl
USE_CXXSTD= c++11
USE_GNOME= gtk30 libxml2
diff --git a/games/hangman/Makefile b/games/hangman/Makefile
index 33c6b05f9034..337d979939b3 100644
--- a/games/hangman/Makefile
+++ b/games/hangman/Makefile
@@ -14,7 +14,7 @@ COMMENT= Challenge your spelling skills in the old western style
CONFLICTS= bsdgames-*
GNU_CONFIGURE= yes
-USES= gmake
+USES= gmake sdl
USE_CSTD= gnu89
USE_SDL= sdl mixer image ttf
diff --git a/games/hedgewars/Makefile b/games/hedgewars/Makefile
index 4e8adee97b6f..93210b79c1d4 100644
--- a/games/hedgewars/Makefile
+++ b/games/hedgewars/Makefile
@@ -20,7 +20,8 @@ i386_BUILD_DEPENDS= ghc:lang/ghc
LIB_DEPENDS= libphysfs.so:devel/physfs \
libpng.so:graphics/png
-USES= cmake:noninja desktop-file-utils fpc gl lua:51 qt:5 tar:bzip2 pkgconfig
+USES= cmake:noninja desktop-file-utils fpc gl lua:51 pkgconfig qt:5 \
+ sdl tar:bzip2
USE_SDL= sdl2 mixer2 image2 ttf2 net2
USE_FPC= opengl libpng rtl-objpas
USE_QT= core gui widgets network \
diff --git a/games/help_hannahs_horse/Makefile b/games/help_hannahs_horse/Makefile
index ef4b16740715..64a344a217c6 100644
--- a/games/help_hannahs_horse/Makefile
+++ b/games/help_hannahs_horse/Makefile
@@ -21,7 +21,7 @@ LICENSE_FILE_GPLv2= ${WRKSRC}/gpl.txt
WRKSRC= ${WRKDIR}/hhh-2008-03-29
-USES= gmake
+USES= gmake gnome sdl
USE_SDL= sdl image mixer ttf
ALL_TARGET= # empty
MAKE_ENV= DATA_INSTALL_DIR="${DATADIR}" \
diff --git a/games/heroes/Makefile b/games/heroes/Makefile
index c8347082e864..ab347efef9a9 100644
--- a/games/heroes/Makefile
+++ b/games/heroes/Makefile
@@ -31,7 +31,7 @@ SOUNDSRC= ${WRKDIR}/${SOUNDISTNAME}
MUSICSRC= ${WRKDIR}/${MUSICDISTNAME}
USE_SDL= mixer sdl
-USES= gettext gmake iconv makeinfo
+USES= gettext gmake iconv makeinfo sdl
GNU_CONFIGURE= yes
CONFIGURE_ENV= MAKEINFO="${MAKEINFO} --no-split"
CONFIGURE_ARGS= --with-sdl_mixer=${LOCALBASE} --without-gii --without-ggi
diff --git a/games/hex-a-hop/Makefile b/games/hex-a-hop/Makefile
index f9433a5d1358..1fae9942cbd3 100644
--- a/games/hex-a-hop/Makefile
+++ b/games/hex-a-hop/Makefile
@@ -13,7 +13,7 @@ COMMENT= Puzzle game based on hexagonal tiles
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= iconv localbase
+USES= iconv localbase sdl
USE_SDL= sdl
USE_CXXSTD= c++98
GNU_CONFIGURE= yes
diff --git a/games/highmoon/Makefile b/games/highmoon/Makefile
index 73e0d0f94d02..48a730244598 100644
--- a/games/highmoon/Makefile
+++ b/games/highmoon/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
WRKSRC= ${WRKDIR}/HighMoon
-USES= gmake
+USES= gmake sdl
USE_SDL= image sdl
MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" LIBS="${LIBS}"
diff --git a/games/hitori/Makefile b/games/hitori/Makefile
index 8ef283f1af1d..fdf874e3bbb0 100644
--- a/games/hitori/Makefile
+++ b/games/hitori/Makefile
@@ -18,8 +18,7 @@ BUILD_DEPENDS= itstool:textproc/itstool \
PORTSCOUT= limitw:1,even
-USES= gettext gmake localbase pathfix pkgconfig \
- tar:xz
+USES= gettext gmake gnome localbase pathfix pkgconfig tar:xz
USE_GNOME= cairo gtk30 librsvg2 libxml2:build
INSTALLS_ICONS= yes
GNU_CONFIGURE= yes
diff --git a/games/hoverboard-sdl/Makefile b/games/hoverboard-sdl/Makefile
index d336ff12b01f..70b78f22e067 100644
--- a/games/hoverboard-sdl/Makefile
+++ b/games/hoverboard-sdl/Makefile
@@ -19,7 +19,7 @@ USE_GITHUB= yes
GH_ACCOUNT= AMDmi3
GH_PROJECT= ${PORTNAME}-sdl
-USES= cmake compiler:c++11-lib
+USES= cmake compiler:c++11-lib sdl
CMAKE_ARGS= -DSYSTEMWIDE=ON
USE_SDL= sdl2 image2 ttf2 mixer2
diff --git a/games/icebreaker/Makefile b/games/icebreaker/Makefile
index 17159b76d7be..f679d322b4f1 100644
--- a/games/icebreaker/Makefile
+++ b/games/icebreaker/Makefile
@@ -17,7 +17,7 @@ COMMENT= Game similar to Jezzball or Barrack
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= gmake tar:tgz
+USES= gmake sdl tar:tgz
USE_SDL= mixer sdl
PORTDOCS= ChangeLog README README.SDL README.ifyoumakechanges \
diff --git a/games/iceicepenguin/Makefile b/games/iceicepenguin/Makefile
index edb599e6f330..42718df4829e 100644
--- a/games/iceicepenguin/Makefile
+++ b/games/iceicepenguin/Makefile
@@ -21,7 +21,7 @@ RUN_DEPENDS= ${PYGAME}
WRKSRC= ${WRKDIR}/"ice ice penguin"
-USES= python:run shebangfix zip
+USES= gnome python:run shebangfix zip
SHEBANG_FILES= iceicepengui.py
NO_BUILD= yes
NO_ARCH= yes
diff --git a/games/impossible_mission_puzzle/Makefile b/games/impossible_mission_puzzle/Makefile
index f87b737cbe93..4a1295933533 100644
--- a/games/impossible_mission_puzzle/Makefile
+++ b/games/impossible_mission_puzzle/Makefile
@@ -19,6 +19,7 @@ LICENSE= GPLv2
WRKSRC= ${WRKDIR}/puzzle-${PORTVERSION}
+USES= sdl
USE_SDL= sdl
PLIST_FILES= bin/${PORTNAME} \
diff --git a/games/instead/Makefile b/games/instead/Makefile
index c1f48d79159c..7e1ebc9ce6b8 100644
--- a/games/instead/Makefile
+++ b/games/instead/Makefile
@@ -39,8 +39,10 @@ LUAJIT_DESC= Use LuaJIT instead of Lua
SDL_USE= SDL=sdl,image,ttf,mixer
SDL2_USE= SDL=sdl2,image2,ttf2,mixer2
SDL2_CMAKE_BOOL= WITH_SDL2
+GTK2_USES= gnome
GTK2_USE= GNOME=gtk20
GTK2_CMAKE_BOOL= WITH_GTK2
+GTK3_USES= gnome
GTK3_USE= GNOME=gtk30
GTK3_CMAKE_BOOL= WITH_GTK3
LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit
diff --git a/games/interlogic/Makefile b/games/interlogic/Makefile
index 47f7fd678ff9..77a7614abe50 100644
--- a/games/interlogic/Makefile
+++ b/games/interlogic/Makefile
@@ -11,7 +11,7 @@ DISTNAME= interLOGIC-src-${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Move colored balls through the maze connecting it with each other
-USES= gmake
+USES= gmake sdl
USE_SDL= image sdl
GNU_CONFIGURE= yes
diff --git a/games/jfk/Makefile b/games/jfk/Makefile
index 478cb78315e9..a0570740e4e5 100644
--- a/games/jfk/Makefile
+++ b/games/jfk/Makefile
@@ -13,6 +13,7 @@ COMMENT= Multiplayer 2D shoot'em up game
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
+USES= sdl
USE_SDL= image sdl
GNU_CONFIGURE= yes
diff --git a/games/jumpnbump/Makefile b/games/jumpnbump/Makefile
index a39834552299..6d66506f7c3a 100644
--- a/games/jumpnbump/Makefile
+++ b/games/jumpnbump/Makefile
@@ -12,7 +12,7 @@ COMMENT= Play cute bunnies jumping on each other's heads
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= gettext gmake shebangfix tar:bzip2
+USES= gettext gmake sdl shebangfix tar:bzip2
SHEBANG_FILES= ${WRKSRC}/menu/jumpnbump_menu.py.pre
USE_SDL= sdl2 mixer2 net2
diff --git a/games/kajaani-kombat/Makefile b/games/kajaani-kombat/Makefile
index d0788eab8bbd..b6fb9205f8b9 100644
--- a/games/kajaani-kombat/Makefile
+++ b/games/kajaani-kombat/Makefile
@@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfreetype.so:print/freetype2
-USES= gmake iconv ncurses
+USES= gmake iconv ncurses sdl
USE_SDL= sdl image mixer net ttf
ALL_TARGET= client server
diff --git a/games/kevedit/Makefile b/games/kevedit/Makefile
index d298a715a06b..f435945a7241 100644
--- a/games/kevedit/Makefile
+++ b/games/kevedit/Makefile
@@ -16,6 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= cdrecord:sysutils/cdrtools
RUN_DEPENDS= cdrecord:sysutils/cdrtools
+USES= sdl
USE_SDL= sdl
GNU_CONFIGURE= yes
diff --git a/games/klavaro/Makefile b/games/klavaro/Makefile
index f64ed59c5d8b..bc7de8ee9ab6 100644
--- a/games/klavaro/Makefile
+++ b/games/klavaro/Makefile
@@ -14,7 +14,7 @@ LICENSE= GPLv3
LIB_DEPENDS= libcurl.so:ftp/curl
-USES= pkgconfig gettext gmake iconv tar:bzip2
+USES= gettext gmake gnome iconv pkgconfig tar:bzip2
USE_GNOME= gtk30 intlhack
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
diff --git a/games/kobodeluxe/Makefile b/games/kobodeluxe/Makefile
index 22c014360a4f..6ee1ef1a6d09 100644
--- a/games/kobodeluxe/Makefile
+++ b/games/kobodeluxe/Makefile
@@ -12,7 +12,7 @@ DISTNAME= KoboDeluxe-${DISTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= SDL port of the scrolling game XKobo
-USES= tar:bzip2
+USES= sdl tar:bzip2
USE_SDL= image sdl
USE_CXXSTD= c++98
GNU_CONFIGURE= yes
diff --git a/games/kuklomenos/Makefile b/games/kuklomenos/Makefile
index 5220c8f0d99e..6fbdb00d7f82 100644
--- a/games/kuklomenos/Makefile
+++ b/games/kuklomenos/Makefile
@@ -19,7 +19,7 @@ OPTIONS_DEFINE= VORBIS
OPTIONS_DEFAULT= VORBIS
OPTIONS_SUB= yes
-USES= compiler
+USES= compiler sdl
USE_SDL= sdl
GNU_CONFIGURE= yes
diff --git a/games/kye/Makefile b/games/kye/Makefile
index d3260e1e849a..26cf01b87e01 100644
--- a/games/kye/Makefile
+++ b/games/kye/Makefile
@@ -23,7 +23,7 @@ RESTRICTED= kye-data_nuke_levels is charityware
RESTRICTED_FILES= kye-data_nuke_levels.20121101.tar.gz
USE_GNOME= pygtk2 librsvg2
-USES= python:2.7
+USES= gnome python:2.7
USE_PYTHON= distutils
PORTDOCS= NEWS README
diff --git a/games/lbreakout/Makefile b/games/lbreakout/Makefile
index 9eb8f59319b3..1a33923d4229 100644
--- a/games/lbreakout/Makefile
+++ b/games/lbreakout/Makefile
@@ -14,7 +14,7 @@ LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USE_SDL= sdl
-USES= gmake
+USES= gmake sdl
GNU_CONFIGURE= yes
LIBS+= -lcompat
diff --git a/games/lbreakout2/Makefile b/games/lbreakout2/Makefile
index 877cae947efe..4f618fd80182 100644
--- a/games/lbreakout2/Makefile
+++ b/games/lbreakout2/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libpng.so:graphics/png
BROKEN_powerpc64= fails to build: gif2png: error in reading DataBlock: Segmentation fault (core dumped)
-USES= gmake
+USES= gmake sdl
USE_SDL= mixer net sdl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-sdl-net \
diff --git a/games/lgeneral/Makefile b/games/lgeneral/Makefile
index 0f73a8aa55db..02bd68583eb9 100644
--- a/games/lgeneral/Makefile
+++ b/games/lgeneral/Makefile
@@ -18,7 +18,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_powerpc= does not install
BROKEN_sparc64= does not install
-USES= gmake localbase
+USES= gmake localbase sdl
USE_CSTD= gnu89
USE_SDL= sdl
diff --git a/games/libmaitretarot/Makefile b/games/libmaitretarot/Makefile
index 338c4336b882..01c7eaafc58c 100644
--- a/games/libmaitretarot/Makefile
+++ b/games/libmaitretarot/Makefile
@@ -13,7 +13,7 @@ COMMENT= Core library of MaitreTarot, a Tarot card game
LICENSE= GPLv2
GNU_CONFIGURE= yes
-USES= libtool pkgconfig tar:bzip2
+USES= gnome libtool pkgconfig tar:bzip2
USE_GNOME= glib20 libxml2
USE_LDCONFIG= yes
diff --git a/games/libmt_client/Makefile b/games/libmt_client/Makefile
index e5dd0361b4f5..423abe4b08c8 100644
--- a/games/libmt_client/Makefile
+++ b/games/libmt_client/Makefile
@@ -15,7 +15,7 @@ LICENSE= GPLv2
LIB_DEPENDS= libmaitretarot.so:games/libmaitretarot
GNU_CONFIGURE= yes
-USES= libtool pkgconfig tar:bzip2
+USES= gnome libtool pkgconfig tar:bzip2
USE_GNOME= glib20 libxml2
USE_LDCONFIG= yes
diff --git a/games/lmarbles/Makefile b/games/lmarbles/Makefile
index bc90e3090d66..7a5b0496e9fa 100644
--- a/games/lmarbles/Makefile
+++ b/games/lmarbles/Makefile
@@ -16,7 +16,7 @@ COMMENT= Atomix-like game of moving marbles in puzzles
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= gmake
+USES= gmake sdl
USE_SDL= sdl mixer
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var/games/${PORTNAME}
diff --git a/games/lordsawar/Makefile b/games/lordsawar/Makefile
index 9e5f3d00eae1..9f9707a256cc 100644
--- a/games/lordsawar/Makefile
+++ b/games/lordsawar/Makefile
@@ -12,7 +12,8 @@ COMMENT= Warlords II clone
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= compiler:c++11-lib gettext gmake libarchive pkgconfig shebangfix
+USES= compiler:c++11-lib gettext gmake gnome libarchive pkgconfig \
+ shebangfix
USE_GNOME= gtkmm30 intltool libxslt
USE_GSTREAMER= mm
USE_CXXSTD= c++11
diff --git a/games/ltris/Makefile b/games/ltris/Makefile
index 0b122b817901..b501e210a913 100644
--- a/games/ltris/Makefile
+++ b/games/ltris/Makefile
@@ -13,7 +13,7 @@ COMMENT= Tetris clone but a good one with bunch of cool features
USE_SDL= mixer sdl
GNU_CONFIGURE= yes
-USES= gmake localbase
+USES= gmake localbase sdl
CONFIGURE_ARGS= --localstatedir=/var/games
OPTIONS_DEFINE= NLS
diff --git a/games/luola/Makefile b/games/luola/Makefile
index e82d321e559a..ba8e6ca883d8 100644
--- a/games/luola/Makefile
+++ b/games/luola/Makefile
@@ -18,7 +18,7 @@ LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
-USES= gmake
+USES= gmake sdl
USE_SDL= sdl image ttf
CONFIGURE_ARGS= --program-prefix=''
LIBS+= -lm
diff --git a/games/madbomber/Makefile b/games/madbomber/Makefile
index e3348b9d5bd6..22974dd2f0c4 100644
--- a/games/madbomber/Makefile
+++ b/games/madbomber/Makefile
@@ -13,6 +13,7 @@ COMMENT= Clone of Activision's classic Atari 2600 console game "Kaboom!"
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING.txt
+USES= sdl
USE_SDL= mixer image sdl
CPPFLAGS+= `${SDL_CONFIG} --cflags` -DDATA_PREFIX=\"${DATADIR}/\"
diff --git a/games/magicmaze/Makefile b/games/magicmaze/Makefile
index 81b07dedbece..b8166116d2d2 100644
--- a/games/magicmaze/Makefile
+++ b/games/magicmaze/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING_GPL.txt
RUN_DEPENDS= ruby${RUBY_SUFFIX}-sdl>=0:devel/ruby-sdl
-USES= shebangfix
+USES= sdl shebangfix
SHEBANG_FILES= mm.rb testmm.rb
USE_SDL= sdl image mixer
USE_RUBY= yes
diff --git a/games/magicor/Makefile b/games/magicor/Makefile
index f1d9bd0ff484..fc2e757078b5 100644
--- a/games/magicor/Makefile
+++ b/games/magicor/Makefile
@@ -37,6 +37,7 @@ OPTIONS_DEFAULT=EDITOR
OPTIONS_SUB= yes
EDITOR_DESC= Enable editor
+EDITOR_USES= gnome
EDITOR_USE= gnome=pygtk2
post-patch:
diff --git a/games/mahjong/Makefile b/games/mahjong/Makefile
index 969377fc87d4..54ebc7a39449 100644
--- a/games/mahjong/Makefile
+++ b/games/mahjong/Makefile
@@ -14,7 +14,7 @@ COMMENT= Networked Mah Jong program, together with a computer player
LICENSE= GPLv2+
-USES= gmake perl5 pkgconfig
+USES= gmake gnome perl5 pkgconfig
USE_GNOME= gtk20
USE_PERL5= build
MAKE_ENV= CCLINK="${CC}" CDEBUGFLAGS="${CFLAGS}" PERL="${PERL}"
diff --git a/games/maitretarot/Makefile b/games/maitretarot/Makefile
index b3c7b55c8e36..8cba4b6f223e 100644
--- a/games/maitretarot/Makefile
+++ b/games/maitretarot/Makefile
@@ -14,7 +14,7 @@ LICENSE= GPLv2
LIB_DEPENDS= libmaitretarot.so:games/libmaitretarot
-USES= pkgconfig tar:bzip2
+USES= gnome pkgconfig tar:bzip2
GNU_CONFIGURE= yes
USE_GNOME= glib20 libxml2
diff --git a/games/maxr/Makefile b/games/maxr/Makefile
index 3147f530e9eb..9eb034ce883c 100644
--- a/games/maxr/Makefile
+++ b/games/maxr/Makefile
@@ -14,7 +14,7 @@ COMMENT= Mechanized Assault and Exploration Reloaded
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/data/COPYING
-USES= cmake compiler:c++11-lib dos2unix
+USES= cmake compiler:c++11-lib dos2unix sdl
DOS2UNIX_FILES= src/config/selectplatformconfig.h
USE_SDL= sdl2 mixer2 net2
diff --git a/games/meandmyshadow/Makefile b/games/meandmyshadow/Makefile
index aed408de87bb..5b697757a674 100644
--- a/games/meandmyshadow/Makefile
+++ b/games/meandmyshadow/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcurl.so:ftp/curl
-USES= cmake compiler:c++11-lang dos2unix libarchive lua:53
+USES= cmake compiler:c++11-lang dos2unix libarchive lua:53 sdl
DOS2UNIX_FILES= CMakeLists.txt src/Functions.cpp
USE_SDL= sdl2 image2 ttf2 mixer2
diff --git a/games/meritous/Makefile b/games/meritous/Makefile
index 29dd436cf067..44043dc4c975 100644
--- a/games/meritous/Makefile
+++ b/games/meritous/Makefile
@@ -14,7 +14,7 @@ COMMENT= Action-adventure dungeon crawl game
LICENSE= GPLv3
-USES= tar:bzip2 dos2unix gmake
+USES= dos2unix gmake sdl tar:bzip2
USE_SDL= sdl mixer image
ALL_TARGET= default
DOS2UNIX_FILES= dat/d/helpfile.txt src/boss.c src/levelblit.c
diff --git a/games/mirrormagic/Makefile b/games/mirrormagic/Makefile
index d7cd687d863e..a36d68f77a27 100644
--- a/games/mirrormagic/Makefile
+++ b/games/mirrormagic/Makefile
@@ -32,8 +32,10 @@ DESKTOP_ENTRIES="Mirror Magic" \
OPTIONS_DEFINE= SDL DOCS
OPTIONS_DEFAULT=SDL
+SDL_USES= sdl
SDL_USE= SDL=image,mixer,sdl
SDL_ALL_TARGET= sdl
+SDL_USES_OFF= xorg
SDL_USE_OFF= XORG=x11,xt
SDL_ALL_TARGET_OFF= x11
diff --git a/games/monster-masher/Makefile b/games/monster-masher/Makefile
index 62fe46884aaa..423818da267b 100644
--- a/games/monster-masher/Makefile
+++ b/games/monster-masher/Makefile
@@ -16,7 +16,8 @@ LIB_DEPENDS= libgnomecanvasmm-2.6.so:graphics/libgnomecanvasmm26 \
libgconfmm-2.6.so:devel/gconfmm26 \
libglademm-2.4.so:devel/libglademm24
-USES= compiler:c++11-lang pathfix gettext gmake pkgconfig tar:bzip2
+USES= compiler:c++11-lang gettext gmake gnome pathfix pkgconfig \
+ tar:bzip2
USE_CXXSTD= c++11
USE_GNOME= gnomeprefix intlhack libgnome
GNU_CONFIGURE= yes
diff --git a/games/moonlander/Makefile b/games/moonlander/Makefile
index dbdc4649364d..947cd3316d78 100644
--- a/games/moonlander/Makefile
+++ b/games/moonlander/Makefile
@@ -13,6 +13,7 @@ COMMENT= Land a spacecraft on the moon
LICENSE= BSD2CLAUSE
+USES= sdl
USE_SDL= mixer image sdl
WRKSRC= ${WRKDIR}/moon-lander
diff --git a/games/mt_dolphin_ia/Makefile b/games/mt_dolphin_ia/Makefile
index 02bbdf642c00..b104d520c7c1 100644
--- a/games/mt_dolphin_ia/Makefile
+++ b/games/mt_dolphin_ia/Makefile
@@ -14,7 +14,7 @@ LICENSE= GPLv2
LIB_DEPENDS= libmt_client.so:games/libmt_client
-USES= pkgconfig tar:bzip2
+USES= gnome pkgconfig tar:bzip2
GNU_CONFIGURE= yes
USE_GNOME= glib20 libxml2
diff --git a/games/mt_gtk_client/Makefile b/games/mt_gtk_client/Makefile
index 75e075c21915..c3c1dd12c41b 100644
--- a/games/mt_gtk_client/Makefile
+++ b/games/mt_gtk_client/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS= libmt_client.so:games/libmt_client
RUN_DEPENDS= ${LOCALBASE}/share/cardpics/images/78.png:games/cardpics
GNU_CONFIGURE= yes
-USES= gettext pkgconfig tar:bzip2
+USES= gettext gnome pkgconfig tar:bzip2
USE_GNOME= glib20 gtk20 libxml2
.if !defined(WITHOUT_SERVER)
diff --git a/games/naev/Makefile b/games/naev/Makefile
index b579aa7a5941..c09aeec6a6f8 100644
--- a/games/naev/Makefile
+++ b/games/naev/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= libpng.so:graphics/png \
libzip.so:archivers/libzip
RUN_DEPENDS= ${LOCALBASE}/${DATADIR_REL}/${DISTNAME}-ndata.zip:games/naev-data
-USES= autoreconf:build compiler:features gl gmake gnome pkgconfig \
+USES= autoreconf:build compiler:features gl gmake gnome pkgconfig sdl \
tar:bzip2
GNU_CONFIGURE= yes
USE_GL= gl glu
diff --git a/games/nazghul/Makefile b/games/nazghul/Makefile
index 00c2cccff3f6..d7efd8b0eff0 100644
--- a/games/nazghul/Makefile
+++ b/games/nazghul/Makefile
@@ -20,7 +20,7 @@ BROKEN_armv7= fails to compile: no matching function for call to cmdwin_vpush
USE_SDL= sdl image mixer
GNU_CONFIGURE= yes
-USES= gmake
+USES= gmake sdl
post-patch:
${REINPLACE_CMD} -i "" 's|malloc.h|stdlib.h|g' ${WRKSRC}/src/scheme.c
diff --git a/games/netpanzer/Makefile b/games/netpanzer/Makefile
index f6d6d7cac85e..b098e2f8d480 100644
--- a/games/netpanzer/Makefile
+++ b/games/netpanzer/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LDFLAGS+= -lpthreads
-USES= scons zip
+USES= gnome scons sdl zip
USE_SDL= sdl mixer image
USE_GNOME= libxml2
MAKE_ARGS+= datadir="${DATADIR}"
diff --git a/games/netrek-client-cow/Makefile b/games/netrek-client-cow/Makefile
index 10fb3effec5d..7cf0c453e6ac 100644
--- a/games/netrek-client-cow/Makefile
+++ b/games/netrek-client-cow/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS= libImlib2.so:graphics/imlib2
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
-USES= gmake
+USES= gmake sdl
USE_SDL= sdl mixer
CONFIGURE_ARGS+= NORSA='\#'
diff --git a/games/netwalk/Makefile b/games/netwalk/Makefile
index a74f27b6e376..00116448a202 100644
--- a/games/netwalk/Makefile
+++ b/games/netwalk/Makefile
@@ -16,7 +16,7 @@ USE_GITHUB= yes
GH_ACCOUNT= blynn
GH_TAGNAME= cb6b089
-USES= gmake iconv sdl xorg
+USES= gmake gnome iconv sdl xorg
USE_SDL= sdl ttf
USE_XORG= x11 xau xdmcp
MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX}
diff --git a/games/newvox/Makefile b/games/newvox/Makefile
index 3fc0fca6605a..9fdfc66d23ef 100644
--- a/games/newvox/Makefile
+++ b/games/newvox/Makefile
@@ -10,6 +10,7 @@ MASTER_SITES= https://www.libsdl.org/projects/newvox/src/
MAINTAINER= ports@FreeBSD.org
COMMENT= Voxel-style landscape rendering fly-by
+USES= sdl
USE_SDL= sdl
GNU_CONFIGURE= yes
LDFLAGS+= -lm
diff --git a/games/nimuh/Makefile b/games/nimuh/Makefile
index 075856bd5f8f..34fc1ff026b7 100644
--- a/games/nimuh/Makefile
+++ b/games/nimuh/Makefile
@@ -17,7 +17,7 @@ LICENSE= CC-BY-NC-SA-2.0
LIB_DEPENDS= libexpat.so:textproc/expat2
-USES= gl gmake localbase
+USES= gl gmake localbase sdl
GNU_CONFIGURE= yes
USE_CXXSTD= c++98
USE_SDL= sdl image mixer
diff --git a/games/njam/Makefile b/games/njam/Makefile
index 36d0cc449ebd..32806732d26e 100644
--- a/games/njam/Makefile
+++ b/games/njam/Makefile
@@ -17,7 +17,7 @@ LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
-USES= gmake localbase
+USES= gmake localbase sdl
USE_SDL= mixer image net sdl
PORTDOCS= *
diff --git a/games/nuclearchess/Makefile b/games/nuclearchess/Makefile
index edfa24eda659..89735118f13a 100644
--- a/games/nuclearchess/Makefile
+++ b/games/nuclearchess/Makefile
@@ -18,6 +18,7 @@ COMMENT= Chess variant designed to be short and fun for all players
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
+USES= gnome sdl
USE_SDL= sdl image
INSTALLS_ICONS= yes
GNU_CONFIGURE= yes
diff --git a/games/numptyphysics/Makefile b/games/numptyphysics/Makefile
index 2f8df8d80f62..7b9554e01f95 100644
--- a/games/numptyphysics/Makefile
+++ b/games/numptyphysics/Makefile
@@ -13,7 +13,7 @@ COMMENT= Drawing physics-based puzzle game
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= compiler:c++11-lang tar:bzip2 desktop-file-utils sdl xorg
+USES= compiler:c++11-lang desktop-file-utils gnome sdl tar:bzip2 xorg
GNU_CONFIGURE= yes
USE_SDL= sdl image
USE_XORG= x11
diff --git a/games/odamex/Makefile b/games/odamex/Makefile
index 390c6195114a..c5ec5e7274fd 100644
--- a/games/odamex/Makefile
+++ b/games/odamex/Makefile
@@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libpng.so:graphics/png
USE_SDL= sdl mixer
-USES= cmake:insource compiler dos2unix tar:bzip2
+USES= cmake:insource compiler dos2unix sdl tar:bzip2
DOS2UNIX_FILES= CMakeLists.txt odalaunch/CMakeLists.txt common/d_main.cpp
CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
diff --git a/games/onscripter/Makefile b/games/onscripter/Makefile
index 45c86f88b984..e298fc4f5f01 100644
--- a/games/onscripter/Makefile
+++ b/games/onscripter/Makefile
@@ -14,7 +14,7 @@ LIB_DEPENDS= libsmpeg.so:multimedia/smpeg \
libfontconfig.so:x11-fonts/fontconfig
RUN_DEPENDS= sdl_ttf>=2.0.11_6:graphics/sdl_ttf
-USES= gmake jpeg
+USES= gmake jpeg sdl
USE_SDL= image mixer ttf
MAKEFILE= Makefile.Linux
ALL_TARGET= ALL
diff --git a/games/openbor/Makefile b/games/openbor/Makefile
index efc38adfc394..f79d9de1872e 100644
--- a/games/openbor/Makefile
+++ b/games/openbor/Makefile
@@ -33,7 +33,7 @@ USE_GITHUB= yes
GH_ACCOUNT= DCurrent
GH_TAGNAME?= 9b0f0d29
-USES+= gmake pkgconfig
+USES+= gmake pkgconfig sdl
.if ${PORTVERSION} < 4433
USE_CSTD= gnu89
.endif
diff --git a/games/openbubbles/Makefile b/games/openbubbles/Makefile
index db825dc9b594..30813dbefd4e 100644
--- a/games/openbubbles/Makefile
+++ b/games/openbubbles/Makefile
@@ -15,7 +15,7 @@ COMMENT= Clone of Evan Bailey's game Bubbles
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= dos2unix tar:bzip2
+USES= dos2unix gnome sdl tar:bzip2
DOS2UNIX_FILES= ${WRKSRC}/src/BFont.cpp
USE_SDL= sdl gfx image
GNU_CONFIGURE= yes
diff --git a/games/openclaw/Makefile b/games/openclaw/Makefile
index 13da34eed14a..e5737ef587e1 100644
--- a/games/openclaw/Makefile
+++ b/games/openclaw/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LIB_DEPENDS= libtinyxml.so:textproc/tinyxml
-USES= cmake compiler:c++11-lib pkgconfig localbase:ldflags
+USES= cmake compiler:c++11-lib localbase:ldflags pkgconfig sdl
USE_GITHUB= yes
GH_ACCOUNT= pjasicek
USE_SDL= gfx2 image2 mixer2 ttf2
diff --git a/games/openclonk/Makefile b/games/openclonk/Makefile
index 76160cb9102b..293836b23e00 100644
--- a/games/openclonk/Makefile
+++ b/games/openclonk/Makefile
@@ -28,8 +28,8 @@ LIB_DEPENDS= libalut.so:audio/freealut \
WRKSRC= ${WRKDIR}/openclonk-release-${PORTVERSION}-src
# make install has parallel issues with ninja
-USES= compiler:c++14-lang cmake:noninja desktop-file-utils gl jpeg \
- openal pkgconfig sdl tar:bzip2 xorg
+USES= cmake:noninja compiler:c++14-lang desktop-file-utils gl gnome \
+ jpeg openal pkgconfig sdl tar:bzip2 xorg
USE_GL= gl glew glu
USE_SDL= sdl2
USE_XORG= x11 xpm
diff --git a/games/openglad/Makefile b/games/openglad/Makefile
index 628fcba4eb6b..0e76e9a69bca 100644
--- a/games/openglad/Makefile
+++ b/games/openglad/Makefile
@@ -13,7 +13,7 @@ COMMENT= SDL port of an old DOS game called Gladiator
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= gmake
+USES= gmake sdl
USE_SDL= sdl mixer
GNU_CONFIGURE= yes
diff --git a/games/openlierox/Makefile b/games/openlierox/Makefile
index 044c92b01523..c795f908ff8d 100644
--- a/games/openlierox/Makefile
+++ b/games/openlierox/Makefile
@@ -14,7 +14,8 @@ COMMENT= Extremely addictive realtime worms shoot-em-up
LIB_DEPENDS= libcurl.so:ftp/curl
-USES= cmake:insource compiler:c++11-lang gnome localbase pkgconfig tar:bzip2
+USES= cmake:insource compiler:c++11-lang gnome localbase pkgconfig \
+ sdl tar:bzip2
USE_SDL= sdl image
USE_GNOME= libxml2
@@ -42,6 +43,7 @@ OPTIONS_DEFINE= DEDICATED_ONLY DOCS
DEDICATED_ONLY_DESC= Build dedicated server only
DEDICATED_ONLY_CMAKE_BOOL= DEDICATED_ONLY
+DEDICATED_ONLY_USES_OFF= xorg
DEDICATED_ONLY_USE_OFF= XORG=x11 SDL=mixer
DEDICATED_ONLY_LIB_DEPENDS_OFF= libgd.so:graphics/gd
diff --git a/games/openmortal/Makefile b/games/openmortal/Makefile
index f808024f44d3..647de33c6271 100644
--- a/games/openmortal/Makefile
+++ b/games/openmortal/Makefile
@@ -12,7 +12,7 @@ COMMENT= Parody of the once popular coin-up fighting game, Mortal Kombat
LIB_DEPENDS= libfreetype.so:print/freetype2
-USES= tar:bzip2 dos2unix perl5
+USES= dos2unix perl5 sdl tar:bzip2
GNU_CONFIGURE= yes
USE_SDL= mixer image sdl net
DOS2UNIX_FILES= src/gfx.cpp
diff --git a/games/openomf/Makefile b/games/openomf/Makefile
index dc73b5bea7ca..befd10dc62a5 100644
--- a/games/openomf/Makefile
+++ b/games/openomf/Makefile
@@ -25,7 +25,7 @@ GH_TAGNAME= c36c421
GH_TUPLE= omf2097:libShadowDive:b2c34a6:shadow \
kode54:dumb:238f23c:libdumb
-USES= cmake:insource compiler:c++11-lang gettext openal
+USES= cmake:insource compiler:c++11-lang gettext openal sdl
USE_SDL= sdl2
LLD_UNSAFE= yes
diff --git a/games/openra/Makefile b/games/openra/Makefile
index d677170ec3dd..5e590861ae55 100644
--- a/games/openra/Makefile
+++ b/games/openra/Makefile
@@ -39,7 +39,7 @@ USE_GITHUB= yes
GH_PROJECT= OpenRA
NO_ARCH= yes
-USES= desktop-file-utils gmake lua:51,run mono:nuget openal:soft \
+USES= desktop-file-utils gmake lua:51,run mono:nuget openal:soft sdl \
shared-mime-info shebangfix
USE_SDL= sdl2
NUGET_LAYOUT= flat
diff --git a/games/opensurge/Makefile b/games/opensurge/Makefile
index 496d749a3002..8db80829c6a6 100644
--- a/games/opensurge/Makefile
+++ b/games/opensurge/Makefile
@@ -28,7 +28,7 @@ LIB_DEPENDS= libalfont.so:x11-fonts/alfont \
WRKSRC= ${WRKDIR}/${PORTNAME}-src-build${SVN_REV}
-USES= cmake dos2unix localbase openal:soft
+USES= cmake dos2unix gnome localbase openal:soft
DOS2UNIX_GLOB= *.bg *.brk *.grp *.inc *.lev *.lng *.obj *.qst *.spr *.txt
PORTDOCS= readme.html
diff --git a/games/openttd/Makefile b/games/openttd/Makefile
index 1b6fec6f9cc8..cdf7164d9a13 100644
--- a/games/openttd/Makefile
+++ b/games/openttd/Makefile
@@ -60,7 +60,7 @@ CONFIGURE_ARGS+= --enable-dedicated
CFLAGS+= -I${LOCALBASE}/include
USE_RC_SUBR= ${PORTNAME}
.else
-USES+= compiler:c++11-lib sdl
+USES+= compiler:c++11-lib gnome sdl
USE_CXXSTD= gnu++11
CXXFLAGS+= -DU_USING_ICU_NAMESPACE=1
LIB_DEPENDS+= libfreetype.so:print/freetype2 \
diff --git a/games/orbital_eunuchs_sniper/Makefile b/games/orbital_eunuchs_sniper/Makefile
index 323df4a82048..95c1912cde60 100644
--- a/games/orbital_eunuchs_sniper/Makefile
+++ b/games/orbital_eunuchs_sniper/Makefile
@@ -13,6 +13,7 @@ COMMENT= Overhead shooting game
LICENSE= ZLIB
LICENSE_FILE= ${WRKSRC}/COPYING
+USES= sdl
USE_SDL= sdl image mixer
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-games-dir=${PREFIX}/share
diff --git a/games/osgg/Makefile b/games/osgg/Makefile
index 44272383d739..780528474532 100644
--- a/games/osgg/Makefile
+++ b/games/osgg/Makefile
@@ -16,7 +16,7 @@ GH_ACCOUNT= DusteDdk
GH_PROJECT= Osgg
GH_TAGNAME= 32d9e02 # 1.0 + extra FreeBSD-related fixes
-USES= sdl xorg
+USES= gl sdl xorg
USE_SDL= sdl image ttf mixer
USE_GL= gl
MAKE_ENV= DATADIR="${DATADIR}/"
diff --git a/games/pachi/Makefile b/games/pachi/Makefile
index f74451c34e65..777a31ca6b1d 100644
--- a/games/pachi/Makefile
+++ b/games/pachi/Makefile
@@ -12,7 +12,7 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Platform game similar to Manic Miner
USE_SDL= mixer sdl
-USES= gmake tar:tgz
+USES= gmake sdl tar:tgz
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/games/pacmanarena/Makefile b/games/pacmanarena/Makefile
index 373c2107fa74..41cfc5ab317a 100644
--- a/games/pacmanarena/Makefile
+++ b/games/pacmanarena/Makefile
@@ -19,6 +19,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
WRKSRC= ${WRKDIR}/${PORTNAME:S/arena//}
+USES= gnome sdl
USE_SDL= mixer net sdl
GNU_CONFIGURE= yes
LDFLAGS+= -lm
diff --git a/games/palomino/Makefile b/games/palomino/Makefile
index 46a54a96f5f4..84addbe7a5ee 100644
--- a/games/palomino/Makefile
+++ b/games/palomino/Makefile
@@ -44,6 +44,7 @@ PLIB_DESC= Enable sound support through plib
PLIB_BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib
GUI_DESC= Enable FLTK GUI
GUI_LIB_DEPENDS= libfltk.so:x11-toolkits/fltk
+SDL_USES= sdl
SDL_USE= SDL=sdl,mixer
post-patch:
diff --git a/games/passage/Makefile b/games/passage/Makefile
index a3cba9c7c1e6..c7f30e09b8e3 100644
--- a/games/passage/Makefile
+++ b/games/passage/Makefile
@@ -11,6 +11,7 @@ DISTNAME= Passage_v${PORTVERSION}_UnixSource
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Experimental video game by Jason Rohrer
+USES= sdl
USE_SDL= sdl
BUILD_WRKSRC= ${WRKDIR}/${DISTNAME}/gamma256/gameSource
diff --git a/games/patapizza-tetris/Makefile b/games/patapizza-tetris/Makefile
index 228017bc6069..7d0f39ff602b 100644
--- a/games/patapizza-tetris/Makefile
+++ b/games/patapizza-tetris/Makefile
@@ -21,7 +21,7 @@ GH_ACCOUNT= patapizza
GH_PROJECT= tetris
GH_TAGNAME= e6f1a41
-USES= gmake
+USES= gmake sdl
USE_SDL= sdl image gfx ttf
PORTDOCS= README.md
diff --git a/games/pengpong/Makefile b/games/pengpong/Makefile
index 40cf599a4c6c..27bb8534d16a 100644
--- a/games/pengpong/Makefile
+++ b/games/pengpong/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}-linux
MAINTAINER= ports@FreeBSD.org
COMMENT= Cross-platform pong game written in SDL
-USES= perl5
+USES= perl5 sdl
USE_SDL= image sdl
NO_WRKSUBDIR= yes
USE_PERL5= build
diff --git a/games/penguin-command/Makefile b/games/penguin-command/Makefile
index 44183fe41d7b..9c578600cff7 100644
--- a/games/penguin-command/Makefile
+++ b/games/penguin-command/Makefile
@@ -12,7 +12,7 @@ COMMENT= Clone of the classic game Missile Command
LIB_DEPENDS= libpng.so:graphics/png
-USES= jpeg
+USES= jpeg sdl
USE_SDL= mixer image sdl
GNU_CONFIGURE= yes
diff --git a/games/pengupop/Makefile b/games/pengupop/Makefile
index f76ae274bb77..8383fb4b3f89 100644
--- a/games/pengupop/Makefile
+++ b/games/pengupop/Makefile
@@ -12,7 +12,7 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Online multiplayer clone of Bust a Move
GNU_CONFIGURE= yes
-USES= gmake
+USES= gmake sdl
USE_SDL= sdl
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -pthread
diff --git a/games/pioneer/Makefile b/games/pioneer/Makefile
index 8bb6316ec924..d99c6ccfd7fd 100644
--- a/games/pioneer/Makefile
+++ b/games/pioneer/Makefile
@@ -37,7 +37,7 @@ LIB_DEPENDS= libassimp.so:multimedia/assimp \
libsigc-2.0.so:devel/libsigc++20 \
libvorbisfile.so:audio/libvorbis
-USES= cmake compiler:c++11-lib gl gnome pkgconfig
+USES= cmake compiler:c++11-lib gl gnome pkgconfig sdl
USE_GITHUB= yes
GH_ACCOUNT= pioneerspacesim
GH_TAGNAME= 20191009
diff --git a/games/pioneers/Makefile b/games/pioneers/Makefile
index 68f85e45c49b..d7ea18cef5eb 100644
--- a/games/pioneers/Makefile
+++ b/games/pioneers/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= itstool:textproc/itstool
RUN_DEPENDS= yelp:x11/yelp
-USES= gettext gmake pkgconfig
+USES= gettext gmake gnome pkgconfig
USE_GNOME= gnomeprefix gtk30 intltool libgnome librsvg2
INSTALLS_ICONS= yes
INSTALLS_OMF= yes
diff --git a/games/pipenightdreams/Makefile b/games/pipenightdreams/Makefile
index 653d2708fc1b..d1bf98386a56 100644
--- a/games/pipenightdreams/Makefile
+++ b/games/pipenightdreams/Makefile
@@ -13,7 +13,7 @@ COMMENT= Puzzle game similar to PipeMania
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= gmake
+USES= gmake sdl
USE_SDL= image sdl
GNU_CONFIGURE= yes
diff --git a/games/pipepanic/Makefile b/games/pipepanic/Makefile
index 3332a66ab041..e1d554d2ec91 100644
--- a/games/pipepanic/Makefile
+++ b/games/pipepanic/Makefile
@@ -20,6 +20,7 @@ LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING
LICENSE_FILE_FAL= ${WRKSRC}/COPYING-ARTWORK
LICENSE_PERMS_FAL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+USES= sdl
USE_SDL= sdl
PLIST_FILES= bin/${PORTNAME}
diff --git a/games/pmars-sdl/Makefile b/games/pmars-sdl/Makefile
index 75db5d96622b..b896525dafa3 100644
--- a/games/pmars-sdl/Makefile
+++ b/games/pmars-sdl/Makefile
@@ -14,6 +14,8 @@ COMMENT= Port of pMARS using the Simple Directmedia Library
LICENSE= GPLv2+
+USES= sdl
+
OPTIONS_DEFINE= ICWS94 OPTIMIZED_CFLAGS PERMUTATE SMALLMEM
OPTIONS_DEFAULT= ICWS94 OPTIMIZED_CFLAGS PERMUTATE
ICWS94_DESC= Enable ICWS'94 support
diff --git a/games/pongix/Makefile b/games/pongix/Makefile
index b7481dd59af1..989baff5c9dd 100644
--- a/games/pongix/Makefile
+++ b/games/pongix/Makefile
@@ -13,7 +13,7 @@ COMMENT= Free pong-like game
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= gmake
+USES= gmake sdl
USE_SDL= sdl image net
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/games/ponscripter-sekai/Makefile b/games/ponscripter-sekai/Makefile
index 475212b5c082..c6ee322dc670 100644
--- a/games/ponscripter-sekai/Makefile
+++ b/games/ponscripter-sekai/Makefile
@@ -23,7 +23,7 @@ USE_GITHUB= yes
GH_ACCOUNT= sekaiproject
GH_PROJECT= ${PORTNAME:S/sekai/fork/}
-USES= compiler:c++11-lang gmake shebangfix
+USES= compiler:c++11-lang gmake sdl shebangfix
USE_SDL= image2 mixer2
EXTRACT_AFTER_ARGS=--exclude src/extlib
SHEBANG_FILES= util/xml-template
diff --git a/games/popstar/Makefile b/games/popstar/Makefile
index 14c35605d5cc..005d7597e7cc 100644
--- a/games/popstar/Makefile
+++ b/games/popstar/Makefile
@@ -18,7 +18,7 @@ LICENSE= GPLv2+ CC-BY-SA-2.5 CC-BY-3.0
LICENSE_COMB= multi
LICENSE_FILE_CC-BY-3.0= ${WRKSRC}/docs/COPYING-CC-Attrib30.txt
-USES= gmake
+USES= gmake sdl
USE_SDL= image mixer sdl
PORTDOCS= AUTHORS.txt CHANGES.txt README.txt
diff --git a/games/powder/Makefile b/games/powder/Makefile
index 067a712d2db6..f3b46bf6074d 100644
--- a/games/powder/Makefile
+++ b/games/powder/Makefile
@@ -12,7 +12,7 @@ DISTNAME= ${PORTNAME}${PORTVERSION}_src
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Graphical dungeon crawling game
-USES= gmake
+USES= gmake sdl
USE_SDL= sdl
USE_CXXSTD= c++98
MAKE_JOBS_UNSAFE=yes
diff --git a/games/prboom-plus/Makefile b/games/prboom-plus/Makefile
index 8c0fe0799c58..2e9294aaddbe 100644
--- a/games/prboom-plus/Makefile
+++ b/games/prboom-plus/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libsmpeg.so:multimedia/smpeg \
libpng.so:graphics/png
-USES= gmake localbase
+USES= gmake localbase sdl
USE_SDL= mixer net sdl
GNU_CONFIGURE= yes
@@ -28,7 +28,8 @@ OPTIONS_DEFAULT=OPENGL
DATADIR= ${DMDIR}
OPENGL_CONFIGURE_ENABLE= gl
-OPENGL_USE= GL=yes
+OPENGL_USES= gl
+OPENGL_USE= GL=glu
post-patch:
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \
diff --git a/games/prboom/Makefile b/games/prboom/Makefile
index 6735d6ff9f46..f320ec746d1d 100644
--- a/games/prboom/Makefile
+++ b/games/prboom/Makefile
@@ -14,7 +14,7 @@ LICENSE= GPLv2
LIB_DEPENDS= libsmpeg.so:multimedia/smpeg
-USES= gmake
+USES= gmake sdl
USE_SDL= mixer net sdl
GNU_CONFIGURE= yes
@@ -31,6 +31,7 @@ PLIST_SUB= PORTVERSION=${PORTVERSION}
SUB_FILES= pkg-message
OPENGL_CONFIGURE_ENABLE= gl
-OPENGL_USE= GL=yes
+OPENGL_USES= gl
+OPENGL_USE= GL=glu
.include <bsd.port.mk>
diff --git a/games/primateplunge/Makefile b/games/primateplunge/Makefile
index 3b56a9e95d0a..7a7a50428e2f 100644
--- a/games/primateplunge/Makefile
+++ b/games/primateplunge/Makefile
@@ -17,6 +17,8 @@ LICENSE_PERMS= # empty
RUN_DEPENDS= timidity:audio/timidity
+USES= sdl
+
GNU_CONFIGURE= yes
USE_SDL= sdl mixer
diff --git a/games/puckman/Makefile b/games/puckman/Makefile
index 80c85e5eda3c..68fd5da50fc1 100644
--- a/games/puckman/Makefile
+++ b/games/puckman/Makefile
@@ -20,7 +20,7 @@ USE_GITHUB= yes
GH_ACCOUNT= patapizza
GH_TAGNAME= f5b809c
-USES= gmake
+USES= gmake sdl
USE_SDL= sdl image gfx
PORTDOCS= README.md
diff --git a/games/pushover/Makefile b/games/pushover/Makefile
index ffcb8538426e..32ee2b328731 100644
--- a/games/pushover/Makefile
+++ b/games/pushover/Makefile
@@ -18,7 +18,7 @@ GNU_CONFIGURE= yes
USE_SDL= sdl mixer ttf
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-USES= gettext gmake pkgconfig lua
+USES= gettext gmake lua pkgconfig sdl
PORTDOCS= *
PORTDATA= *
diff --git a/games/pycadia/Makefile b/games/pycadia/Makefile
index d4891732d4ff..bb9a72716cc5 100644
--- a/games/pycadia/Makefile
+++ b/games/pycadia/Makefile
@@ -19,7 +19,7 @@ RUN_DEPENDS= ${PYGAME}
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= python:2.7 shebangfix
+USES= gnome python:2.7 shebangfix
USE_GNOME= pygtk2 libgnomeui
SHEBANG_FILES= *.py
NO_ARCH= yes
diff --git a/games/pyspacewar/Makefile b/games/pyspacewar/Makefile
index 4ff8afb32fc6..ac162fc1dc1b 100644
--- a/games/pyspacewar/Makefile
+++ b/games/pyspacewar/Makefile
@@ -20,7 +20,7 @@ USE_GITHUB= yes
GH_ACCOUNT= mgedmin
#GH_TAGNAME= f872564
-USES= python
+USES= gnome python
USE_PYTHON= distutils autoplist
NO_ARCH= yes
diff --git a/games/pytowerdefense/Makefile b/games/pytowerdefense/Makefile
index c49540275200..2875efbdc9fd 100644
--- a/games/pytowerdefense/Makefile
+++ b/games/pytowerdefense/Makefile
@@ -16,7 +16,7 @@ LICENSE= GPLv3
RUN_DEPENDS= ${PYGAME}
-USES= python:2.7 shebangfix zip
+USES= gnome python:2.7 shebangfix zip
SHEBANG_FILES= pyconsole.py
INSTALLS_ICONS= yes
NO_ARCH= yes
diff --git a/games/qnetwalk/Makefile b/games/qnetwalk/Makefile
index 9c1d9d794514..3db20eecba2b 100644
--- a/games/qnetwalk/Makefile
+++ b/games/qnetwalk/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
USE_GITHUB= yes
GH_ACCOUNT= AMDmi3
-USES= cmake compiler:c++11-lang qt:5
+USES= cmake compiler:c++11-lang qt:5 sdl
USE_QT= core gui widgets qmake_build buildtools_build linguisttools_build
USE_SDL= mixer sdl
diff --git a/games/qonk/Makefile b/games/qonk/Makefile
index 150007c92ab8..a53137a8ff1c 100644
--- a/games/qonk/Makefile
+++ b/games/qonk/Makefile
@@ -14,7 +14,7 @@ LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
-USES= gmake localbase
+USES= gmake localbase sdl
USE_SDL= sdl gfx ttf image
post-patch:
diff --git a/games/quantumminigolf/Makefile b/games/quantumminigolf/Makefile
index 9e3e913f210c..e0d58d4c747e 100644
--- a/games/quantumminigolf/Makefile
+++ b/games/quantumminigolf/Makefile
@@ -14,7 +14,7 @@ COMMENT= Computer game visualizing quantum mechanics
LIB_DEPENDS= libfftw3f.so:math/fftw3-float \
libfftw3.so:math/fftw3
-USES= gmake compiler:env
+USES= compiler:env gmake sdl
USE_SDL= sdl ttf
PLIST_FILES= bin/${PORTNAME}
diff --git a/games/reminiscence/Makefile b/games/reminiscence/Makefile
index f8e88305d589..66fb8cc28934 100644
--- a/games/reminiscence/Makefile
+++ b/games/reminiscence/Makefile
@@ -13,7 +13,7 @@ COMMENT= Rewritten engine for Flashback
LIB_DEPENDS= libmodplug.so:audio/libmodplug \
libvorbisidec.so:audio/libtremor
-USES= gmake pkgconfig tar:bzip2
+USES= gmake pkgconfig sdl tar:bzip2
USE_SDL= sdl2
ALL_TARGET= rs
diff --git a/games/residualvm/Makefile b/games/residualvm/Makefile
index 6ab1578ae27b..1a00985d2f61 100644
--- a/games/residualvm/Makefile
+++ b/games/residualvm/Makefile
@@ -16,7 +16,7 @@ USE_GITHUB= yes
USE_SDL= sdl
HAS_CONFIGURE= yes
-USES= gmake
+USES= gmake sdl
OPTIONS_DEFINE= DOCS
diff --git a/games/rezerwar/Makefile b/games/rezerwar/Makefile
index 5a7b623180fa..acf03c723f0e 100644
--- a/games/rezerwar/Makefile
+++ b/games/rezerwar/Makefile
@@ -11,7 +11,7 @@ MASTER_SITES= http://tamentis.com/projects/rezerwar/files/ \
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Puzzle game involving organizing blocks with pipes
-USES= gmake
+USES= gmake sdl
USE_SDL= sdl mixer
HAS_CONFIGURE= yes
CONFIGURE_ARGS= Unix
diff --git a/games/ri-li/Makefile b/games/ri-li/Makefile
index 712657f7d0c6..237cd46c654a 100644
--- a/games/ri-li/Makefile
+++ b/games/ri-li/Makefile
@@ -14,7 +14,7 @@ LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING
-USES= tar:bzip2 gmake
+USES= gmake sdl tar:bzip2
GNU_CONFIGURE= yes
USE_SDL= sdl mixer
diff --git a/games/rnd_jue/Makefile b/games/rnd_jue/Makefile
index 3adf1c8270c7..5ebc4868029e 100644
--- a/games/rnd_jue/Makefile
+++ b/games/rnd_jue/Makefile
@@ -25,7 +25,7 @@ LICENSE= GPLv2
LIB_DEPENDS+= libsmpeg.so:multimedia/smpeg
EXTRACT_DEPENDS+=${UNZIP_CMD}:archivers/unzip
-USES= gmake
+USES= gmake gnome sdl
USE_SDL= image mixer net sdl
MAKE_ARGS= CC="${CC}" MAKE="${MAKE_CMD}" OPTIONS="${CFLAGS}" \
RO_GAME_DIR="${DATADIR}" \
diff --git a/games/rockdodger/Makefile b/games/rockdodger/Makefile
index a990823db174..9c31648e459f 100644
--- a/games/rockdodger/Makefile
+++ b/games/rockdodger/Makefile
@@ -19,7 +19,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libogg.so:audio/libogg
-USES= gmake
+USES= gmake sdl
USE_SDL= mixer image sdl
DESKTOP_ENTRIES="Rock Dodger" "" "${PORTNAME}" \
diff --git a/games/rocksndiamonds/Makefile b/games/rocksndiamonds/Makefile
index 1a94320e3df4..187f03eb62b1 100644
--- a/games/rocksndiamonds/Makefile
+++ b/games/rocksndiamonds/Makefile
@@ -29,7 +29,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libsmpeg.so:multimedia/smpeg
EXTRACT_DEPENDS=${UNZIP_CMD}:archivers/unzip
-USES= gmake iconv
+USES= gmake gnome iconv sdl
USE_SDL= image mixer net sdl
MAKE_ARGS= CC="${CC}" MAKE="${MAKE_CMD}" OPTIONS="${CFLAGS}" \
RO_GAME_DIR="${DATADIR}" \
diff --git a/games/rottdc/Makefile b/games/rottdc/Makefile
index 471c69a67346..6c4e148293d0 100644
--- a/games/rottdc/Makefile
+++ b/games/rottdc/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= SF/sdl-dc/${PORTNAME}/1.0-2
MAINTAINER= ports@FreeBSD.org
COMMENT= Apogee's Rise Of The Triad source port
-USES= compiler:c11 gmake tar:bzip2
+USES= compiler:c11 gmake sdl tar:bzip2
USE_SDL= sdl mixer
PATCH_WRKSRC= ${WRKSRC}/rott
# Crashes when compiling with -O2 or greater, so downgrade to -O1.
diff --git a/games/sauerbraten/Makefile b/games/sauerbraten/Makefile
index d399a5e10418..982f819c3aeb 100644
--- a/games/sauerbraten/Makefile
+++ b/games/sauerbraten/Makefile
@@ -36,7 +36,7 @@ SUB_FILES= pkg-message ${PLIST_FILES:Mbin/*:T}
OPTIONS_DEFINE= DOCS
CLIENT_DESC= Build client
-CLIENT_USES= gl xorg
+CLIENT_USES= gl sdl xorg
CLIENT_USE= GL=gl SDL=image,mixer,sdl XORG=x11
CLIENT_ALL_TARGET= client
CLIENT_PLIST_FILES= bin/sauer_client libexec/sauer_client
diff --git a/games/schwarzweiss/Makefile b/games/schwarzweiss/Makefile
index 33ea6dc3a7f2..cad8446c3d81 100644
--- a/games/schwarzweiss/Makefile
+++ b/games/schwarzweiss/Makefile
@@ -23,7 +23,7 @@ USE_GITHUB= yes
GH_ACCOUNT= horstjens
GH_TAGNAME= d95263f
-USES= python:2.7 shebangfix
+USES= gnome python:2.7 shebangfix
SHEBANG_FILES= schwarzweiss_start.py data/*.py
PORTDOCS= readme.txt
diff --git a/games/scramble/Makefile b/games/scramble/Makefile
index 2b7c1ac166b5..9d6983803c43 100644
--- a/games/scramble/Makefile
+++ b/games/scramble/Makefile
@@ -12,7 +12,7 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= From 6 letters you are to create as many words as you can
GNU_CONFIGURE= yes
-USES= gmake
+USES= gmake sdl
USE_SDL= sdl mixer image ttf
CPPFLAGS+= `${SDL_CONFIG} --cflags`
diff --git a/games/sdl_jewels/Makefile b/games/sdl_jewels/Makefile
index 17b41d35d3b5..d56c3dd4af6c 100644
--- a/games/sdl_jewels/Makefile
+++ b/games/sdl_jewels/Makefile
@@ -17,7 +17,7 @@ COMMENT= Tile-matching 8x8 puzzle game
WRKSRC= ${WRKDIR}/${PORTNAME:S/sdl/SDL/}-${PORTVERSION}
-USES= gmake
+USES= gmake sdl
USE_SDL= sdl image mixer
ALL_TARGET= # empty
diff --git a/games/sdl_lopan/Makefile b/games/sdl_lopan/Makefile
index 1be43159fc14..33590b8cefdd 100644
--- a/games/sdl_lopan/Makefile
+++ b/games/sdl_lopan/Makefile
@@ -17,7 +17,7 @@ COMMENT= Mahjong game remake
WRKSRC= ${WRKDIR}/sdllopan-${PORTVERSION}
-USES= gmake
+USES= gmake sdl
USE_SDL= sdl image mixer
ALL_TARGET= # empty
diff --git a/games/sdl_scavenger/Makefile b/games/sdl_scavenger/Makefile
index ba23695fc910..a8d380cb407a 100644
--- a/games/sdl_scavenger/Makefile
+++ b/games/sdl_scavenger/Makefile
@@ -16,7 +16,7 @@ LICENSE= GPLv1
WRKSRC= ${WRKDIR}/sdlscav-145
-USES= gmake shebangfix tar:tgz
+USES= gmake sdl shebangfix tar:tgz
SHEBANG_FILES= scavsaver
bash_CMD= /bin/sh
USE_SDL= sdl image mixer
diff --git a/games/sdlroids/Makefile b/games/sdlroids/Makefile
index ada7d5e1faf6..39c586b8b930 100644
--- a/games/sdlroids/Makefile
+++ b/games/sdlroids/Makefile
@@ -18,7 +18,7 @@ COMMENT= Enhanced shoot-the-asteroids game
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= gmake tar:bzip2
+USES= gmake sdl tar:bzip2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --datadir=${PREFIX}/share
USE_CSTD= gnu89
diff --git a/games/sdlsand/Makefile b/games/sdlsand/Makefile
index 564e56422f1c..50402a613b0b 100644
--- a/games/sdlsand/Makefile
+++ b/games/sdlsand/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Simulation of falling sand and other materials
-USES= dos2unix zip
+USES= dos2unix sdl zip
DOS2UNIX_FILES= CmdLine.cpp
USE_SDL= sdl
diff --git a/games/senken/Makefile b/games/senken/Makefile
index 8f18cc0b2347..fdcb8052e5ac 100644
--- a/games/senken/Makefile
+++ b/games/senken/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= GENTOO
MAINTAINER= ports@FreeBSD.org
COMMENT= City simulation game
-USES= pkgconfig
+USES= gnome pkgconfig sdl
USE_GNOME= gtk20
USE_SDL= image sdl
GNU_CONFIGURE= yes
diff --git a/games/sets/Makefile b/games/sets/Makefile
index 1265a5b82363..83c6c2e7f443 100644
--- a/games/sets/Makefile
+++ b/games/sets/Makefile
@@ -16,7 +16,7 @@ COMMENT= This is an implementation of the sets game
LICENSE= GPLv3
-USES= gmake tar:tgz
+USES= gmake sdl tar:tgz
USE_SDL= sdl image
ALL_TARGET= ${PORTNAME}
diff --git a/games/simutrans/Makefile b/games/simutrans/Makefile
index 0982b33b6fe7..fe18e7ec1f2b 100644
--- a/games/simutrans/Makefile
+++ b/games/simutrans/Makefile
@@ -37,7 +37,7 @@ MAKE_ARGS= BACKEND=mixer_sdl \
FLAGS="-DUSE_C -DREVISION=${SIMUTRANS_REVISION}" \
VERBOSE=1
NO_WRKSUBDIR= yes
-USES= compiler dos2unix gmake zip
+USES= compiler dos2unix gmake sdl zip
USE_SDL= sdl mixer
CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
diff --git a/games/sopwith/Makefile b/games/sopwith/Makefile
index bbe39d7e9edc..52cea13df65d 100644
--- a/games/sopwith/Makefile
+++ b/games/sopwith/Makefile
@@ -12,7 +12,7 @@ COMMENT= Classic WW1 biplane game
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= gmake pkgconfig
+USES= gmake gnome pkgconfig sdl
USE_SDL= sdl
USE_GNOME= gtk20
GNU_CONFIGURE= yes
diff --git a/games/spacejunk/Makefile b/games/spacejunk/Makefile
index c5bb711c2843..65e0882ceb2c 100644
--- a/games/spacejunk/Makefile
+++ b/games/spacejunk/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_aarch64= Fails to compile: error: _compile_time_assert__ declared as an array with a negative size
BROKEN_sparc64= Doesn't compile on sparc64
-USES= dos2unix localbase
+USES= dos2unix localbase sdl
USE_CXXSTD= c++98
GNU_CONFIGURE= yes
USE_SDL= sdl mixer image
diff --git a/games/stransball2/Makefile b/games/stransball2/Makefile
index 6d419b866979..6e52efebac52 100644
--- a/games/stransball2/Makefile
+++ b/games/stransball2/Makefile
@@ -17,7 +17,7 @@ LICENSE_FILE= ${BUILD_WRKSRC}/LICENSE
LIB_DEPENDS= libSGE.so:devel/sdl_sge
-USES= gmake dos2unix zip
+USES= dos2unix gmake sdl zip
DOS2UNIX_FILES= sources/main.cpp sources/auxiliar.cpp
USE_SDL= sdl image mixer sound
diff --git a/games/stratagus/Makefile b/games/stratagus/Makefile
index fb18e554cd78..578fba760eee 100644
--- a/games/stratagus/Makefile
+++ b/games/stratagus/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= libpng.so:graphics/png \
USE_GITHUB= yes
GH_ACCOUNT= Wargus
-USES= cmake compiler:c++11-lang gl lua:51 pkgconfig sqlite
+USES= cmake compiler:c++11-lang gl lua:51 pkgconfig sdl sqlite
USE_GL= gl glu
USE_SDL= sdl
CMAKE_ARGS= -DGAMEDIR:STRING="bin" \
diff --git a/games/taisei/Makefile b/games/taisei/Makefile
index 6eb314dd4f50..4256a57e3f64 100644
--- a/games/taisei/Makefile
+++ b/games/taisei/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= libpng.so:graphics/png \
USE_GITHUB= yes
GH_ACCOUNT= ${PORTNAME}-project
-USES= cmake compiler:c11 pkgconfig
+USES= cmake compiler:c11 pkgconfig sdl
CMAKE_ARGS= -DTAISEI_VERSION_OVERRIDE=${PORTVERSION}
USE_SDL= sdl2 ttf2 mixer2
diff --git a/games/tecnoballz/Makefile b/games/tecnoballz/Makefile
index 96ad73b91bc2..43c38aca999e 100644
--- a/games/tecnoballz/Makefile
+++ b/games/tecnoballz/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= libmikmod.so:audio/libmikmod \
libsmpeg.so:multimedia/smpeg \
libtinyxml.so:textproc/tinyxml
-USES= autoreconf compiler:c++11-lang gmake tar:tgz
+USES= autoreconf compiler:c++11-lang gmake sdl tar:tgz
USE_SDL= sdl mixer image
GNU_CONFIGURE= yes
diff --git a/games/tesseract/Makefile b/games/tesseract/Makefile
index b62d79aebccc..8535fc409717 100644
--- a/games/tesseract/Makefile
+++ b/games/tesseract/Makefile
@@ -31,7 +31,7 @@ OPTIONS_MULTI= FLAVOR
OPTIONS_MULTI_FLAVOR=CLIENT DEDICATED MASTER
CLIENT_DESC= Build client
-CLIENT_USES= gl xorg
+CLIENT_USES= gl sdl xorg
CLIENT_USE= GL=gl SDL=image2,mixer2 XORG=x11
CLIENT_ALL_TARGET= client
CLIENT_PLIST_FILES= bin/tess_client libexec/tess_client
diff --git a/games/tileworld/Makefile b/games/tileworld/Makefile
index e4043f83941f..2624d83a7219 100644
--- a/games/tileworld/Makefile
+++ b/games/tileworld/Makefile
@@ -13,7 +13,7 @@ COMMENT= Emulation of the game "Chip's Challenge"
USE_SDL= sdl
GNU_CONFIGURE= YES
-USES= gmake
+USES= gmake sdl
ALL_TARGET= tworld
DATADIR= share/tworld
diff --git a/games/tong/Makefile b/games/tong/Makefile
index 79374b8baf5f..1ec337aafe55 100644
--- a/games/tong/Makefile
+++ b/games/tong/Makefile
@@ -13,7 +13,7 @@ COMMENT= Tetris and Pong in the same place at the same time
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= gmake
+USES= gmake sdl
USE_SDL= image mixer sdl
PORTDOCS= CHANGELOG CREDITS README making-of.txt notes.txt
diff --git a/games/toppler/Makefile b/games/toppler/Makefile
index ef312a97a9c5..daf1e1e03caf 100644
--- a/games/toppler/Makefile
+++ b/games/toppler/Makefile
@@ -12,7 +12,7 @@ COMMENT= Climb a tower and avoid monsters
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= gettext gmake localbase
+USES= gettext gmake localbase sdl
USE_SDL= mixer sdl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var/games
diff --git a/games/torrent/Makefile b/games/torrent/Makefile
index 3ae278eeb018..71b36d3bc78c 100644
--- a/games/torrent/Makefile
+++ b/games/torrent/Makefile
@@ -12,7 +12,7 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Score points without letting the tiles touch the top of the board
GNU_CONFIGURE= yes
-USES= gmake
+USES= gmake sdl
USE_SDL= sdl mixer image ttf
CPPFLAGS+= `${SDL_CONFIG} --cflags`
diff --git a/games/toycars/Makefile b/games/toycars/Makefile
index 8ba2fa2125bf..f9c3e9076ff1 100644
--- a/games/toycars/Makefile
+++ b/games/toycars/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfltk.so:x11-toolkits/fltk
-USES= gl gmake localbase
+USES= gl gmake localbase sdl
USE_CXXSTD= c++98
GNU_CONFIGURE= yes
USE_SDL= image sdl
diff --git a/games/traingame/Makefile b/games/traingame/Makefile
index e6c5e5842bad..5b482912e63d 100644
--- a/games/traingame/Makefile
+++ b/games/traingame/Makefile
@@ -20,7 +20,8 @@ USE_GITHUB= yes
GH_ACCOUNT= nickg
GH_TAGNAME= cb6513e
-USES= cmake:insource compiler:c++11-lib dos2unix gl pkgconfig sdl
+USES= cmake:insource compiler:c++11-lib dos2unix gl gnome pkgconfig \
+ sdl
DOS2UNIX_GLOB= *.mtl *.obj
USE_CXXSTD= c++11
USE_SDL= sdl image
diff --git a/games/trenchbroom/Makefile b/games/trenchbroom/Makefile
index dbadfd9d1066..dd4bd4d9170a 100644
--- a/games/trenchbroom/Makefile
+++ b/games/trenchbroom/Makefile
@@ -18,7 +18,7 @@ GH_ACCOUNT= kduske
GH_PROJECT= TrenchBroom
GH_TAGNAME= ed46601
-USES= cmake:insource compiler:c++11-lib gl pkgconfig
+USES= cmake:insource compiler:c++11-lib gl gnome pkgconfig
USE_GL= glew
USE_WX= 3.0+
CMAKE_ARGS= -DAPP_BUILD_CHANNEL:STRING="Beta for ${OPSYS}/${ARCH}"
diff --git a/games/trimines/Makefile b/games/trimines/Makefile
index e91047e7d305..7f43f1b96d8c 100644
--- a/games/trimines/Makefile
+++ b/games/trimines/Makefile
@@ -11,6 +11,7 @@ MASTER_SITES= http://www.freewebs.com/trimines/ \
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Mine sweeper game that uses triangles instead of squares
+USES= sdl
USE_SDL= sdl
PLIST_FILES= bin/${PORTNAME}
diff --git a/games/ttt/Makefile b/games/ttt/Makefile
index f377869dbe56..58b5b0fc4f86 100644
--- a/games/ttt/Makefile
+++ b/games/ttt/Makefile
@@ -17,7 +17,7 @@ COMMENT= Simple one or two player Tic Tac Toe game
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= autoreconf
+USES= autoreconf sdl
USE_SDL= mixer sdl
GNU_CONFIGURE= yes
ALL_TARGET= ${PORTNAME}
diff --git a/games/tuxfighter/Makefile b/games/tuxfighter/Makefile
index e91149da0186..db07822f761b 100644
--- a/games/tuxfighter/Makefile
+++ b/games/tuxfighter/Makefile
@@ -19,7 +19,7 @@ LICENSE_FILE= ${WRKSRC}/GPL.txt
RUN_DEPENDS= ${PYGAME}
-USES= python:2.7 shebangfix
+USES= gnome python:2.7 shebangfix
SHEBANG_FILES= TuxFighter54.py
PORTDOCS= readme_TuxFighter54.txt
diff --git a/games/tuxmath/Makefile b/games/tuxmath/Makefile
index 013a7b6bcaa1..e0da70d87c01 100644
--- a/games/tuxmath/Makefile
+++ b/games/tuxmath/Makefile
@@ -21,7 +21,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}_w_fonts-${PORTVERSION}
USE_GNOME= libxml2
USE_SDL= image mixer net pango sdl
-USES= gmake iconv localbase perl5 pkgconfig
+USES= gmake gnome iconv localbase perl5 pkgconfig sdl
GNU_CONFIGURE= yes
CONFIGURE_ENV= T4K_COMMON_CFLAGS="-I${T4K_WRKSRC}/src" \
T4K_COMMON_LIBS="${T4K_WRKSRC}/src/.libs/libt4k_common.a" \
diff --git a/games/tuxpaint/Makefile b/games/tuxpaint/Makefile
index 9d28069ebd25..199264cb525b 100644
--- a/games/tuxpaint/Makefile
+++ b/games/tuxpaint/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libfribidi.so:converters/fribidi \
RUN_DEPENDS= anytopnm:graphics/netpbm \
bash:shells/bash
-USES= gettext gmake gperf pkgconfig shebangfix
+USES= gettext gmake gnome gperf pkgconfig sdl shebangfix
SHEBANG_FILES= src/tuxpaint-import.sh
USE_GNOME= librsvg2
USE_SDL= image mixer sdl ttf pango
diff --git a/games/tuxtype/Makefile b/games/tuxtype/Makefile
index 8d204572741f..54ff1aaf8972 100644
--- a/games/tuxtype/Makefile
+++ b/games/tuxtype/Makefile
@@ -17,7 +17,8 @@ BUILD_DEPENDS= gsed:textproc/gsed
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-USES= autoreconf gettext gmake iconv localbase perl5 pkgconfig
+USES= autoreconf gettext gmake gnome iconv localbase perl5 pkgconfig \
+ sdl
USE_GNOME= libxml2
USE_SDL= image mixer net pango sdl
GNU_CONFIGURE= yes
diff --git a/games/twind/Makefile b/games/twind/Makefile
index c064f0e6a7ce..31c78822b1fc 100644
--- a/games/twind/Makefile
+++ b/games/twind/Makefile
@@ -13,6 +13,7 @@ COMMENT= Match and remove all of the blocks before time runs out
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
+USES= sdl
USE_SDL= sdl image mixer
PORTDOCS= AUTHORS CREDITS ChangeLog NEWS README
diff --git a/games/uhexen/Makefile b/games/uhexen/Makefile
index c670a7a83564..b1a51f4bacff 100644
--- a/games/uhexen/Makefile
+++ b/games/uhexen/Makefile
@@ -13,7 +13,7 @@ COMMENT= Yet another port of Hexen, popular game from Raven Software
BROKEN_powerpc= fails to compile
BROKEN_powerpc64= fails to compile: m_misc.o: undefined reference to 'ShortSwap'
-USES= gmake
+USES= gmake sdl
USE_SDL= mixer sdl
MAKE_ENV= EXTRA_LIBS=-lm
diff --git a/games/ultimatestunts/Makefile b/games/ultimatestunts/Makefile
index ccc60ea75b61..67951ef4f5a3 100644
--- a/games/ultimatestunts/Makefile
+++ b/games/ultimatestunts/Makefile
@@ -19,7 +19,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libvorbisfile.so:audio/libvorbis
-USES= compiler gettext gl openal:al,alut pkgconfig sdl
+USES= compiler gettext gl gnome openal:al,alut pkgconfig sdl
USE_GL= gl glu
USE_SDL= sdl image
GNU_CONFIGURE= yes
diff --git a/games/umark/Makefile b/games/umark/Makefile
index 55ae9e9849d1..cee0fd1c23d9 100644
--- a/games/umark/Makefile
+++ b/games/umark/Makefile
@@ -14,7 +14,7 @@ COMMENT= Unreal Tournament 200x series benchmark utility
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= pkgconfig shebangfix
+USES= gnome pkgconfig shebangfix
SHEBANG_FILES= install_umark_data.sh utxinfo.pl
USE_GNOME= gtk20
WRKSRC= ${WRKDIR}/UMark
diff --git a/games/unknown-horizons/Makefile b/games/unknown-horizons/Makefile
index fdc2791a6d6d..9f6eada2c415 100644
--- a/games/unknown-horizons/Makefile
+++ b/games/unknown-horizons/Makefile
@@ -22,7 +22,7 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/fife/__init__.py:games/py-fife@${PY_FLAVOR} \
ONLY_FOR_ARCHS= i386 amd64
-USES= gettext-tools python:2.7 shebangfix tar:xz
+USES= gettext-tools gnome python:2.7 shebangfix tar:xz
USE_GITHUB= yes
USE_GNOME= intltool
USE_PYTHON= distutils
diff --git a/games/untahris/Makefile b/games/untahris/Makefile
index 4c3661363d84..def7ff478206 100644
--- a/games/untahris/Makefile
+++ b/games/untahris/Makefile
@@ -11,7 +11,7 @@ EXTRACT_SUFX= -src.tgz
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Play several classic fun, simple arcade games in multiplayer mode
-USES= dos2unix
+USES= dos2unix sdl
USE_SDL= sdl net ttf mixer
DOS2UNIX_FILES= intface.cpp
WRKSRC= ${WRKDIR}/${PORTNAME}
diff --git a/games/uqm/Makefile b/games/uqm/Makefile
index bf1299a3f2a4..865cab6f04a8 100644
--- a/games/uqm/Makefile
+++ b/games/uqm/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= libvorbis.so:audio/libvorbis \
libmikmod.so:audio/libmikmod \
libpth.so:devel/pth
-USES= gmake pkgconfig
+USES= gmake pkgconfig sdl
USE_SDL= image sdl
DATAVERSION= 0.7.0
diff --git a/games/valyriatear/Makefile b/games/valyriatear/Makefile
index 237853a382c9..11a737d93d13 100644
--- a/games/valyriatear/Makefile
+++ b/games/valyriatear/Makefile
@@ -23,8 +23,8 @@ GH_ACCOUNT= Bertram25
GH_PROJECT= ValyriaTear
GH_TAGNAME= ${PORTVERSION}-gcc5 # contains relevant tolua++ fixes
-USES= alias cmake compiler:c++11-lang gettext-tools gl iconv lua:51 \
- openal sdl xorg
+USES= alias cmake compiler:c++11-lang gettext-tools gl gnome iconv \
+ lua:51 openal sdl xorg
CMAKE_ARGS= -DUSE_PCH_COMPILATION=OFF
USE_SDL= sdl image ttf
USE_GL= gl glu
diff --git a/games/vamos/Makefile b/games/vamos/Makefile
index a68980131971..e62a656af6b1 100644
--- a/games/vamos/Makefile
+++ b/games/vamos/Makefile
@@ -19,7 +19,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \
libpng.so:graphics/png
-USES= compiler:c++11-lang gl libtool openal:al,alut pkgconfig sdl xorg
+USES= compiler:c++11-lang gl gnome libtool openal:al,alut pkgconfig \
+ sdl xorg
USE_CXXSTD= c++98
USE_XORG= sm ice x11 xi xext xmu
USE_GL= glut
diff --git a/games/vavoom/Makefile b/games/vavoom/Makefile
index ef7cdcfb4940..d27e89df8528 100644
--- a/games/vavoom/Makefile
+++ b/games/vavoom/Makefile
@@ -57,7 +57,8 @@ VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis
VORBIS_CMAKE_ON= -DWITH_VORBIS:BOOL=ON
VORBIS_CMAKE_OFF= -DWITH_VORBIS:BOOL=OFF
-SDL_USE= SDL=mixer,sdl GL=yes
+SDL_USES= gl sdl
+SDL_USE= GL=glu SDL=mixer,sdl
SDL_CMAKE_ON= -DWITH_SDL:BOOL=ON -DWITH_OPENGL:BOOL=ON
SDL_CMAKE_OFF= -DWITH_SDL:BOOL=OFF -DWITH_OPENGL:BOOL=OFF
diff --git a/games/vectoroids/Makefile b/games/vectoroids/Makefile
index a9227bb5f52a..136ea5f3e614 100644
--- a/games/vectoroids/Makefile
+++ b/games/vectoroids/Makefile
@@ -13,7 +13,7 @@ COMMENT= Vector-based rock-shooting game similar to Asteroids
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING.txt
-USES= gmake
+USES= gmake sdl
USE_SDL= image mixer sdl
PORTDOCS= CHANGES.txt README.txt
diff --git a/games/viruskiller/Makefile b/games/viruskiller/Makefile
index 83b2936307f6..91c2cf8ad9de 100644
--- a/games/viruskiller/Makefile
+++ b/games/viruskiller/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/doc/LICENSE
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-USES= gmake
+USES= gmake gnome sdl
USE_SDL= mixer image ttf net
MAKEFILE= makefile
INSTALLS_ICONS= yes
diff --git a/games/vkquake/Makefile b/games/vkquake/Makefile
index 9cfd6bbadf40..b0dd24d5e7b0 100644
--- a/games/vkquake/Makefile
+++ b/games/vkquake/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libX11-xcb.so:x11/libX11 \
WRKSRC_SUBDIR= Quake
-USES= desktop-file-utils gmake pkgconfig
+USES= desktop-file-utils gmake gnome pkgconfig sdl
USE_SDL= sdl2
USE_GITHUB= yes
diff --git a/games/volleyball/Makefile b/games/volleyball/Makefile
index c48e84e93010..015547b9d5a8 100644
--- a/games/volleyball/Makefile
+++ b/games/volleyball/Makefile
@@ -13,7 +13,7 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Game similar to GNU Arcade Volleyball
-USES= gmake
+USES= gmake sdl
USE_SDL= sdl image mixer
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --mandir="${MANPREFIX}/man" --disable-nls # strangeness in nls support
diff --git a/games/vultures-eye/Makefile b/games/vultures-eye/Makefile
index 2a05015a710e..ca234d4135b3 100644
--- a/games/vultures-eye/Makefile
+++ b/games/vultures-eye/Makefile
@@ -26,7 +26,7 @@ LIB_DEPENDS= libpng.so:graphics/png
WRKSRC= ${WRKDIR}/vulture-${PORTVERSION}/nethack
CONFIGURE_WRKSRC= ${WRKSRC}/sys/unix
-USES= bison gmake tar:xz
+USES= bison gmake sdl tar:xz
USE_SDL= sdl mixer ttf
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= setup.sh
diff --git a/games/warmux/Makefile b/games/warmux/Makefile
index b7b62709befc..68acc0f4a712 100644
--- a/games/warmux/Makefile
+++ b/games/warmux/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= libxml++-2.6.so:textproc/libxml++26 \
GNU_CONFIGURE= yes
CONFIGURE_ENV= cxx_present=yes
-USES= compiler dos2unix gmake pkgconfig tar:bzip2
+USES= compiler dos2unix gmake pkgconfig sdl tar:bzip2
USE_SDL= sdl image mixer ttf gfx net
DOS2UNIX_GLOB= fixed_class.h
diff --git a/games/whichwayisup/Makefile b/games/whichwayisup/Makefile
index 6bad243128f0..158d1caa84d3 100644
--- a/games/whichwayisup/Makefile
+++ b/games/whichwayisup/Makefile
@@ -21,7 +21,7 @@ RUN_DEPENDS= ${PYGAME}
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= dos2unix python zip
+USES= dos2unix gnome python zip
USE_PYTHON= py3kplist
DOS2UNIX_REGEX= .*.[^pt][^nt][^gf]
INSTALLS_ICONS= yes
diff --git a/games/wizznic/Makefile b/games/wizznic/Makefile
index 43623bc5f336..360b0afda946 100644
--- a/games/wizznic/Makefile
+++ b/games/wizznic/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libpng.so:graphics/png
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src
-USES= gmake tar:bzip2
+USES= gmake sdl tar:bzip2
USE_CSTD= gnu89
USE_SDL= image mixer sdl
MAKE_ENV= DATADIR=${DATADIR}/ BINDIR=${PREFIX}/bin
diff --git a/games/wordwarvi/Makefile b/games/wordwarvi/Makefile
index a1178b9afe96..b3a738463fc3 100644
--- a/games/wordwarvi/Makefile
+++ b/games/wordwarvi/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING
USE_GITHUB= yes
GH_ACCOUNT= smcameron
-USES= gmake pkgconfig
+USES= gmake gnome pkgconfig
USE_GNOME= gtk20
PORTDOCS= AAA_HOW_TO_MAKE_NEW_LEVELS.txt AUTHORS README changelog.txt
diff --git a/games/wxlauncher/Makefile b/games/wxlauncher/Makefile
index dc049ed39fa2..e4471638986d 100644
--- a/games/wxlauncher/Makefile
+++ b/games/wxlauncher/Makefile
@@ -20,7 +20,7 @@ USE_GITHUB= yes
GH_ACCOUNT= scp-fs2open
GH_PROJECT= wxLauncher
-USES= cmake openal pkgconfig python:2.7,build
+USES= cmake openal pkgconfig python:2.7,build sdl
USE_SDL= sdl2
CMAKE_ARGS+= -DRESOURCES_PATH:STRING="${DATADIR}"
diff --git a/games/wyrmgus/Makefile b/games/wyrmgus/Makefile
index b673519e0790..ba6459d4ef96 100644
--- a/games/wyrmgus/Makefile
+++ b/games/wyrmgus/Makefile
@@ -23,7 +23,7 @@ USE_GITHUB= yes
GH_ACCOUNT= Andrettin
GH_PROJECT= Wyrmgus
-USES= compiler:c++11-lib cmake lua:51 pkgconfig sqlite
+USES= cmake compiler:c++11-lib lua:51 pkgconfig sdl sqlite
USE_SDL= sdl
CMAKE_ARGS= -DGAMEDIR:STRING="bin" \
-DTOLUA++_APP:STRING="tolua++-${LUA_VER}" \
diff --git a/games/xblast/Makefile b/games/xblast/Makefile
index 5f4bd9278b4d..22caa32c8456 100644
--- a/games/xblast/Makefile
+++ b/games/xblast/Makefile
@@ -41,7 +41,9 @@ OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
+SDL_USES= sdl
SDL_USE= SDL=gfx,image,mixer,net,ttf,sdl
+SDL_USES_OFF= xorg
SDL_USE_OFF= XORG=ice,x11,xt
SDL_CONFIGURE_ENABLE= sdl
SDL_RUN_DEPENDS= ${FONTSDIR}/Vera.ttf:x11-fonts/bitstream-vera
diff --git a/games/xcowsay/Makefile b/games/xcowsay/Makefile
index 1c99c5aa680b..f5cf332ad2eb 100644
--- a/games/xcowsay/Makefile
+++ b/games/xcowsay/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
USE_GNOME= cairo gdkpixbuf2 gtk20
-USES= gettext gmake pkgconfig
+USES= gettext gmake gnome pkgconfig
GNU_CONFIGURE= yes
PLIST_FILES= bin/xcowdream \
diff --git a/games/xemeraldia/Makefile b/games/xemeraldia/Makefile
index 15b8aaa71ba8..a76b41ce8836 100644
--- a/games/xemeraldia/Makefile
+++ b/games/xemeraldia/Makefile
@@ -15,7 +15,7 @@ EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Falling blocks game
-USES= pkgconfig
+USES= gnome pkgconfig
USE_GNOME= cairo gtk20
GNU_CONFIGURE= yes
diff --git a/games/xgalaga-sdl/Makefile b/games/xgalaga-sdl/Makefile
index 9024fbb91b18..5ac308cda626 100644
--- a/games/xgalaga-sdl/Makefile
+++ b/games/xgalaga-sdl/Makefile
@@ -19,7 +19,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}-sdl
-USES= localbase:ldflags tar:bzip2
+USES= localbase:ldflags sdl tar:bzip2
USE_SDL= sdl gfx image mixer ttf
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --datadir=${DATADIR}
diff --git a/games/xlogical/Makefile b/games/xlogical/Makefile
index 015035072eef..0c06483090ce 100644
--- a/games/xlogical/Makefile
+++ b/games/xlogical/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir="/var/games"
-USES= autoreconf dos2unix gmake tar:bzip2
+USES= autoreconf dos2unix gmake sdl tar:bzip2
DOS2UNIX_FILES= *.h *.cpp
USE_SDL= sdl image mixer
diff --git a/games/xpired/Makefile b/games/xpired/Makefile
index 4c599932210a..8e6b7ff4284b 100644
--- a/games/xpired/Makefile
+++ b/games/xpired/Makefile
@@ -13,6 +13,7 @@ COMMENT= Action-puzzle maze escape game
LICENSE= GPLv2+
+USES= sdl
USE_SDL= gfx image mixer sdl
WRKSRC= ${WRKDIR}/src
diff --git a/games/xrick/Makefile b/games/xrick/Makefile
index 751583a8efd5..7fa591eb580d 100644
--- a/games/xrick/Makefile
+++ b/games/xrick/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Clone of Rick Dangerous
RESTRICTED= Copyright status of the graphics and sounds is uncertain
-USES= gmake jpeg tar:tgz
+USES= gmake jpeg sdl tar:tgz
USE_SDL= sdl
PLIST_FILES= bin/xrick man/man6/xrick.6.gz share/xrick/data.zip
diff --git a/games/xye/Makefile b/games/xye/Makefile
index da9eaa723def..e949352f9d35 100644
--- a/games/xye/Makefile
+++ b/games/xye/Makefile
@@ -27,7 +27,7 @@ LICENSE= ZLIB
EXTRACT_DEPENDS=${UNZIP_CMD}:archivers/unzip
-USES= compiler gmake
+USES= compiler gmake sdl
USE_SDL= sdl image ttf
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-docdir=${PREFIX}/share/doc
diff --git a/games/zatacka/Makefile b/games/zatacka/Makefile
index f0d68b821599..fae3933cbd8a 100644
--- a/games/zatacka/Makefile
+++ b/games/zatacka/Makefile
@@ -12,7 +12,7 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Nibbles-like multiplayer game
GNU_CONFIGURE= yes
-USES= gmake
+USES= gmake sdl
USE_SDL= sdl ttf image
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/games/zdoom/Makefile b/games/zdoom/Makefile
index 873edf641331..bd69fe8b3a84 100644
--- a/games/zdoom/Makefile
+++ b/games/zdoom/Makefile
@@ -28,7 +28,7 @@ PORTSCOUT= limit:^.+\.[1-9]{1,3}[1-8]?$$
DATADIR= ${DMDIR}/${PORTNAME}
-USES= cmake gettext jpeg openal pkgconfig
+USES= cmake gettext gnome jpeg openal pkgconfig sdl
USE_GNOME= atk cairo gdkpixbuf2 gtk20 pango
USE_SDL= sdl2
CMAKE_ARGS= -DNO_FMOD:BOOL=ON