aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorNiclas Zeising <zeising@FreeBSD.org>2019-11-05 22:16:14 +0000
committerNiclas Zeising <zeising@FreeBSD.org>2019-11-05 22:16:14 +0000
commitbe6c15b5c6de864408ba3f414a57f20ff622a2d0 (patch)
tree86bd1ae6afedaa57f4eef276444e85b00f8c8e63 /games
parent2428d822895b6225746f9e1d2bed3143711fcf14 (diff)
downloadports-be6c15b5c6de864408ba3f414a57f20ff622a2d0.tar.gz
ports-be6c15b5c6de864408ba3f414a57f20ff622a2d0.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/0ad/Makefile4
-rw-r--r--games/3dc/Makefile2
-rw-r--r--games/3dpong/Makefile2
-rw-r--r--games/KnightCap/Makefile1
-rw-r--r--games/abuse_sdl/Makefile2
-rw-r--r--games/ace-of-penguins/Makefile2
-rw-r--r--games/acm/Makefile2
-rw-r--r--games/affenspiel/Makefile1
-rw-r--r--games/aisleriot/Makefile3
-rw-r--r--games/alephone/Makefile2
-rw-r--r--games/alienarena/Makefile2
-rw-r--r--games/allacrost/Makefile2
-rw-r--r--games/antipolix/Makefile2
-rw-r--r--games/apoolGL/Makefile2
-rw-r--r--games/arx-libertatis/Makefile2
-rw-r--r--games/asteroid/Makefile2
-rw-r--r--games/asteroids3d/Makefile2
-rw-r--r--games/asylum/Makefile2
-rw-r--r--games/atr3d/Makefile2
-rw-r--r--games/auralquiz/Makefile2
-rw-r--r--games/avoision/Makefile2
-rw-r--r--games/awele/Makefile2
-rw-r--r--games/battalion/Makefile2
-rw-r--r--games/billardgl/Makefile2
-rw-r--r--games/blockout/Makefile2
-rw-r--r--games/brainparty/Makefile2
-rw-r--r--games/brutalchess/Makefile4
-rw-r--r--games/bubbros/Makefile2
-rw-r--r--games/bugsx/Makefile2
-rw-r--r--games/burrtools/Makefile2
-rw-r--r--games/bzflag/Makefile2
-rw-r--r--games/cake/Makefile2
-rw-r--r--games/caph/Makefile2
-rw-r--r--games/cave9/Makefile2
-rw-r--r--games/cgoban/Makefile1
-rw-r--r--games/chromium-bsu/Makefile2
-rw-r--r--games/connectagram/Makefile2
-rw-r--r--games/connectfive/Makefile2
-rw-r--r--games/construo/Makefile2
-rw-r--r--games/cosmo/Makefile2
-rw-r--r--games/crack-attack/Makefile2
-rw-r--r--games/craft/Makefile2
-rw-r--r--games/cretan-hubris/Makefile2
-rw-r--r--games/criticalmass/Makefile2
-rw-r--r--games/critterding/Makefile2
-rw-r--r--games/crrcsim/Makefile2
-rw-r--r--games/csmash/Makefile2
-rw-r--r--games/cultivation/Makefile2
-rw-r--r--games/cutemaze/Makefile2
-rw-r--r--games/cuyo/Makefile2
-rw-r--r--games/dangerdeep/Makefile2
-rw-r--r--games/darkplaces/Makefile4
-rw-r--r--games/diameter/Makefile3
-rw-r--r--games/doom/Makefile2
-rw-r--r--games/doomlegacy/Makefile2
-rw-r--r--games/doomsday/Makefile2
-rw-r--r--games/duel/Makefile2
-rw-r--r--games/easyrpg-player/Makefile3
-rw-r--r--games/edge/Makefile2
-rw-r--r--games/editss/Makefile2
-rw-r--r--games/eduke32/Makefile2
-rw-r--r--games/egl/Makefile2
-rw-r--r--games/el/Makefile2
-rw-r--r--games/ensemblist/Makefile2
-rw-r--r--games/excido/Makefile2
-rw-r--r--games/exult/Makefile2
-rw-r--r--games/f1spirit-remake/Makefile2
-rw-r--r--games/falconseye/Makefile2
-rw-r--r--games/fbg2/Makefile2
-rw-r--r--games/fishsupper/Makefile2
-rw-r--r--games/fkiss/Makefile2
-rw-r--r--games/flying/Makefile2
-rw-r--r--games/foobillard/Makefile4
-rw-r--r--games/four-in-a-row/Makefile2
-rw-r--r--games/freedroidrpg/Makefile3
-rw-r--r--games/freetennis/Makefile2
-rw-r--r--games/frogatto/Makefile2
-rw-r--r--games/gl-117/Makefile2
-rw-r--r--games/glaxium/Makefile2
-rw-r--r--games/glest/Makefile2
-rw-r--r--games/glightoff/Makefile2
-rw-r--r--games/glmaze/Makefile1
-rw-r--r--games/glob2/Makefile2
-rw-r--r--games/glsfcave/Makefile2
-rw-r--r--games/gltron/Makefile2
-rw-r--r--games/gnome-2048/Makefile2
-rw-r--r--games/gnome-chess/Makefile2
-rw-r--r--games/gnome-nibbles/Makefile4
-rw-r--r--games/gnome-robots/Makefile2
-rw-r--r--games/gnome-taquin/Makefile2
-rw-r--r--games/gnubg/Makefile3
-rw-r--r--games/gnujump/Makefile2
-rw-r--r--games/golddig/Makefile1
-rw-r--r--games/goonies/Makefile2
-rw-r--r--games/gottet/Makefile2
-rw-r--r--games/gracer/Makefile2
-rw-r--r--games/iagno/Makefile2
-rw-r--r--games/icbm3d/Makefile1
-rw-r--r--games/ioquake3/Makefile1
-rw-r--r--games/ishido/Makefile3
-rw-r--r--games/jigzo/Makefile2
-rw-r--r--games/joequake/Makefile3
-rw-r--r--games/jvgs/Makefile2
-rw-r--r--games/keeperrl/Makefile2
-rw-r--r--games/kiki/Makefile2
-rw-r--r--games/ksudoku/Makefile2
-rw-r--r--games/kubrick/Makefile2
-rw-r--r--games/lander/Makefile2
-rw-r--r--games/libshhcards/Makefile1
-rw-r--r--games/lightsoff/Makefile4
-rw-r--r--games/lincity-ng/Makefile2
-rw-r--r--games/lincity/Makefile1
-rw-r--r--games/lugaru/Makefile2
-rw-r--r--games/lwjgl/Makefile2
-rw-r--r--games/macopix/Makefile2
-rw-r--r--games/maelstrom/Makefile1
-rw-r--r--games/magiccube4d/Makefile1
-rw-r--r--games/manaplus/Makefile2
-rw-r--r--games/marsnomercy/Makefile2
-rw-r--r--games/megaglest/Makefile2
-rw-r--r--games/megamario/Makefile2
-rw-r--r--games/memonix/Makefile2
-rw-r--r--games/mindfocus/Makefile2
-rw-r--r--games/motogt/Makefile2
-rw-r--r--games/nadar/Makefile1
-rw-r--r--games/naev/Makefile3
-rw-r--r--games/nehquake/Makefile3
-rw-r--r--games/nethack32/Makefile2
-rw-r--r--games/nethack33/Makefile1
-rw-r--r--games/nethack34/Makefile1
-rw-r--r--games/nethack36/Makefile1
-rw-r--r--games/netherearth/Makefile2
-rw-r--r--games/netradiant/Makefile2
-rw-r--r--games/netwalk/Makefile2
-rw-r--r--games/neverball/Makefile2
-rw-r--r--games/nexuiz/Makefile2
-rw-r--r--games/nighthawk/Makefile2
-rw-r--r--games/numptyphysics/Makefile2
-rw-r--r--games/oneko-sakura/Makefile2
-rw-r--r--games/oneko/Makefile1
-rw-r--r--games/oolite/Makefile3
-rw-r--r--games/oonsoo/Makefile1
-rw-r--r--games/openage/Makefile2
-rw-r--r--games/opencity/Makefile2
-rw-r--r--games/openclonk/Makefile3
-rw-r--r--games/openjk/Makefile2
-rw-r--r--games/openssn/Makefile1
-rw-r--r--games/osgg/Makefile1
-rw-r--r--games/phlipple/Makefile2
-rw-r--r--games/pinball/Makefile2
-rw-r--r--games/pink-pony/Makefile2
-rw-r--r--games/pipewalker/Makefile2
-rw-r--r--games/pmars/Makefile1
-rw-r--r--games/pouetchess/Makefile2
-rw-r--r--games/powermanga/Makefile2
-rw-r--r--games/py-fife/Makefile2
-rw-r--r--games/q2p/Makefile5
-rw-r--r--games/q2pro/Makefile3
-rw-r--r--games/q3cellshading/Makefile3
-rw-r--r--games/quadra/Makefile2
-rw-r--r--games/quadrapassel/Makefile4
-rw-r--r--games/quake2lnx/Makefile7
-rw-r--r--games/quake2max/Makefile5
-rw-r--r--games/quake3/Makefile3
-rw-r--r--games/qudos/Makefile3
-rw-r--r--games/quetoo/Makefile4
-rw-r--r--games/r1q2/Makefile2
-rw-r--r--games/renpy/Makefile2
-rw-r--r--games/retroarch/Makefile4
-rw-r--r--games/rlvm/Makefile2
-rw-r--r--games/rubix/Makefile2
-rw-r--r--games/sarien/Makefile2
-rw-r--r--games/scorched3d/Makefile4
-rw-r--r--games/scourge/Makefile2
-rw-r--r--games/sdb/Makefile2
-rw-r--r--games/sea-defender/Makefile2
-rw-r--r--games/seahaven/Makefile1
-rw-r--r--games/searchandrescue/Makefile3
-rw-r--r--games/shaaft/Makefile2
-rw-r--r--games/shootingstar/Makefile2
-rw-r--r--games/simplevaders/Makefile2
-rw-r--r--games/slune/Makefile2
-rw-r--r--games/sol/Makefile2
-rw-r--r--games/solarconquest/Makefile2
-rw-r--r--games/spacezero/Makefile2
-rw-r--r--games/spellcast/Makefile1
-rw-r--r--games/spider/Makefile2
-rw-r--r--games/spring/Makefile3
-rw-r--r--games/steelstorm/Makefile2
-rw-r--r--games/supertux/Makefile2
-rw-r--r--games/sxsame/Makefile2
-rw-r--r--games/tanglet/Makefile2
-rw-r--r--games/tenebrae/Makefile2
-rw-r--r--games/tetrons/Makefile1
-rw-r--r--games/thegrind/Makefile2
-rw-r--r--games/tomatoes/Makefile2
-rw-r--r--games/torcs/Makefile2
-rw-r--r--games/traingame/Makefile2
-rw-r--r--games/tremulous/Makefile3
-rw-r--r--games/trenchbroom/Makefile2
-rw-r--r--games/tux-aqfh/Makefile2
-rw-r--r--games/tuxkart/Makefile2
-rw-r--r--games/tuxracer/Makefile2
-rw-r--r--games/ufoai/Makefile5
-rw-r--r--games/uhexen2/Makefile2
-rw-r--r--games/ultimatestunts/Makefile2
-rw-r--r--games/valyriatear/Makefile2
-rw-r--r--games/vamos/Makefile2
-rw-r--r--games/vegastrike/Makefile3
-rw-r--r--games/wargus/Makefile2
-rw-r--r--games/warzone2100/Makefile2
-rw-r--r--games/wesnoth/Makefile4
-rw-r--r--games/wmqstat/Makefile1
-rw-r--r--games/wmtictactoe/Makefile2
-rw-r--r--games/worldofpadman/Makefile1
-rw-r--r--games/xasteroids/Makefile1
-rw-r--r--games/xataxx/Makefile2
-rw-r--r--games/xbat/Makefile2
-rw-r--r--games/xbill/Makefile1
-rw-r--r--games/xbl/Makefile1
-rw-r--r--games/xblood/Makefile1
-rw-r--r--games/xboard/Makefile4
-rw-r--r--games/xboing/Makefile2
-rw-r--r--games/xbomb/Makefile2
-rw-r--r--games/xbubble/Makefile2
-rw-r--r--games/xchadance/Makefile2
-rw-r--r--games/xcheckers/Makefile2
-rw-r--r--games/xchomp/Makefile2
-rw-r--r--games/xconq/Makefile3
-rw-r--r--games/xcubes/Makefile2
-rw-r--r--games/xdeblock/Makefile2
-rw-r--r--games/xdemineur/Makefile2
-rw-r--r--games/xdesktopwaves/Makefile1
-rw-r--r--games/xdigger/Makefile2
-rw-r--r--games/xdino/Makefile2
-rw-r--r--games/xevil/Makefile2
-rw-r--r--games/xeyesplus/Makefile1
-rw-r--r--games/xfireworks/Makefile1
-rw-r--r--games/xfrisk/Makefile2
-rw-r--r--games/xgalaga++/Makefile2
-rw-r--r--games/xgalaga/Makefile2
-rw-r--r--games/xglk/Makefile2
-rw-r--r--games/xhexagons/Makefile2
-rw-r--r--games/xhime/Makefile2
-rw-r--r--games/xinfocom/Makefile2
-rw-r--r--games/xinvaders/Makefile2
-rw-r--r--games/xisola/Makefile2
-rw-r--r--games/xjewel/Makefile2
-rw-r--r--games/xjig/Makefile2
-rw-r--r--games/xjump/Makefile1
-rw-r--r--games/xjumpx/Makefile1
-rw-r--r--games/xkoules/Makefile2
-rw-r--r--games/xlaby/Makefile2
-rw-r--r--games/xlife/Makefile2
-rw-r--r--games/xmahjongg/Makefile1
-rw-r--r--games/xmastermind/Makefile1
-rw-r--r--games/xmball/Makefile2
-rw-r--r--games/xmemory/Makefile2
-rw-r--r--games/xmille/Makefile2
-rw-r--r--games/xmine/Makefile2
-rw-r--r--games/xminehunter/Makefile2
-rw-r--r--games/xmines/Makefile1
-rw-r--r--games/xminesweep/Makefile2
-rw-r--r--games/xmlink/Makefile2
-rw-r--r--games/xmris/Makefile2
-rw-r--r--games/xmulti/Makefile2
-rw-r--r--games/xneko/Makefile2
-rw-r--r--games/xoct/Makefile2
-rw-r--r--games/xoids/Makefile2
-rw-r--r--games/xoj/Makefile2
-rw-r--r--games/xorgramana/Makefile2
-rw-r--r--games/xosmulti/Makefile1
-rw-r--r--games/xpanex/Makefile2
-rw-r--r--games/xpat2/Makefile2
-rw-r--r--games/xpenguins/Makefile1
-rw-r--r--games/xpilot/Makefile2
-rw-r--r--games/xpipeman/Makefile2
-rw-r--r--games/xpuzzletama/Makefile2
-rw-r--r--games/xpyraminx/Makefile2
-rw-r--r--games/xqf/Makefile2
-rw-r--r--games/xrally/Makefile2
-rw-r--r--games/xrisk/Makefile2
-rw-r--r--games/xroach/Makefile2
-rw-r--r--games/xrobots/Makefile2
-rw-r--r--games/xrot/Makefile2
-rw-r--r--games/xrubik/Makefile2
-rw-r--r--games/xsc/Makefile2
-rw-r--r--games/xscavenger/Makefile2
-rw-r--r--games/xscrabble/Makefile2
-rw-r--r--games/xshisen/Makefile1
-rw-r--r--games/xshogi/Makefile1
-rw-r--r--games/xskat/Makefile1
-rw-r--r--games/xskewb/Makefile2
-rw-r--r--games/xsokoban/Makefile2
-rw-r--r--games/xsoldier/Makefile1
-rw-r--r--games/xspacewarp/Makefile2
-rw-r--r--games/xspringies/Makefile1
-rw-r--r--games/xtet42/Makefile1
-rw-r--r--games/xtic/Makefile2
-rw-r--r--games/xtriangles/Makefile2
-rw-r--r--games/xtris/Makefile1
-rw-r--r--games/xtrojka/Makefile1
-rw-r--r--games/xtron/Makefile1
-rw-r--r--games/xtruco/Makefile1
-rw-r--r--games/xtux/Makefile2
-rw-r--r--games/xvier/Makefile2
-rw-r--r--games/xvmines/Makefile2
-rw-r--r--games/xworm/Makefile1
-rw-r--r--games/xzip/Makefile1
-rw-r--r--games/yadex/Makefile2
-rw-r--r--games/zoom/Makefile2
311 files changed, 360 insertions, 269 deletions
diff --git a/games/0ad/Makefile b/games/0ad/Makefile
index bbe69e0cdc1a..fb84c020c366 100644
--- a/games/0ad/Makefile
+++ b/games/0ad/Makefile
@@ -27,8 +27,8 @@ LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
libtiff.so:graphics/tiff \
libsodium.so:security/libsodium
-USES= compiler:c++11-lib desktop-file-utils dos2unix gl gmake gnome iconv \
- jpeg openal:al pkgconfig python:2.7,build sdl tar:xz
+USES= compiler:c++11-lib desktop-file-utils dos2unix gl gmake gnome \
+ iconv jpeg openal:al pkgconfig python:2.7,build sdl tar:xz xorg
USE_GNOME= libxml2
USE_GL= gl
USE_SDL= sdl2
diff --git a/games/3dc/Makefile b/games/3dc/Makefile
index 908b296ccc34..50f1bec89e00 100644
--- a/games/3dc/Makefile
+++ b/games/3dc/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/../GPL
LIB_DEPENDS= libXaw3d.so:x11-toolkits/Xaw3d
-USES= perl5
+USES= perl5 xorg
USE_PERL5= build
USE_XORG= x11 xaw xext xmu xpm xt
WRKSRC= ${WRKDIR}/3Dc/src
diff --git a/games/3dpong/Makefile b/games/3dpong/Makefile
index eb903982e713..071e9fe43c20 100644
--- a/games/3dpong/Makefile
+++ b/games/3dpong/Makefile
@@ -18,7 +18,7 @@ COMMENT= X Window 3D Pong game for 1 or 2 players
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/docs/COPYING.txt
-USES= gmake
+USES= gmake xorg
USE_XORG= x11
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
XLIB="-L${LOCALBASE}/lib -lX11"
diff --git a/games/KnightCap/Makefile b/games/KnightCap/Makefile
index b330a944c63d..54383f3ea24b 100644
--- a/games/KnightCap/Makefile
+++ b/games/KnightCap/Makefile
@@ -14,6 +14,7 @@ COMMENT= Chess program with 3D interface for X Window System
WRKSRC= ${WRKDIR}/Export
+USES= gl xorg
USE_XORG= xmu xt xext x11 xi
USE_GL= glut
ALL_TARGET= KnightCap
diff --git a/games/abuse_sdl/Makefile b/games/abuse_sdl/Makefile
index 68f9bb4039a6..e7e1e2fc9b90 100644
--- a/games/abuse_sdl/Makefile
+++ b/games/abuse_sdl/Makefile
@@ -14,7 +14,7 @@ COMMENT= SDL port of the Abuse game engine
LICENSE= GPLv2
-USES= pathfix
+USES= pathfix gl sdl
USE_GL= gl
USE_SDL= mixer sdl
GNU_CONFIGURE= yes
diff --git a/games/ace-of-penguins/Makefile b/games/ace-of-penguins/Makefile
index 99afb17a3bcb..608207cf61e7 100644
--- a/games/ace-of-penguins/Makefile
+++ b/games/ace-of-penguins/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libpng.so:graphics/png
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=ace-
-USES= gmake libtool localbase:ldflags
+USES= gmake libtool localbase:ldflags xorg
USE_XORG= x11 xpm
INSTALL_TARGET= install-strip
diff --git a/games/acm/Makefile b/games/acm/Makefile
index 696dfc034852..8c5c4f76d7c7 100644
--- a/games/acm/Makefile
+++ b/games/acm/Makefile
@@ -13,7 +13,7 @@ COMMENT= Aerial combat simulator for X11
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= perl5
+USES= perl5 xorg
USE_PERL5= build
USE_XORG= x11 xext
HAS_CONFIGURE= yes
diff --git a/games/affenspiel/Makefile b/games/affenspiel/Makefile
index f980432a734d..1caccdbab8dc 100644
--- a/games/affenspiel/Makefile
+++ b/games/affenspiel/Makefile
@@ -17,6 +17,7 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
WRKSRC= ${WRKDIR}/${PORTNAME}
+USES= xorg
USE_XORG= x11 xt
MAKE_ARGS= CC="${CC}" LIBS="-L${LOCALBASE}/lib -lX11" \
diff --git a/games/aisleriot/Makefile b/games/aisleriot/Makefile
index ab42af2468f2..3f8690cece77 100644
--- a/games/aisleriot/Makefile
+++ b/games/aisleriot/Makefile
@@ -21,7 +21,8 @@ LIB_DEPENDS= libguile-2.2.so:lang/guile2 \
CONFLICTS_INSTALL= sol-[0-9]*
PORTSCOUT= limitw:1,even
-USES= desktop-file-utils gettext gmake gnome pathfix pkgconfig tar:xz
+USES= desktop-file-utils gettext gmake gnome pathfix pkgconfig \
+ tar:xz xorg
USE_GNOME= cairo gconf2 gtk30 intlhack librsvg2 libxml2:build
USE_XORG= x11
diff --git a/games/alephone/Makefile b/games/alephone/Makefile
index 0dd18aa95c06..cfc505b5e5c1 100644
--- a/games/alephone/Makefile
+++ b/games/alephone/Makefile
@@ -13,7 +13,7 @@ COMMENT= The open source version of Bungie's Marathon game
BUILD_DEPENDS= ${LOCALBASE}/include/boost/function.hpp:devel/boost-libs
-USES= compiler:c++11-lang gmake localbase pkgconfig tar:bzip2
+USES= compiler:c++11-lang gl gmake localbase pkgconfig sdl tar:bzip2
USE_CXXSTD= gnu++98
USE_SDL= image net sdl ttf
USE_GL= yes
diff --git a/games/alienarena/Makefile b/games/alienarena/Makefile
index 371b0927f110..c9d3235c9332 100644
--- a/games/alienarena/Makefile
+++ b/games/alienarena/Makefile
@@ -48,7 +48,7 @@ LIBDIR= ${PREFIX}/lib/${PORTNAME}
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCLIENT}
-USES+= jpeg openal:soft,alut pkgconfig
+USES+= gl jpeg openal:soft,alut pkgconfig xorg
LIB_DEPENDS+= libcurl.so:ftp/curl \
libfreetype.so:print/freetype2 \
libpng.so:graphics/png \
diff --git a/games/allacrost/Makefile b/games/allacrost/Makefile
index 176b389005ec..34e597d6146a 100644
--- a/games/allacrost/Makefile
+++ b/games/allacrost/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= libpng.so:graphics/png \
libboost_thread.so:devel/boost-libs
GNU_CONFIGURE= yes
-USES= gettext gmake iconv jpeg localbase lua:51 openal:al
+USES= gettext gl gmake iconv jpeg localbase lua:51 openal:al sdl xorg
USE_SDL= sdl ttf net
USE_GL= gl glu
USE_XORG= x11
diff --git a/games/antipolix/Makefile b/games/antipolix/Makefile
index ce83fbdf2dc6..c7e3836cede3 100644
--- a/games/antipolix/Makefile
+++ b/games/antipolix/Makefile
@@ -15,7 +15,7 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
NO_WRKSUBDIR= yes
-USES= imake:noman
+USES= imake:noman xorg
USE_XORG= x11
OPTIONS_DEFINE= DOCS EXAMPLES
diff --git a/games/apoolGL/Makefile b/games/apoolGL/Makefile
index 913d61a04582..e4ea7022b14a 100644
--- a/games/apoolGL/Makefile
+++ b/games/apoolGL/Makefile
@@ -13,9 +13,9 @@ COMMENT= Another billiards simulator
LICENSE= GPLv2+
+USES= dos2unix gl sdl
USE_SDL= sdl
USE_GL= gl
-USES= dos2unix
DOS2UNIX_FILES= ApoolGL.txt
PORTDOCS= ApoolGL.txt CHANGELOG OpenGL-Features
diff --git a/games/arx-libertatis/Makefile b/games/arx-libertatis/Makefile
index 3336e817a3d4..cd92d05b5767 100644
--- a/games/arx-libertatis/Makefile
+++ b/games/arx-libertatis/Makefile
@@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/ARX_PUBLIC_LICENSE.txt
LIB_DEPENDS= libfreetype.so:print/freetype2
BUILD_DEPENDS= ${LOCALBASE}/include/boost/foreach.hpp:devel/boost-libs
-USES= cmake openal tar:xz
+USES= cmake gl openal sdl tar:xz
USE_SDL= sdl
USE_GL= gl glew
LLD_UNSAFE= yes
diff --git a/games/asteroid/Makefile b/games/asteroid/Makefile
index aec37b0c5ae1..a73aeb3c937a 100644
--- a/games/asteroid/Makefile
+++ b/games/asteroid/Makefile
@@ -16,7 +16,7 @@ USE_GITHUB= yes
GH_ACCOUNT= chazomaticus
GH_TAGNAME= 64869df
-USES= cmake
+USES= cmake gl gnome sdl xorg
USE_GL= gl glu glut
USE_SDL= mixer sdl
USE_GNOME= gtk30
diff --git a/games/asteroids3d/Makefile b/games/asteroids3d/Makefile
index d2ac665b0b74..917c929433ec 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 tar:bzip2
+USES= autoreconf gl tar:bzip2
GNU_CONFIGURE= yes
CONFIGURE_ENV= with_gamesdir="${PREFIX}/bin" with_gamedatadir="${DATADIR}"
USE_GL= glut
diff --git a/games/asylum/Makefile b/games/asylum/Makefile
index 8a76b0f85a18..d5404126fb5a 100644
--- a/games/asylum/Makefile
+++ b/games/asylum/Makefile
@@ -13,7 +13,7 @@ COMMENT= Surreal platform shooting game
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= gmake
+USES= gl gmake sdl
USE_SDL= sdl mixer
ALL_TARGET= build
USE_GL= gl glu
diff --git a/games/atr3d/Makefile b/games/atr3d/Makefile
index b7912918b5df..f86e0c506bb4 100644
--- a/games/atr3d/Makefile
+++ b/games/atr3d/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= autoreconf gmake perl5 tar:tgz
+USES= autoreconf gl gmake perl5 tar:tgz xorg
USE_GL= glut glu
USE_XORG= xmu xi x11
USE_PERL5= build
diff --git a/games/auralquiz/Makefile b/games/auralquiz/Makefile
index c4fae233349c..939f352c075a 100644
--- a/games/auralquiz/Makefile
+++ b/games/auralquiz/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libtag.so:audio/taglib
-USES= compiler:c++11-lang qmake qt:5
+USES= compiler:c++11-lang gl qmake qt:5
USE_GL= gl
USE_QT= core gui widgets phonon4 qmake_build buildtools_build
diff --git a/games/avoision/Makefile b/games/avoision/Makefile
index a141d8e43f20..21a86a70ad4a 100644
--- a/games/avoision/Makefile
+++ b/games/avoision/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= liblua-5.1.so:lang/lua51 \
libphysfs.so:devel/physfs
RUN_DEPENDS= zip:archivers/zip
-USES= pkgconfig
+USES= gl pkgconfig sdl
USE_SDL= sdl sound
USE_GL= glu
GNU_CONFIGURE= yes
diff --git a/games/awele/Makefile b/games/awele/Makefile
index 75ef3af6212a..611984881232 100644
--- a/games/awele/Makefile
+++ b/games/awele/Makefile
@@ -13,7 +13,7 @@ COMMENT= African board game
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= imake tk tar:tgz
+USES= imake tk tar:tgz xorg
USE_XORG= x11
MAKE_ARGS= AWELE_DIR=${STAGEDIR}${PREFIX}/bin
diff --git a/games/battalion/Makefile b/games/battalion/Makefile
index bcca093a5e49..772ae3de5312 100644
--- a/games/battalion/Makefile
+++ b/games/battalion/Makefile
@@ -19,7 +19,7 @@ LICENSE_FILE= ${WRKSRC}/README
# non-commercial and prohibits distribution of modified versions
LICENSE_PERMS= dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept
-USES= tar:bzip2 localbase
+USES= gl localbase tar:bzip2 xorg
USE_GL= gl glu
USE_XORG= x11
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LIBS="${LIBS}"
diff --git a/games/billardgl/Makefile b/games/billardgl/Makefile
index 44c97f1b4a7a..2a49387741e4 100644
--- a/games/billardgl/Makefile
+++ b/games/billardgl/Makefile
@@ -15,7 +15,7 @@ LICENSE= GPLv2 # from website
WRKSRC_SUBDIR= src
-USES= dos2unix
+USES= dos2unix gl xorg
DOS2UNIX_FILES= Makefile bmp.cpp
USE_GL= gl glu glut
USE_XORG= x11 xext xmu xi
diff --git a/games/blockout/Makefile b/games/blockout/Makefile
index 55c7ceaecb8e..0d7869f57cee 100644
--- a/games/blockout/Makefile
+++ b/games/blockout/Makefile
@@ -16,8 +16,8 @@ LICENSE= GPLv2+
ONLY_FOR_ARCHS= i386 amd64
+USES= dos2unix gl gmake sdl
USE_SDL= mixer sdl
-USES= gmake dos2unix
DOS2UNIX_FILES= ImageLib/src/gif/gif.h \
ImageLib/src/gif/gif.cpp BlockOut/*.cpp \
ImageLib/src/png/hpng.c
diff --git a/games/brainparty/Makefile b/games/brainparty/Makefile
index 887cef2ac1fe..9a225d4a2c4e 100644
--- a/games/brainparty/Makefile
+++ b/games/brainparty/Makefile
@@ -15,7 +15,7 @@ COMMENT= Family-friendly set of 36 puzzle games
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= compiler gmake
+USES= compiler gl gmake sdl
USE_SDL= sdl mixer ttf gfx image
USE_GL= gl glu
diff --git a/games/brutalchess/Makefile b/games/brutalchess/Makefile
index b7f1b6ed17c0..288fd23ae7f4 100644
--- a/games/brutalchess/Makefile
+++ b/games/brutalchess/Makefile
@@ -14,12 +14,12 @@ MAINTAINER= gustau.perez@gmail.com
COMMENT= Nice looking OpenGL chess game
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-USE_XORG= x11 xext xt xmu xi
GNU_CONFIGURE= yes
-USES= dos2unix gmake libtool
+USES= dos2unix gl gmake libtool sdl xorg
USE_GL= yes
USE_SDL= sdl image
+USE_XORG= x11 xext xt xmu xi
INSTALL_TARGET= install-strip
pre-build:
diff --git a/games/bubbros/Makefile b/games/bubbros/Makefile
index 5a41200726c8..53387bb6be80 100644
--- a/games/bubbros/Makefile
+++ b/games/bubbros/Makefile
@@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYGAME}
BUILD_DEPENDS= ${PYGAME}
-USES= python:2.7 shebangfix
+USES= python:2.7 shebangfix xorg
SHEBANG_FILES= BubBob.py
USE_XORG= x11 xext
diff --git a/games/bugsx/Makefile b/games/bugsx/Makefile
index c92a2214a37c..b5bea6303b90 100644
--- a/games/bugsx/Makefile
+++ b/games/bugsx/Makefile
@@ -13,7 +13,7 @@ COMMENT= Breed bugs using genetic algorithms
LICENSE= GPLv1
-USES= imake tar:tgz
+USES= imake tar:tgz xorg
USE_XORG= x11 xext
WRKSRC= ${WRKDIR}/bugsx
PLIST_FILES= bin/bugsx man/man1/bugsx.1.gz
diff --git a/games/burrtools/Makefile b/games/burrtools/Makefile
index 3a43b2bb0fa1..d375bf375ecc 100644
--- a/games/burrtools/Makefile
+++ b/games/burrtools/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libpng.so:graphics/png \
libfltk.so:x11-toolkits/fltk
-USES= gmake localbase lua:51
+USES= gl gmake localbase lua:51
USE_GL= gl glu
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_lib_ICE_IceConnectionNumber="no" \
diff --git a/games/bzflag/Makefile b/games/bzflag/Makefile
index f0491973114c..2c35f0ee1897 100644
--- a/games/bzflag/Makefile
+++ b/games/bzflag/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS= libcurl.so:ftp/curl \
libcares.so:dns/c-ares
GNU_CONFIGURE= yes
-USES= compiler:c++11-lib libtool localbase tar:bzip2
+USES= compiler:c++11-lib gl libtool localbase sdl tar:bzip2 xorg
INSTALL_TARGET= install-strip
.ifndef SERVER_ONLY
diff --git a/games/cake/Makefile b/games/cake/Makefile
index cf0bb5bc443b..43f4d8e7ba23 100644
--- a/games/cake/Makefile
+++ b/games/cake/Makefile
@@ -13,7 +13,7 @@ COMMENT= Quake3 map viewer (and powerful 3D game engine)
LICENSE= GPLv2
-USES= gmake jpeg ncurses zip
+USES= gl gmake jpeg ncurses xorg zip
USE_GL= glut
USE_XORG= x11 xext xmu xt xi sm ice
diff --git a/games/caph/Makefile b/games/caph/Makefile
index 50244b6e93f3..8f0850eeb65a 100644
--- a/games/caph/Makefile
+++ b/games/caph/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/doc/caph/COPYING
LIB_DEPENDS= libpng.so:graphics/png
-USES= tar:bzip2 iconv
+USES= gl iconv sdl tar:bzip2
USE_SDL= sdl
USE_GL= gl
diff --git a/games/cave9/Makefile b/games/cave9/Makefile
index 0fd805ab4692..81354d489849 100644
--- a/games/cave9/Makefile
+++ b/games/cave9/Makefile
@@ -18,7 +18,7 @@ USE_GITHUB= yes
GH_ACCOUNT= bart9h
GH_TAGNAME= e6896eb
-USES= gmake
+USES= gl gmake sdl
USE_SDL= sdl ttf image
USE_GL= gl glu
diff --git a/games/cgoban/Makefile b/games/cgoban/Makefile
index a35e83b4b65c..18e312a74146 100644
--- a/games/cgoban/Makefile
+++ b/games/cgoban/Makefile
@@ -11,6 +11,7 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Internet Go Server client and game editor
GNU_CONFIGURE= yes
+USES= xorg
USE_XORG= x11 ice sm
PLIST_FILES= bin/cgoban \
diff --git a/games/chromium-bsu/Makefile b/games/chromium-bsu/Makefile
index 6450b4662b27..405858209287 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= gmake gettext-tools localbase pkgconfig
+USES= gl gmake gettext-tools localbase pkgconfig sdl
USE_SDL= sdl2 image2
USE_GL= gl glu
CONFIGURE_ARGS= --disable-sdl \
diff --git a/games/connectagram/Makefile b/games/connectagram/Makefile
index 7352f56e6f50..a58ac19b0d7e 100644
--- a/games/connectagram/Makefile
+++ b/games/connectagram/Makefile
@@ -14,7 +14,7 @@ COMMENT= Word unscrambling game
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= compiler:c++11-lib qmake qt:5 tar:bzip2
+USES= compiler:c++11-lib gl qmake qt:5 tar:bzip2
USE_GL= gl
USE_QT= buildtools_build core gui linguisttools_build network widgets
diff --git a/games/connectfive/Makefile b/games/connectfive/Makefile
index 217287625cf5..06984c63aa2a 100644
--- a/games/connectfive/Makefile
+++ b/games/connectfive/Makefile
@@ -11,7 +11,7 @@ DISTNAME= connectFive
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Place five pieces in a row on a 3D board
-USES= gmake dos2unix
+USES= dos2unix gl gmake sdl xorg
USE_SDL= sdl
USE_GL= gl
USE_XORG= xmu xext x11
diff --git a/games/construo/Makefile b/games/construo/Makefile
index 95df9c4dd499..2bac42803d17 100644
--- a/games/construo/Makefile
+++ b/games/construo/Makefile
@@ -17,7 +17,7 @@ LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING
USE_GITHUB= yes
GH_ACCOUNT= Construo
-USES= autoreconf gmake
+USES= autoreconf gl gmake xorg
USE_XORG= sm ice x11 xext xxf86vm
USE_GL= gl glu
GNU_CONFIGURE= yes
diff --git a/games/cosmo/Makefile b/games/cosmo/Makefile
index fae39845ed9b..a9288cd53b06 100644
--- a/games/cosmo/Makefile
+++ b/games/cosmo/Makefile
@@ -22,7 +22,7 @@ NO_CDROM= Possible copyright infringement
WRKSRC= ${WRKDIR}/cosmo2
DIST_SUBDIR= cosmo
-USES= imake:notall,noman
+USES= imake:notall,noman xorg
USE_XORG= x11 xext
do-install:
diff --git a/games/crack-attack/Makefile b/games/crack-attack/Makefile
index e7555a259906..b0373ab35587 100644
--- a/games/crack-attack/Makefile
+++ b/games/crack-attack/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= SAVANNAH
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= OpenGL game based on Super Nintendo classic Tetris Attack
-USES= compiler:c++11-lang pkgconfig
+USES= compiler:c++11-lang gl gnome pkgconfig xorg
USE_XORG= x11 xi xmu sm ice
USE_GL= glut
USE_GNOME= gtk20
diff --git a/games/craft/Makefile b/games/craft/Makefile
index 2a0b2a495eda..7bacec7aeee3 100644
--- a/games/craft/Makefile
+++ b/games/craft/Makefile
@@ -22,7 +22,7 @@ SERVER_DESC= Install the craft server
OPTIONS_DEFAULT= SERVER
OPTIONS_SUB= yes
-USES= cmake:insource compiler:c11
+USES= cmake:insource compiler:c11 gl xorg
USE_XORG= x11 xi xrandr
USE_GL= gl glu
diff --git a/games/cretan-hubris/Makefile b/games/cretan-hubris/Makefile
index df6600a7cb09..17e1dac9d118 100644
--- a/games/cretan-hubris/Makefile
+++ b/games/cretan-hubris/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= liblua-5.1.so:lang/lua51 \
libphysfs.so:devel/physfs
RUN_DEPENDS= zip:archivers/zip
-USES= pkgconfig
+USES= gl pkgconfig sdl
USE_SDL= sdl sound
USE_GL= glu
GNU_CONFIGURE= yes
diff --git a/games/criticalmass/Makefile b/games/criticalmass/Makefile
index dbdd157c0848..12b1f03517da 100644
--- a/games/criticalmass/Makefile
+++ b/games/criticalmass/Makefile
@@ -18,7 +18,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png \
libtinyxml.so:textproc/tinyxml
-USES= compiler:c++0x tar:bzip2
+USES= compiler:c++0x gl sdl tar:bzip2 xorg
USE_XORG= x11
USE_GL= gl
USE_SDL= image mixer sdl
diff --git a/games/critterding/Makefile b/games/critterding/Makefile
index 7670f2929674..846a9bf3bebd 100644
--- a/games/critterding/Makefile
+++ b/games/critterding/Makefile
@@ -12,7 +12,7 @@ COMMENT= Evolving Artificial Life
LIB_DEPENDS= libfreetype.so:print/freetype2
-USES= autoreconf libtool ncurses pkgconfig tar:bzip2
+USES= autoreconf gl libtool ncurses pkgconfig sdl tar:bzip2
GNU_CONFIGURE= yes
USE_SDL= sdl
USE_GL= gl
diff --git a/games/crrcsim/Makefile b/games/crrcsim/Makefile
index e23d067ef0ea..9ce14d4320f9 100644
--- a/games/crrcsim/Makefile
+++ b/games/crrcsim/Makefile
@@ -17,7 +17,7 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib
LIB_DEPENDS= libportaudio.so:audio/portaudio
GNU_CONFIGURE= yes
-USES= gettext gmake jpeg localbase
+USES= gettext gl gmake jpeg localbase sdl xorg
USE_SDL= sdl
USE_GL= gl glu
USE_XORG= x11
diff --git a/games/csmash/Makefile b/games/csmash/Makefile
index 70fef4bfbe80..2f43464f1bbd 100644
--- a/games/csmash/Makefile
+++ b/games/csmash/Makefile
@@ -13,7 +13,7 @@ COMMENT= 3D tabletennis game
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= compiler:c++11-lang gettext gmake pkgconfig
+USES= compiler:c++11-lang gettext gl gmake gnome pkgconfig sdl
USE_SDL= image mixer sdl
USE_GL= yes
USE_GNOME= gtk20
diff --git a/games/cultivation/Makefile b/games/cultivation/Makefile
index 4ae469b201d1..eaeaf4b5c62d 100644
--- a/games/cultivation/Makefile
+++ b/games/cultivation/Makefile
@@ -13,7 +13,7 @@ COMMENT= Unique game of conflict and cooperation in a gardening community
LIB_DEPENDS= libportaudio.so:audio/portaudio
-USES= gmake
+USES= gl gmake xorg
USE_XORG= x11 xi xext xmu
USE_GL= glut
diff --git a/games/cutemaze/Makefile b/games/cutemaze/Makefile
index d4dabe1d2f87..d660969ddc70 100644
--- a/games/cutemaze/Makefile
+++ b/games/cutemaze/Makefile
@@ -14,7 +14,7 @@ COMMENT= Simple, top-down game in which mazes are randomly generated
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= compiler:c++11-lang qmake qt:5 tar:bzip2
+USES= compiler:c++11-lang gl qmake qt:5 tar:bzip2
USE_GL= gl
USE_QT= core gui svg imageformats_run widgets \
linguisttools_build buildtools_build
diff --git a/games/cuyo/Makefile b/games/cuyo/Makefile
index 34c88c6f935f..153b4237c4dc 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
+USES= gmake iconv localbase:ldflags sdl xorg
USE_SDL= mixer image
USE_XORG= x11 xau xdmcp
GNU_CONFIGURE= yes
diff --git a/games/dangerdeep/Makefile b/games/dangerdeep/Makefile
index 15d4798fc4a4..0f2127924473 100644
--- a/games/dangerdeep/Makefile
+++ b/games/dangerdeep/Makefile
@@ -14,7 +14,7 @@ COMMENT= Open source World War II German submarine simulation
LIB_DEPENDS= libfftw3.so:math/fftw3
RUN_DEPENDS= dangerdeep-data>0:games/dangerdeep-data
-USES= compiler scons
+USES= compiler gl scons sdl
USE_GL= yes
USE_SDL= sdl mixer image net
diff --git a/games/darkplaces/Makefile b/games/darkplaces/Makefile
index 0b16200f06f3..e29dde4f888d 100644
--- a/games/darkplaces/Makefile
+++ b/games/darkplaces/Makefile
@@ -14,7 +14,7 @@ COMMENT= Quake engine modification
# Loads libraries at run-time, thus RUN_DEPENDS.
RUN_DEPENDS= ${LOCALBASE}/lib/libvorbis.so:audio/libvorbis
-USES= gmake jpeg zip:infozip
+USES= gmake jpeg xorg zip:infozip
USE_XORG= xxf86dga xpm
MAKE_ENV= DP_FS_BASEDIR="${Q1DIR}" DP_LINK_JPEG=dlopen
WRKSRC= ${WRKDIR}/${PORTNAME}
@@ -42,6 +42,7 @@ SERVER_DESC= Build dedicated server
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGLX} || ${PORT_OPTIONS:MSDL}
+USES+= gl
USE_GL= glu
PLIST_SUB+= CLIENT=""
.else
@@ -61,6 +62,7 @@ EXE_TARGETS+= ${PORTNAME}-dedicated
.endif
.if ${PORT_OPTIONS:MSDL}
+USES+= sdl
. if ${PORT_OPTIONS:MSDL1}
USE_SDL= sdl
ALL_TARGET+= sdl-release
diff --git a/games/diameter/Makefile b/games/diameter/Makefile
index eb5d04f0284b..9e7a9b1309f9 100644
--- a/games/diameter/Makefile
+++ b/games/diameter/Makefile
@@ -16,7 +16,8 @@ BROKEN_armv7= fails to compile: res/3dsloader.cpp:77:15: comparison between poi
LIB_DEPENDS= libpng.so:graphics/png \
libguichan.so:devel/guichan
-USES= compiler:c++11-lang dos2unix tar:bzip2 gmake pkgconfig python:2.7
+USES= compiler:c++11-lang dos2unix gl gmake pkgconfig python:2.7 sdl \
+ tar:bzip2
DOS2UNIX_FILES= src/res/3dsloader.cpp
GNU_CONFIGURE= yes
USE_GL= gl glu
diff --git a/games/doom/Makefile b/games/doom/Makefile
index 7f15a64e78b3..b8b964b36d97 100644
--- a/games/doom/Makefile
+++ b/games/doom/Makefile
@@ -20,7 +20,7 @@ NO_CDROM= Redistribution is limited, see license; Requested by id Software
ONLY_FOR_ARCHS= i386
-USES= gmake zip
+USES= gmake xorg zip
USE_XORG= x11 sm xorgproto xext
NO_WRKSUBDIR= yes
diff --git a/games/doomlegacy/Makefile b/games/doomlegacy/Makefile
index 06d81affe3bf..da3c684daf5b 100644
--- a/games/doomlegacy/Makefile
+++ b/games/doomlegacy/Makefile
@@ -16,7 +16,7 @@ COMMENT= Improved and extended version of Doom
LICENSE= GPLv2
-USES= gmake tar:bzip2
+USES= gl gmake sdl tar:bzip2
USE_GL= glu
USE_SDL= mixer sdl
diff --git a/games/doomsday/Makefile b/games/doomsday/Makefile
index d09fd4be8602..4e2c1a941c97 100644
--- a/games/doomsday/Makefile
+++ b/games/doomsday/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= libcurl.so:ftp/curl \
RUN_DEPENDS= timidity:audio/timidity
USES= cmake compiler:c++11-lib gl localbase:ldflags ninja openal pkgconfig \
- python:2.7,build qt:5 sdl
+ python:2.7,build qt:5 sdl xorg
USE_GL= gl glu
USE_LDCONFIG= yes
diff --git a/games/duel/Makefile b/games/duel/Makefile
index e0506725d809..a20c3e96b247 100644
--- a/games/duel/Makefile
+++ b/games/duel/Makefile
@@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfreetype.so:print/freetype2 \
libftgl.so:graphics/ftgl
-USES= tar:bzip2 libtool
+USES= gl libtool sdl tar:bzip2
USE_GL= gl
USE_SDL= sdl
GNU_CONFIGURE= yes
diff --git a/games/easyrpg-player/Makefile b/games/easyrpg-player/Makefile
index 785b4724dcd3..0cb9a463c2a0 100644
--- a/games/easyrpg-player/Makefile
+++ b/games/easyrpg-player/Makefile
@@ -37,7 +37,8 @@ USE_GITHUB= yes
GH_ACCOUNT= EasyRPG
GH_PROJECT= Player
-USES= cmake:insource compiler:c++11-lib localbase:ldflags pkgconfig sdl
+USES= cmake:insource compiler:c++11-lib localbase:ldflags pkgconfig \
+ sdl xorg
CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR=man \
-DPLAYER_AUDIO_BACKEND=SDL2_mixer
USE_XORG= pixman
diff --git a/games/edge/Makefile b/games/edge/Makefile
index c79adf611c4e..a5148f5cfa37 100644
--- a/games/edge/Makefile
+++ b/games/edge/Makefile
@@ -20,7 +20,7 @@ LICENSE_COMB= dual
LIB_DEPENDS= libvorbis.so:audio/libvorbis \
libpng.so:graphics/png
-USES= alias gmake jpeg tar:bzip2
+USES= alias gl gmake jpeg sdl tar:bzip2
USE_GL= glew
USE_SDL= sdl
MAKEFILE= Makefile.linux
diff --git a/games/editss/Makefile b/games/editss/Makefile
index 5fc626d4fb8a..78cf0d71a008 100644
--- a/games/editss/Makefile
+++ b/games/editss/Makefile
@@ -13,7 +13,7 @@ COMMENT= Editor for XPilot shipshapes
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= imake
+USES= imake xorg
USE_XORG= x11 xaw xmu xt
ALL_TARGET= editss
diff --git a/games/eduke32/Makefile b/games/eduke32/Makefile
index 790d9fbefdcf..113450fe5638 100644
--- a/games/eduke32/Makefile
+++ b/games/eduke32/Makefile
@@ -30,7 +30,7 @@ LIB_DEPENDS= libFLAC.so:audio/flac \
libvpx.so:multimedia/libvpx \
libpng.so:graphics/png
-USES= dos2unix gmake pkgconfig tar:xz
+USES= dos2unix gl gmake gnome pkgconfig sdl tar:xz
USE_GL= gl glu
USE_GNOME= gtk20
USE_SDL= sdl2 mixer2
diff --git a/games/egl/Makefile b/games/egl/Makefile
index 970fc3006777..9f8c4b5930b7 100644
--- a/games/egl/Makefile
+++ b/games/egl/Makefile
@@ -34,7 +34,7 @@ GAME_DESC= Build main game (default mod)
.if ${PORT_OPTIONS:MCLIENT}
LIB_DEPENDS= libpng.so:graphics/png
-USES+= jpeg
+USES+= gl jpeg
USE_GL= gl
PLIST_SUB+= CLIENT=""
EGL_BIN+= egl
diff --git a/games/el/Makefile b/games/el/Makefile
index 9b243fd58a3d..610ba35322e9 100644
--- a/games/el/Makefile
+++ b/games/el/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libpng.so:graphics/png \
libcal3d.so:graphics/cal3d
RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/el.ini:games/el-data
-USES= compiler:c++11-lang gmake iconv openal:al,alut
+USES= compiler:c++11-lang gl gmake gnome iconv openal:al,alut sdl xorg
USE_GNOME= libxml2
USE_SDL= sdl net image
USE_GL= gl
diff --git a/games/ensemblist/Makefile b/games/ensemblist/Makefile
index c58205c834f3..cbe545c2dbfa 100644
--- a/games/ensemblist/Makefile
+++ b/games/ensemblist/Makefile
@@ -13,7 +13,7 @@ COMMENT= Assemble given shapes from primitives
LIB_DEPENDS= libmikmod.so:audio/libmikmod \
libpng.so:graphics/png
-USES= gmake
+USES= gl gmake xorg
USE_XORG= xmu
USE_GL= glut
MAKE_ARGS= CC="${CC}" DATADIR="${DATADIR}"
diff --git a/games/excido/Makefile b/games/excido/Makefile
index 6a115e256fa1..bae72d33ecf5 100644
--- a/games/excido/Makefile
+++ b/games/excido/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= libphysfs.so:devel/physfs
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-USES= gmake openal:al,alut tar:bzip2
+USES= gl gmake openal:al,alut sdl tar:bzip2
USE_GL= gl glu
USE_SDL= image sdl ttf
diff --git a/games/exult/Makefile b/games/exult/Makefile
index f26d8157dba8..b9d4518d4b10 100644
--- a/games/exult/Makefile
+++ b/games/exult/Makefile
@@ -19,7 +19,7 @@ USE_GITHUB= yes
GH_TAGNAME= b15afba
USES= autoreconf compiler:c++11-lib gmake gnome libtool localbase \
- pkgconfig
+ pkgconfig xorg
USE_CXXSTD= c++98
USE_XORG= xext
GNU_CONFIGURE= yes
diff --git a/games/f1spirit-remake/Makefile b/games/f1spirit-remake/Makefile
index c6d31a169c11..07a517fa58f5 100644
--- a/games/f1spirit-remake/Makefile
+++ b/games/f1spirit-remake/Makefile
@@ -15,7 +15,7 @@ COMMENT= Remake of classic F1 Spirit racing game
LIB_DEPENDS= libcurl.so:ftp/curl
-USES= dos2unix gmake zip
+USES= dos2unix gl gmake sdl zip
USE_SDL= sdl net image mixer sound
USE_GL= gl glu
DOS2UNIX_GLOB= *.h *.cpp
diff --git a/games/falconseye/Makefile b/games/falconseye/Makefile
index 75fc8d9608d1..3bb73228fa2a 100644
--- a/games/falconseye/Makefile
+++ b/games/falconseye/Makefile
@@ -13,7 +13,7 @@ COMMENT= NetHack derivative
RUN_DEPENDS= timidity:audio/timidity
-USES= ncurses perl5 zip
+USES= ncurses perl5 sdl xorg zip
DATADIR= ${PREFIX}/share/falconseyedir
MAKE_ENV= NHDIR="${DATADIR}" NETHACKCONFIG="${NETHACKCONFIG}"
MAKE_ARGS= WINTTYLIB="-lncurses"
diff --git a/games/fbg2/Makefile b/games/fbg2/Makefile
index ddb4db5fdeb6..fe05b13b0fbf 100644
--- a/games/fbg2/Makefile
+++ b/games/fbg2/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= liblua-5.1.so:lang/lua51 \
libphysfs.so.1:devel/physfs
RUN_DEPENDS= zip:archivers/zip
-USES= pkgconfig
+USES= gl pkgconfig sdl
USE_SDL= sdl sound
USE_GL= glu
GNU_CONFIGURE= yes
diff --git a/games/fishsupper/Makefile b/games/fishsupper/Makefile
index 283c23eea44e..2fbc4306d099 100644
--- a/games/fishsupper/Makefile
+++ b/games/fishsupper/Makefile
@@ -18,7 +18,7 @@ BUILD_DEPENDS= ${LOCALBASE}/include/boost/bind.hpp:devel/boost-libs
BROKEN_powerpc64= fails to compile: Log.h: expected initializer before '<' token
GNU_CONFIGURE= yes
-USES= gmake localbase:ldflags
+USES= gl gmake localbase:ldflags sdl
USE_SDL= sdl image mixer
USE_GL= gl
USE_CXXSTD= c++98
diff --git a/games/fkiss/Makefile b/games/fkiss/Makefile
index f4ef08de5754..956a15636608 100644
--- a/games/fkiss/Makefile
+++ b/games/fkiss/Makefile
@@ -24,7 +24,7 @@ BROKEN_armv7= fails to compile: passing char * to parameter of incompatible typ
EXTRA_PATCHES= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.diff
-USES= gmake
+USES= gmake xorg
USE_XORG= x11 xorgproto
GNU_CONFIGURE= yes
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \
diff --git a/games/flying/Makefile b/games/flying/Makefile
index 139db0001b76..07131f7fdda3 100644
--- a/games/flying/Makefile
+++ b/games/flying/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= SUNSITE/games/arcade
MAINTAINER= ports@FreeBSD.org
COMMENT= Pool/snooker/billiards/carrom/etc game
-USES= compiler imake tar:tgz
+USES= compiler imake tar:tgz xorg
USE_XORG= x11
PLIST_FILES= bin/flying man/man1/flying.1.gz
diff --git a/games/foobillard/Makefile b/games/foobillard/Makefile
index e4b50c222111..14d270d954b5 100644
--- a/games/foobillard/Makefile
+++ b/games/foobillard/Makefile
@@ -24,7 +24,7 @@ NVIDIA_BUMPREF_DESC= NVidia extensions
FREETYPE_CONFIG?= ${LOCALBASE}/bin/freetype-config
-USES= gmake
+USES= gmake xorg
GNU_CONFIGURE= yes
USE_XORG= xaw ice
@@ -39,9 +39,11 @@ DESKTOP_ENTRIES= "Foobillard" \
false
.if ${PORT_OPTIONS:MSDL}
+USES+= sdl
USE_SDL= sdl
CONFIGURE_ARGS+= --enable-SDL
.else
+USES+= gl
USE_GL= glut
CONFIGURE_ARGS+= --enable-glut
.endif
diff --git a/games/four-in-a-row/Makefile b/games/four-in-a-row/Makefile
index 25a0852c2df0..e1f8ba801ae5 100644
--- a/games/four-in-a-row/Makefile
+++ b/games/four-in-a-row/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= libcanberra.so:audio/libcanberra \
PORTSCOUT= limitw:1,even
-USES= gettext gmake gnome localbase pathfix pkgconfig tar:xz
+USES= gettext gmake gnome localbase pathfix pkgconfig tar:xz xorg
INSTALLS_ICONS= yes
USE_GNOME= cairo gtk30 intlhack librsvg2 libxml2:build
USE_XORG= x11
diff --git a/games/freedroidrpg/Makefile b/games/freedroidrpg/Makefile
index 2dd9ff09be59..c604d79e096c 100644
--- a/games/freedroidrpg/Makefile
+++ b/games/freedroidrpg/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= libpng.so:graphics/png
BROKEN_sparc64= does not configure
GNU_CONFIGURE= yes
-USES= jpeg gmake localbase lua:52+ python
+USES= jpeg gmake localbase lua:52+ python sdl xorg
USE_XORG= x11
USE_SDL= sdl image gfx
CONFIGURE_ENV= LUA_CFLAGS="-I${LUA_INCDIR}" LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER}"
@@ -38,6 +38,7 @@ BACKTRACE_DESC= Use backtrace() to generate nice bug reports
BACKTRACE_CONFIGURE_ENABLE= backtrace
BACKTRACE_VARS= STRIP= # empty
+OPENGL_USES= gl
OPENGL_USE= GL=gl
OPENGL_CONFIGURE_ENABLE= opengl
diff --git a/games/freetennis/Makefile b/games/freetennis/Makefile
index a0d6bddaabbe..46d20ded56ad 100644
--- a/games/freetennis/Makefile
+++ b/games/freetennis/Makefile
@@ -24,7 +24,7 @@ OCAML_DEPENDS= ${LOCALBASE}/lib/ocaml/site-lib/lablgtk2/gtk.ml:x11-toolkits/ocam
${LOCALBASE}/lib/ocaml/lablGL/gl.ml:graphics/ocaml-lablgl \
${LOCALBASE}/lib/ocaml/site-lib/sdl/sdl.mli:devel/ocaml-sdl
-USES= gettext tar:bzip2
+USES= gettext gl gnome sdl tar:bzip2 xorg
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 pango
USE_GL= gl glu
USE_SDL= ttf mixer sdl
diff --git a/games/frogatto/Makefile b/games/frogatto/Makefile
index f0109a152ed6..37cadf25c745 100644
--- a/games/frogatto/Makefile
+++ b/games/frogatto/Makefile
@@ -22,7 +22,7 @@ LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
USE_GITHUB= yes
GH_ACCOUNT= frogatto
-USES= compiler:c++11-lang dos2unix gmake pkgconfig
+USES= compiler:c++11-lang dos2unix gl gmake pkgconfiga sdl
ALL_TARGET= game server
USE_GL= glew glu
USE_SDL= sdl image mixer ttf
diff --git a/games/gl-117/Makefile b/games/gl-117/Makefile
index 3dd05dde481b..cbf5053de433 100644
--- a/games/gl-117/Makefile
+++ b/games/gl-117/Makefile
@@ -11,8 +11,8 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/GL-117%20Source
MAINTAINER= erik@bz.bzflag.bz
COMMENT= OpenGL & SDL action flight simulator
+USES= gl tar:bzip2
USE_GL= glut
-USES= tar:bzip2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-opengl-dir=${LOCALBASE}
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/games/glaxium/Makefile b/games/glaxium/Makefile
index eddeaab68941..76c59a4fefdf 100644
--- a/games/glaxium/Makefile
+++ b/games/glaxium/Makefile
@@ -13,7 +13,7 @@ COMMENT= OpenGL based space-ship "shoot-em-up" game
LIB_DEPENDS= libpng.so:graphics/png
-USES= dos2unix gmake
+USES= dos2unix gl gmake sdl
USE_SDL= sdl mixer
USE_GL= glut
GNU_CONFIGURE= yes
diff --git a/games/glest/Makefile b/games/glest/Makefile
index aa7fe049ce3b..b6db6b590ecf 100644
--- a/games/glest/Makefile
+++ b/games/glest/Makefile
@@ -19,7 +19,7 @@ BUILD_DEPENDS= jam:devel/jam
RUN_DEPENDS= ${LOCALBASE}/${DATADIR_REL}/servers.ini:games/glest-data
USES= autoreconf:build dos2unix gl localbase lua:51 openal:al,alut \
- pkgconfig zip
+ pkgconfig sdl xorg zip
USE_SDL= sdl
USE_GL= gl glu
USE_XORG= x11
diff --git a/games/glightoff/Makefile b/games/glightoff/Makefile
index 6e3b55d3d84f..12499b9f01f9 100644
--- a/games/glightoff/Makefile
+++ b/games/glightoff/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser
-USES= gmake iconv localbase pkgconfig
+USES= gmake gnome iconv localbase pkgconfig xorg
GNU_CONFIGURE= yes
USE_GNOME= glib20 gtk20
USE_XORG= x11
diff --git a/games/glmaze/Makefile b/games/glmaze/Makefile
index 1c08627dea57..0b32efabbd31 100644
--- a/games/glmaze/Makefile
+++ b/games/glmaze/Makefile
@@ -19,6 +19,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
WRKSRC= ${WRKDIR}/${PORTNAME}
+USES= gl sdl
USE_GL= gl
USE_SDL= mixer sdl
diff --git a/games/glob2/Makefile b/games/glob2/Makefile
index c44c11756690..229bace329cf 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 pkgconfig scons
+USES= compiler:c++11-lang gl pkgconfig scons sdl
USE_SDL= image net sdl ttf
USE_GL= gl glu
MAKE_ARGS= CCFLAGS="${CFLAGS}" \
diff --git a/games/glsfcave/Makefile b/games/glsfcave/Makefile
index 43f38613a6aa..33a545cf748d 100644
--- a/games/glsfcave/Makefile
+++ b/games/glsfcave/Makefile
@@ -11,7 +11,7 @@ MASTER_SITES= http://user.ecc.u-tokyo.ac.jp/~g650192/glsfcave/ \
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Control a ribbon to avoid hitting walls
-USES= tar:bzip2
+USES= gl tar:bzip2
USE_GL= glut
WRKSRC= ${WRKDIR}/${PORTNAME}
diff --git a/games/gltron/Makefile b/games/gltron/Makefile
index 69debfd7573b..a473d32a1ca5 100644
--- a/games/gltron/Makefile
+++ b/games/gltron/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png
-USES= gmake
+USES= gl gmake sdl
USE_GL= gl
USE_SDL= sdl sound
GNU_CONFIGURE= yes
diff --git a/games/gnome-2048/Makefile b/games/gnome-2048/Makefile
index 1f47626092ad..74ae2b3e5d65 100644
--- a/games/gnome-2048/Makefile
+++ b/games/gnome-2048/Makefile
@@ -22,7 +22,7 @@ LIB_DEPENDS= libclutter-1.0.so:graphics/clutter \
PORTSCOUT= limitw:1,even
-USES= gettext gmake gnome localbase pathfix pkgconfig tar:xz
+USES= gettext gl gmake gnome localbase pathfix pkgconfig tar:xz xorg
USE_GNOME= cairo gtk30 intltool libxml2:build
USE_GL= egl
USE_XORG+= x11 xext xdamage xfixes xcomposite xi xrandr
diff --git a/games/gnome-chess/Makefile b/games/gnome-chess/Makefile
index 9773cea68f1e..023a60305286 100644
--- a/games/gnome-chess/Makefile
+++ b/games/gnome-chess/Makefile
@@ -19,7 +19,7 @@ BUILD_DEPENDS= vala:lang/vala \
PORTSCOUT= limitw:1,even
-USES= desktop-file-utils gettext gnome localbase meson \
+USES= desktop-file-utils gettext gl gnome localbase meson \
pkgconfig python:3.6+,build tar:xz
USE_GNOME= cairo gtk30 librsvg2 libxml2:build
INSTALLS_ICONS= yes
diff --git a/games/gnome-nibbles/Makefile b/games/gnome-nibbles/Makefile
index 00bcb66c4f03..b348ff5c2701 100644
--- a/games/gnome-nibbles/Makefile
+++ b/games/gnome-nibbles/Makefile
@@ -28,8 +28,8 @@ LIB_DEPENDS= libcanberra-gtk3.so:audio/libcanberra-gtk3 \
PORTSCOUT= limitw:1,even
-USES= gettext gmake gnome localbase pathfix \
- pkgconfig tar:xz
+USES= gettext gl gmake gnome localbase pathfix \
+ pkgconfig tar:xz xorg
USE_GNOME= cairo gtk30 intlhack librsvg2 libxml2:build
INSTALLS_ICONS= yes
USE_GL= gl egl
diff --git a/games/gnome-robots/Makefile b/games/gnome-robots/Makefile
index 455e55be87c8..8589cbe0e10c 100644
--- a/games/gnome-robots/Makefile
+++ b/games/gnome-robots/Makefile
@@ -23,7 +23,7 @@ LIB_DEPENDS= libcanberra-gtk3.so:audio/libcanberra-gtk3 \
PORTSCOUT= limitw:1,even
USES= gettext gmake gnome localbase pathfix \
- pkgconfig tar:xz
+ pkgconfig tar:xz xorg
USE_GNOME= cairo gtk30 intlhack librsvg2 libxml2:build
USE_XORG= x11
INSTALLS_ICONS= yes
diff --git a/games/gnome-taquin/Makefile b/games/gnome-taquin/Makefile
index ca50cb882e2d..6067faa655a7 100644
--- a/games/gnome-taquin/Makefile
+++ b/games/gnome-taquin/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= libcanberra.so:audio/libcanberra \
PORTSCOUT= limitw:1,even
-USES= gettext gmake gnome localbase pathfix pkgconfig tar:xz
+USES= gettext gmake gnome localbase pathfix pkgconfig tar:xz xorg
USE_GNOME= cairo gtk30 intlhack librsvg2 libxml2:build
USE_XORG= x11
INSTALLS_ICONS= yes
diff --git a/games/gnubg/Makefile b/games/gnubg/Makefile
index 5c5f42aecf31..9a5e12054a77 100644
--- a/games/gnubg/Makefile
+++ b/games/gnubg/Makefile
@@ -22,7 +22,8 @@ LIB_DEPENDS= libpng.so:graphics/png \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
-USES= bison gmake libtool pathfix shebangfix python pkgconfig compiler:c++11-lang readline gnome gl
+USES= bison gl gmake gnome libtool pathfix shebangfix python \
+ pkgconfig compiler:c++11-lang readline xorg
USE_GNOME= glib20 gtk20 cairo pangox-compat
USE_XORG+= xmu xt sm ice x11
USE_GL+= glu gl
diff --git a/games/gnujump/Makefile b/games/gnujump/Makefile
index d23b010eca0a..d7ce42f8be6a 100644
--- a/games/gnujump/Makefile
+++ b/games/gnujump/Makefile
@@ -14,7 +14,7 @@ LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
-USES= gmake localbase
+USES= gl gmake localbase sdl xorg
USE_SDL= sdl mixer image
USE_GL= gl
USE_XORG= x11
diff --git a/games/golddig/Makefile b/games/golddig/Makefile
index 81bff4ec1d08..d779bef9570f 100644
--- a/games/golddig/Makefile
+++ b/games/golddig/Makefile
@@ -11,6 +11,7 @@ DISTNAME= ${PORTNAME}C${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Getting the Gold and Avoiding Death
+USES= xorg
USE_XORG= x11
MAKE_ENV= X11BASE="${LOCALBASE}" \
_STRIPFLAG_INSTALL="${STRIP}"
diff --git a/games/goonies/Makefile b/games/goonies/Makefile
index 98fb698b098e..4d20745713b1 100644
--- a/games/goonies/Makefile
+++ b/games/goonies/Makefile
@@ -14,7 +14,7 @@ COMMENT= Remake of the 8 bit classic game 'The Goonies'
LICENSE= NONE
-USES= gmake tar:tgz
+USES= gl gmake sdl tar:tgz
USE_SDL= sdl mixer image
USE_GL= gl glu
USE_CXXSTD= c++98
diff --git a/games/gottet/Makefile b/games/gottet/Makefile
index 23fe6472cb4d..5caa7b134f09 100644
--- a/games/gottet/Makefile
+++ b/games/gottet/Makefile
@@ -14,7 +14,7 @@ COMMENT= Tetris clone
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= compiler:c++11-lib qmake qt:5 tar:bzip2
+USES= compiler:c++11-lib gl qmake qt:5 tar:bzip2
USE_GL= gl
USE_QT= core gui widgets \
buildtools_build linguisttools_build
diff --git a/games/gracer/Makefile b/games/gracer/Makefile
index 1b20e7903b56..18939d4e45cf 100644
--- a/games/gracer/Makefile
+++ b/games/gracer/Makefile
@@ -17,8 +17,8 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib
LIB_DEPENDS= libgif.so:graphics/giflib \
libpng.so:graphics/png
+USES= gl gmake jpeg localbase perl5 tcl
USE_GL= glut
-USES= gmake jpeg localbase perl5 tcl
USE_PERL5= build
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-plib=${LOCALBASE}
diff --git a/games/iagno/Makefile b/games/iagno/Makefile
index 6cc5748966f9..dbe1db4c600e 100644
--- a/games/iagno/Makefile
+++ b/games/iagno/Makefile
@@ -22,7 +22,7 @@ LIB_DEPENDS= libcanberra.so:audio/libcanberra \
PORTSCOUT= limitw:1,even
-USES= gettext gmake gnome localbase pathfix pkgconfig tar:xz
+USES= gettext gmake gnome localbase pathfix pkgconfig tar:xz xorg
USE_GNOME= cairo gtk30 intlhack librsvg2 libxml2:build
USE_XORG= x11
INSTALLS_ICONS= yes
diff --git a/games/icbm3d/Makefile b/games/icbm3d/Makefile
index f8b0a55febdd..141c5b612c7c 100644
--- a/games/icbm3d/Makefile
+++ b/games/icbm3d/Makefile
@@ -16,6 +16,7 @@ COMMENT= Inter-Continental Ballistic Missiles, 3D
WRKSRC= ${WRKDIR}/${PORTNAME}
+USES= xorg
USE_XORG= x11
MAKEFILE= makefile
ALL_TARGET= ${PORTNAME}
diff --git a/games/ioquake3/Makefile b/games/ioquake3/Makefile
index 027a92d5d870..751898ce7efb 100644
--- a/games/ioquake3/Makefile
+++ b/games/ioquake3/Makefile
@@ -33,6 +33,7 @@ OPTIONS_DEFINE= SERVER CURL OPENAL MUMBLE VORBIS DEBUG
OPTIONS_DEFAULT= SERVER CURL OPENAL MUMBLE VORBIS
SERVER_DESC= Install dedicated server
MUMBLE_DESC= Enable Mumble support (no dependencies)
+USES+= gl
USE_GL+= gl
.endif
IOQ3_OPTIONS= ${IOQ3:MTOOLS} ${IOQ3:MDLRENDERER} ${IOQ3:MGAMELIBS} \
diff --git a/games/ishido/Makefile b/games/ishido/Makefile
index 582fde9675f5..36f25e275184 100644
--- a/games/ishido/Makefile
+++ b/games/ishido/Makefile
@@ -10,8 +10,9 @@ MASTER_SITES= LOCAL/obrien
MAINTAINER= ports@FreeBSD.org
COMMENT= Tile placement game
-MAKE_ENV= X11BASE=${LOCALBASE}
+USES= xorg
USE_XORG= x11
+MAKE_ENV= X11BASE=${LOCALBASE}
do-install:
${INSTALL_MAN} ${WRKSRC}/ishido.6 ${STAGEDIR}${PREFIX}/man/man6
diff --git a/games/jigzo/Makefile b/games/jigzo/Makefile
index ad0f2be96cb4..a7529737ef2b 100644
--- a/games/jigzo/Makefile
+++ b/games/jigzo/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/GPL.txt
LIB_DEPENDS= libpng.so:graphics/png
-USES= gmake jpeg tar:tgz
+USES= gl gmake jpeg sdl tar:tgz
USE_SDL= sdl mixer
USE_GL= gl
MAKE_ARGS= CXX=${CXX}
diff --git a/games/joequake/Makefile b/games/joequake/Makefile
index f919edc42f86..c67f78a03424 100644
--- a/games/joequake/Makefile
+++ b/games/joequake/Makefile
@@ -39,8 +39,8 @@ X86_ASM_DESC= Enable x86 assembly code
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOPENGL}
+USES+= gl jpeg
USE_GL= yes
-USES+= jpeg
ALL_TARGET+= glx
PLIST_SUB+= GLX=""
.else
@@ -76,6 +76,7 @@ MAKE_ENV+= USE_${f}=NO
.endfor
.if ${PORT_OPTIONS:MX11}
+USES+= xorg
USE_XORG= xxf86dga
ALL_TARGET+= x11
PLIST_SUB+= X11=""
diff --git a/games/jvgs/Makefile b/games/jvgs/Makefile
index 4f67d3861b92..c1859cb84637 100644
--- a/games/jvgs/Makefile
+++ b/games/jvgs/Makefile
@@ -14,7 +14,7 @@ COMMENT= Minimalistic platform game
BUILD_DEPENDS= swig3.0:devel/swig30
LIB_DEPENDS= libfreetype.so:print/freetype2
-USES= cmake:insource lua:51
+USES= cmake:insource gl lua:51 sdl
USE_SDL= sdl mixer
USE_GL= gl glu
diff --git a/games/keeperrl/Makefile b/games/keeperrl/Makefile
index 03ddf6770bbb..468b64768d36 100644
--- a/games/keeperrl/Makefile
+++ b/games/keeperrl/Makefile
@@ -19,7 +19,7 @@ LICENSE_FILE_OFL11= ${WRKSRC}/data_contrib/SIL_Open_Font_License.txt
LIB_DEPENDS= libvorbis.so:audio/libvorbis \
libcurl.so:ftp/curl
-USES= compiler:c++14-lang gmake localbase openal
+USES= compiler:c++14-lang gl gmake localbase openal sdl
USE_GITHUB= yes
GH_ACCOUNT= miki151
diff --git a/games/kiki/Makefile b/games/kiki/Makefile
index 4b04d751bb73..cb16792a2f6c 100644
--- a/games/kiki/Makefile
+++ b/games/kiki/Makefile
@@ -13,7 +13,7 @@ COMMENT= Kiki the nanobot is a 3-D puzzle game
BUILD_DEPENDS= swig3.0:devel/swig30
-USES= compiler dos2unix gmake python:2.7
+USES= compiler dos2unix gl gmake python:2.7 sdl
USE_GL= gl glu glut
USE_SDL= sdl mixer image
DOS2UNIX_REGEX= .*/(Makefile|.*\.cpp|.*\.h|.*\.i)$
diff --git a/games/ksudoku/Makefile b/games/ksudoku/Makefile
index 232807d1f26a..dfcb4642253a 100644
--- a/games/ksudoku/Makefile
+++ b/games/ksudoku/Makefile
@@ -7,7 +7,7 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake compiler:c++11-lang kde:5 qt:5 tar:xz
+USES= cmake compiler:c++11-lang gl kde:5 qt:5 tar:xz
USE_GL= gl glu
USE_KDE= archive auth codecs completion config configwidgets \
coreaddons crash ecm guiaddons i18n jobwidgets kio \
diff --git a/games/kubrick/Makefile b/games/kubrick/Makefile
index 5860306a10eb..797782840203 100644
--- a/games/kubrick/Makefile
+++ b/games/kubrick/Makefile
@@ -7,7 +7,7 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake compiler:c++11-lang kde:5 qt:5 tar:xz
+USES= cmake compiler:c++11-lang gl kde:5 qt:5 tar:xz
USE_GL= gl glu
USE_KDE= auth codecs config configwidgets coreaddons crash ecm \
i18n kio libkdegames service widgetsaddons xmlgui
diff --git a/games/lander/Makefile b/games/lander/Makefile
index 6314695acc56..71f137296680 100644
--- a/games/lander/Makefile
+++ b/games/lander/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= libfreetype.so:print/freetype2 \
libpng.so:graphics/png
GNU_CONFIGURE= yes
-USES= compiler:c++11-lib gettext localbase pkgconfig
+USES= compiler:c++11-lib gettext gl localbase pkgconfig sdl
USE_SDL= sdl image mixer
USE_GL= gl glu
diff --git a/games/libshhcards/Makefile b/games/libshhcards/Makefile
index 68d59cb93e0f..89b7c0caa798 100644
--- a/games/libshhcards/Makefile
+++ b/games/libshhcards/Makefile
@@ -12,6 +12,7 @@ COMMENT= Library for displaying game cards on X Window System
LICENSE= ART10
+USES= xorg
USE_XORG= xpm
MAKEFILE= ${FILESDIR}/Makefile.lib
USE_LDCONFIG= yes
diff --git a/games/lightsoff/Makefile b/games/lightsoff/Makefile
index 0d5a5bfd5552..a3f6c6607b6f 100644
--- a/games/lightsoff/Makefile
+++ b/games/lightsoff/Makefile
@@ -22,8 +22,8 @@ LIB_DEPENDS= libclutter-gtk-1.0.so:graphics/clutter-gtk3 \
PORTSCOUT= limitw:1,even
-USES= gettext gmake gnome localbase pathfix pkgconfig \
- sqlite tar:xz
+USES= gettext gl gmake gnome localbase pathfix pkgconfig \
+ sqlite tar:xz xorg
USE_GNOME= cairo gtk30 intlhack librsvg2 libxml2:build
INSTALLS_ICONS= yes
USE_XORG= x11 xcomposite xdamage xext xfixes xi xrandr
diff --git a/games/lincity-ng/Makefile b/games/lincity-ng/Makefile
index ffdf61ed2e14..25d4be6dfa39 100644
--- a/games/lincity-ng/Makefile
+++ b/games/lincity-ng/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS= libphysfs.so:devel/physfs
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= gl gnome localbase:ldflags pkgconfig tar:bzip2
+USES= gl gnome localbase:ldflags pkgconfig sdl tar:bzip2 xorg
USE_SDL= sdl mixer image ttf gfx
USE_GL= gl
USE_XORG= x11
diff --git a/games/lincity/Makefile b/games/lincity/Makefile
index 6e78fe3b1f11..b5e6c7fb8804 100644
--- a/games/lincity/Makefile
+++ b/games/lincity/Makefile
@@ -35,6 +35,7 @@ SVGALIB_CONFIGURE_OFF= --without-svga
.if ${PORT_OPTIONS:MSVGALIB}
PLIST_SUB+= PROG="bin/lincity"
.else
+USES+= xorg
USE_XORG= sm xext
PLIST_SUB+= PROG="bin/xlincity"
.endif
diff --git a/games/lugaru/Makefile b/games/lugaru/Makefile
index 0736da454fdb..da1cccb2e7eb 100644
--- a/games/lugaru/Makefile
+++ b/games/lugaru/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= libpng.so:graphics/png \
libvorbis.so:audio/libvorbis \
libogg.so:audio/libogg
-USES= cmake jpeg openal:soft pkgconfig tar:bzip2
+USES= cmake gl jpeg openal:soft pkgconfig sdl tar:bzip2 xorg
USE_GL= gl glu
USE_SDL= sdl
USE_XORG= sm
diff --git a/games/lwjgl/Makefile b/games/lwjgl/Makefile
index 0b621b584bfd..0eebd2276865 100644
--- a/games/lwjgl/Makefile
+++ b/games/lwjgl/Makefile
@@ -25,7 +25,7 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
EXTRACT_AFTER_ARGS= -d ${WRKSRC}
-USES= dos2unix zip
+USES= dos2unix zip xorg
DOS2UNIX_REGEX= .*.[^jp][^an][^rg]$
USE_JAVA= yes
USE_LDCONFIG= yes
diff --git a/games/macopix/Makefile b/games/macopix/Makefile
index f26a6766bcb3..ec57431ba08c 100644
--- a/games/macopix/Makefile
+++ b/games/macopix/Makefile
@@ -34,7 +34,7 @@ RESTRICTED_FILES= \
macopix-mascot-marimite-euc-ja-2.20.tar.gz \
macopix-mascot-HxB-euc-ja-0.30.tar.gz
-USES= gettext gmake gnome iconv jpeg libtool pkgconfig
+USES= gettext gmake gnome iconv jpeg libtool pkgconfig xorg
USE_GNOME= gtk20
USE_XORG= x11
GNU_CONFIGURE= yes
diff --git a/games/maelstrom/Makefile b/games/maelstrom/Makefile
index 875f11bbe637..135adf609084 100644
--- a/games/maelstrom/Makefile
+++ b/games/maelstrom/Makefile
@@ -18,6 +18,7 @@ COMMENT= Asteroids-style game for X Window System
LICENSE= GPLv2
+USES= sdl xorg
USE_CXXSTD= gnu++98
USE_SDL= sdl net
USE_XORG= xpm
diff --git a/games/magiccube4d/Makefile b/games/magiccube4d/Makefile
index 1cb8ab6ed63f..29a01c7e9863 100644
--- a/games/magiccube4d/Makefile
+++ b/games/magiccube4d/Makefile
@@ -12,6 +12,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= MagicCube4D is a four-dimensional analog of Rubik's cube
+USES= xorg
USE_XORG= x11 xext xt sm ice xaw
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-src-${PORTVERSION:S/./_/}
diff --git a/games/manaplus/Makefile b/games/manaplus/Makefile
index 4680679acf3d..bab370ddb067 100644
--- a/games/manaplus/Makefile
+++ b/games/manaplus/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libxml2.so:textproc/libxml2 \
libpng.so:graphics/png \
libcurl.so:ftp/curl
-USES= autoreconf compiler:c++11-lang pkgconfig:build tar:xz
+USES= autoreconf compiler:c++11-lang pkgconfig:build sdl tar:xz xorg
USE_XORG= x11
USE_SDL= sdl2 gfx2 image2 mixer2 net2 ttf2
diff --git a/games/marsnomercy/Makefile b/games/marsnomercy/Makefile
index e0cf160fba2f..e0eb0b417b69 100644
--- a/games/marsnomercy/Makefile
+++ b/games/marsnomercy/Makefile
@@ -16,7 +16,7 @@ LICENSE= GPLv2 # version unspecified actually
BUILD_DEPENDS= scons:devel/scons
LIB_DEPENDS= libpng.so:graphics/png
-USES= compiler
+USES= compiler gl sdl
USE_GL= gl
USE_SDL= sdl image ttf
SCONS_ARGS= prefix=${PREFIX}
diff --git a/games/megaglest/Makefile b/games/megaglest/Makefile
index cc9b0fe19590..b3a095244d63 100644
--- a/games/megaglest/Makefile
+++ b/games/megaglest/Makefile
@@ -30,7 +30,7 @@ GH_PROJECT= megaglest-source
SUB_FILES= pkg-message
USES= cmake:insource compiler:c++11-lib display:build dos2unix jpeg lua \
- openal:al,alut pkgconfig ssl localbase:ldflags sdl gl
+ openal:al,alut pkgconfig ssl localbase:ldflags sdl gl xorg
USE_GL= glew gl glu
USE_SDL= sdl2
USE_XORG= sm ice x11 xext
diff --git a/games/megamario/Makefile b/games/megamario/Makefile
index dd3c477358c1..ab7934f1779b 100644
--- a/games/megamario/Makefile
+++ b/games/megamario/Makefile
@@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/licence.txt
WRKSRC= ${WRKDIR}/${DISTNAME}
EXTRACT_AFTER_ARGS= -d ${WRKSRC}
-USES= dos2unix gmake zip
+USES= dos2unix gl gmake sdl zip
DOS2UNIX_GLOB= *.cpp *.h *.ini Makefile* *.txt *.desktop
USE_SDL= sdl image mixer ttf
USE_GL= glu
diff --git a/games/memonix/Makefile b/games/memonix/Makefile
index 85da4392940f..ca251fd4396b 100644
--- a/games/memonix/Makefile
+++ b/games/memonix/Makefile
@@ -23,7 +23,7 @@ LICENSE_PERMS_unknown= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LICENSE_DISTFILES_unknown= memx16.tar.gz
LICENSE_DISTFILES_GPLv2= ${DISTNAME}${EXTRACT_SUFX}
-USES= cmake:insource zip
+USES= cmake:insource gl sdl zip
USE_SDL= sdl mixer image
USE_GL= yes
diff --git a/games/mindfocus/Makefile b/games/mindfocus/Makefile
index d083df36a4f9..b8995b93dd59 100644
--- a/games/mindfocus/Makefile
+++ b/games/mindfocus/Makefile
@@ -11,7 +11,7 @@ DISTFILES= mindfocus-0.88.tar.gz mindfocus-data1.tar.gz
MAINTAINER= ports@FreeBSD.org
COMMENT= Lovely characters stay on top of active window
-USES= imake
+USES= imake xorg
USE_XORG= xpm
RESTRICTED= 'contains commercial character data'
diff --git a/games/motogt/Makefile b/games/motogt/Makefile
index afe6b6e3c54a..d76099d66def 100644
--- a/games/motogt/Makefile
+++ b/games/motogt/Makefile
@@ -19,7 +19,7 @@ LICENSE_COMB= multi
LICENSE_FILE_GPLv2= ${WRKSRC}/doc/gpl.txt
LICENSE_FILE_CC-BY-SA-3.0= ${WRKSRC}/doc/cc-by-sa.txt
-USES= localbase:ldflags zip
+USES= gl localbase:ldflags zip
USE_GL= gl
BUILD_WRKSRC= ${WRKSRC}/src
MAKEFILE= Makefile.lnx
diff --git a/games/nadar/Makefile b/games/nadar/Makefile
index b73931aade47..e4b3a885ee97 100644
--- a/games/nadar/Makefile
+++ b/games/nadar/Makefile
@@ -11,6 +11,7 @@ MAINTAINER= hsakai@m8.ffn.ne.jp
COMMENT= Network tank battle game
MAKE_ENV= X11BASE=${LOCALBASE}
+USES= xorg
USE_XORG= xpm
MAKE_JOBS_UNSAFE= yes
diff --git a/games/naev/Makefile b/games/naev/Makefile
index 32261a5d16ed..b579aa7a5941 100644
--- a/games/naev/Makefile
+++ b/games/naev/Makefile
@@ -19,7 +19,8 @@ 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 gmake pkgconfig tar:bzip2
+USES= autoreconf:build compiler:features gl gmake gnome pkgconfig \
+ tar:bzip2
GNU_CONFIGURE= yes
USE_GL= gl glu
USE_GNOME= libxml2
diff --git a/games/nehquake/Makefile b/games/nehquake/Makefile
index bc9f99ec9f3d..c9f9795525ba 100644
--- a/games/nehquake/Makefile
+++ b/games/nehquake/Makefile
@@ -11,7 +11,7 @@ DISTNAME= NehQuake-bjp-bin-src.linux
MAINTAINER= ports@FreeBSD.org
COMMENT= Quake engine designed for playing Nehahra
-USES= gmake dos2unix tar:bzip2
+USES= gl gmake dos2unix tar:bzip2 xorg
USE_GL= gl
USE_XORG= xxf86dga
@@ -19,6 +19,7 @@ OPTIONS_DEFINE= OPTIMIZED_CFLAGS SDL X86_ASM
OPTIONS_DEFAULT= OPTIMIZED_CFLAGS SDL X86_ASM
OPTIONS_SUB= yes
+SDL_USES= sdl
SDL_USE= SDL=sdl
SDL_MAKE_ENV= BUILD_SDL=YES
diff --git a/games/nethack32/Makefile b/games/nethack32/Makefile
index 2bc07b499fd7..0bb610f1c8f0 100644
--- a/games/nethack32/Makefile
+++ b/games/nethack32/Makefile
@@ -16,7 +16,7 @@ COMMENT= Dungeon explorin', slashin', hackin' game
WRKSRC= ${WRKDIR}/${TRUEPORTNAME}-3.2.2
-USES= tar:tgz
+USES= tar:tgz xorg
USE_XORG= xaw xpm
PLIST_SUB= HACKNAME="${HACKNAME}" \
HACKEXT="${HACKEXT}"
diff --git a/games/nethack33/Makefile b/games/nethack33/Makefile
index d32d3b6a0292..3a74711fa3f7 100644
--- a/games/nethack33/Makefile
+++ b/games/nethack33/Makefile
@@ -30,6 +30,7 @@ DOCSDIR= ${PREFIX}/share/doc/${HACKNAME}
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
.if !defined(PKGNAMESUFFIX)
+USES+= xorg
USE_XORG= xaw xpm
GRAPHICS= X11_GRAPHICS
.else
diff --git a/games/nethack34/Makefile b/games/nethack34/Makefile
index 6806148aab0f..7cf7c074ddc4 100644
--- a/games/nethack34/Makefile
+++ b/games/nethack34/Makefile
@@ -36,6 +36,7 @@ DOCSDIR= ${PREFIX}/share/doc/${HACKNAME}
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
.if !defined(PKGNAMESUFFIX)
+USES+= xorg
USE_XORG= xaw xpm
GRAPHICS= X11_GRAPHICS
.else
diff --git a/games/nethack36/Makefile b/games/nethack36/Makefile
index 1e988dcffe4b..6a0932a3e818 100644
--- a/games/nethack36/Makefile
+++ b/games/nethack36/Makefile
@@ -36,6 +36,7 @@ DOCSDIR= ${PREFIX}/share/doc/${HACKNAME}
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
.if !defined(PKGNAMESUFFIX)
+USES+= xorg
USE_XORG= xaw xpm xmu xext xt x11 sm ice
CFLAGS+= -DX11_GRAPHICS -DUSE_TILES
GRAPHICS= X11_GRAPHICS
diff --git a/games/netherearth/Makefile b/games/netherearth/Makefile
index 3c773487f982..6cdce05da11e 100644
--- a/games/netherearth/Makefile
+++ b/games/netherearth/Makefile
@@ -12,7 +12,7 @@ COMMENT= Remake of the first real time strategy game on the SPECTRUM
GNU_CONFIGURE= yes
-USES= compiler
+USES= compiler gl sdl
USE_GL= gl glu glut
USE_SDL= sdl mixer
diff --git a/games/netradiant/Makefile b/games/netradiant/Makefile
index bbd794115877..52f867167b3e 100644
--- a/games/netradiant/Makefile
+++ b/games/netradiant/Makefile
@@ -26,7 +26,7 @@ LIB_DEPENDS= libpng.so:graphics/png \
libgtkglext-x11-1.0.so:x11-toolkits/gtkglext
USES= compiler:c++11-lang gl gmake gnome jpeg localbase:ldflags \
- pkgconfig tar:xz
+ pkgconfig tar:xz xorg
USE_GL= gl glu
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 libxml2 pango pangox-compat
USE_XORG= x11
diff --git a/games/netwalk/Makefile b/games/netwalk/Makefile
index 6d704aec359c..a74f27b6e376 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
+USES= gmake iconv sdl xorg
USE_SDL= sdl ttf
USE_XORG= x11 xau xdmcp
MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX}
diff --git a/games/neverball/Makefile b/games/neverball/Makefile
index c454fb9e1d6a..ef13871b21d3 100644
--- a/games/neverball/Makefile
+++ b/games/neverball/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libpng.so:graphics/png \
libvorbis.so:audio/libvorbis \
libphysfs.so:devel/physfs
-USES= gmake iconv jpeg
+USES= gl gmake iconv jpeg sdl
USE_GL= gl
USE_SDL= sdl2 ttf2
MAKE_ARGS+= DATADIR="${DATADIR}" \
diff --git a/games/nexuiz/Makefile b/games/nexuiz/Makefile
index a037d2a507c5..aab6c5a5b37a 100644
--- a/games/nexuiz/Makefile
+++ b/games/nexuiz/Makefile
@@ -52,6 +52,7 @@ MAPPACK_DISTFILES= nexmappack_r2${EXTRACT_SUFX}:mappack
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCLIENT}
+USES+= gl xorg
USE_GL= glut
USE_XORG= x11 xpm xxf86vm xxf86dga xext
ALL_TARGET+= cl-release
@@ -66,6 +67,7 @@ DESKTOP_ENTRIES="Nexuiz" \
.endif
.if ${PORT_OPTIONS:MSDL_CLIENT}
+USES+= sdl
USE_SDL= sdl
ALL_TARGET+= sdl-release
PLIST_FILES+= bin/${PORTNAME}-sdl
diff --git a/games/nighthawk/Makefile b/games/nighthawk/Makefile
index d2d238a32e84..68bed867c36d 100644
--- a/games/nighthawk/Makefile
+++ b/games/nighthawk/Makefile
@@ -12,7 +12,7 @@ COMMENT= X11 shoot-'em up which requires some lateral thinking
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= gmake localbase:ldflags tar:bzip2
+USES= gl gmake localbase:ldflags tar:bzip2
USE_GL= glut
MAKE_ARGS= CC="${CC}" CPP="${CXX}" CC_FLAGS="${CXXFLAGS}" \
LIB_FLAGS="${LDFLAGS}" GCC="${CC}" CFLAGS="${CFLAGS}"
diff --git a/games/numptyphysics/Makefile b/games/numptyphysics/Makefile
index a56a1ac6f9a0..2f8df8d80f62 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
+USES= compiler:c++11-lang tar:bzip2 desktop-file-utils sdl xorg
GNU_CONFIGURE= yes
USE_SDL= sdl image
USE_XORG= x11
diff --git a/games/oneko-sakura/Makefile b/games/oneko-sakura/Makefile
index 121c7683d18e..6e787af33ab0 100644
--- a/games/oneko-sakura/Makefile
+++ b/games/oneko-sakura/Makefile
@@ -14,7 +14,7 @@ COMMENT= Cat, Sakura or Tomoyo chasing a mouse all over the screen
CONFLICTS= oneko-2.*
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext
PLIST_FILES= bin/oneko \
man/man6/oneko.6.gz
diff --git a/games/oneko/Makefile b/games/oneko/Makefile
index 8f443601aae4..5b6b5d74203f 100644
--- a/games/oneko/Makefile
+++ b/games/oneko/Makefile
@@ -23,6 +23,7 @@ BUILD_DEPENDS= nkf:japanese/nkf
CONFLICTS= oneko-1.*
GNU_CONFIGURE= yes
+USES= xorg
USE_XORG= x11 xpm xmu
WRKSRC= ${WRKDIR}/${PORTNAME}
INSTALL_TARGET= install install.man
diff --git a/games/oolite/Makefile b/games/oolite/Makefile
index ad37a676496a..5eb75d7f4d4e 100644
--- a/games/oolite/Makefile
+++ b/games/oolite/Makefile
@@ -24,7 +24,8 @@ LIB_DEPENDS= libespeak.so:audio/espeak \
libpng.so:graphics/png \
libminizip.so:archivers/minizip
-USES= gl gnustep openal:al perl5 python:2.7,build tar:bzip2
+USES= gl gnustep openal:al perl5 python:2.7,build sdl \
+ tar:bzip2 xorg
USE_CXXSTD= gnu++98
USE_GL= gl glu
USE_SDL= sdl
diff --git a/games/oonsoo/Makefile b/games/oonsoo/Makefile
index 6811c1a71819..45c68c1aa47f 100644
--- a/games/oonsoo/Makefile
+++ b/games/oonsoo/Makefile
@@ -12,6 +12,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Solitaire card game for X
+USES= xorg
USE_XORG= x11
PLIST_FILES= bin/oonsoo
MAKEFILE= Makefile.Linux
diff --git a/games/openage/Makefile b/games/openage/Makefile
index 2eedebf1b829..53014340d836 100644
--- a/games/openage/Makefile
+++ b/games/openage/Makefile
@@ -31,7 +31,7 @@ RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR}
-USES= cmake compiler:c++17-lang python:3.4+ qt:5 shebangfix
+USES= cmake compiler:c++17-lang gl python:3.4+ qt:5 sdl shebangfix
SHEBANG_FILES= configure run.py buildsystem/cythonize.py
USE_GITHUB= yes
GH_ACCOUNT= SFTtech
diff --git a/games/opencity/Makefile b/games/opencity/Makefile
index a205c4614c2a..9e5b0f38cbdc 100644
--- a/games/opencity/Makefile
+++ b/games/opencity/Makefile
@@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png
GNU_CONFIGURE= yes
-USES= compiler:c11 gmake pkgconfig tar:bzip2
+USES= compiler:c11 gl gmake pkgconfig sdl tar:bzip2
USE_SDL= sdl mixer image net
USE_GL= gl glu
INSTALL_TARGET= install-strip
diff --git a/games/openclonk/Makefile b/games/openclonk/Makefile
index dfead4c97802..76160cb9102b 100644
--- a/games/openclonk/Makefile
+++ b/games/openclonk/Makefile
@@ -28,7 +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 jpeg openal pkgconfig tar:bzip2
+USES= compiler:c++14-lang cmake:noninja desktop-file-utils gl jpeg \
+ openal pkgconfig sdl tar:bzip2 xorg
USE_GL= gl glew glu
USE_SDL= sdl2
USE_XORG= x11 xpm
diff --git a/games/openjk/Makefile b/games/openjk/Makefile
index fb53059d1f96..0c803c5b823e 100644
--- a/games/openjk/Makefile
+++ b/games/openjk/Makefile
@@ -12,7 +12,7 @@ LICENSE= GPLv2
LIB_DEPENDS= libpng.so:graphics/png
-USES= compiler:c++11-lang cmake gl jpeg localbase sdl
+USES= compiler:c++11-lang cmake gl jpeg localbase sdl xorg
USE_GL= gl glu
USE_GITHUB= yes
GH_ACCOUNT= JACoders
diff --git a/games/openssn/Makefile b/games/openssn/Makefile
index c9790b4371bd..a53bbc4ed977 100644
--- a/games/openssn/Makefile
+++ b/games/openssn/Makefile
@@ -13,6 +13,7 @@ COMMENT= Modern submarine simulator
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
+USES= sdl xorg
USE_SDL= sdl gfx image mixer
USE_XORG= x11 xau xdmcp xext xmu xpm xxf86vm
WRKSRC= ${WRKDIR}/${PORTNAME}
diff --git a/games/osgg/Makefile b/games/osgg/Makefile
index f4d4ee6cc05d..44272383d739 100644
--- a/games/osgg/Makefile
+++ b/games/osgg/Makefile
@@ -16,6 +16,7 @@ GH_ACCOUNT= DusteDdk
GH_PROJECT= Osgg
GH_TAGNAME= 32d9e02 # 1.0 + extra FreeBSD-related fixes
+USES= sdl xorg
USE_SDL= sdl image ttf mixer
USE_GL= gl
MAKE_ENV= DATADIR="${DATADIR}/"
diff --git a/games/phlipple/Makefile b/games/phlipple/Makefile
index bbf49d15f6fa..de158fa1076a 100644
--- a/games/phlipple/Makefile
+++ b/games/phlipple/Makefile
@@ -13,7 +13,7 @@ COMMENT= Flipping squares will never be the same
LIB_DEPENDS= libogg.so:audio/libogg \
libvorbis.so:audio/libvorbis
-USES= desktop-file-utils pkgconfig
+USES= desktop-file-utils gl pkgconfig sdl
USE_SDL= sdl mixer image
USE_GL= gl glew glu
GNU_CONFIGURE= yes
diff --git a/games/pinball/Makefile b/games/pinball/Makefile
index b09b463f862b..67a9b0afa399 100644
--- a/games/pinball/Makefile
+++ b/games/pinball/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS= libltdl.so:devel/libltdl
USE_GITHUB= yes
GH_ACCOUNT= sergiomb2
-USES= autoreconf gl gettext gmake localbase:ldflags libtool:keepla # .la needed for plugin loading
+USES= autoreconf gl gettext gmake localbase:ldflags libtool:keepla sdl xorg # .la needed for plugin loading
USES+= sdl
USE_XORG= ice sm
USE_GL= gl glu
diff --git a/games/pink-pony/Makefile b/games/pink-pony/Makefile
index 254e8946a871..6f9c2617fbab 100644
--- a/games/pink-pony/Makefile
+++ b/games/pink-pony/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= libIL.so:graphics/devil \
USE_GITHUB= yes
GH_ACCOUNT= ginkgo
-USES= pkgconfig scons compiler:c++11-lang
+USES= pkgconfig scons compiler:c++11-lang gl sdl
USE_CXXSTD= c++11
USE_GL= gl glu
USE_SDL= mixer
diff --git a/games/pipewalker/Makefile b/games/pipewalker/Makefile
index da52f69707f7..b4fbe5acf847 100644
--- a/games/pipewalker/Makefile
+++ b/games/pipewalker/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png
-USES= desktop-file-utils localbase
+USES= desktop-file-utils gl localbase sdl
GNU_CONFIGURE= yes
USE_SDL= sdl
USE_GL= gl glu
diff --git a/games/pmars/Makefile b/games/pmars/Makefile
index 8f05921c3db4..004c840e7713 100644
--- a/games/pmars/Makefile
+++ b/games/pmars/Makefile
@@ -50,6 +50,7 @@ SERVER_ARGS+= CFLAGS+="-DSERVER"
.endif
.if ${PORT_OPTIONS:MX11}
+USES+= xorg
USE_XORG= x11
TARGETS+= x11
X11_ARGS+= CFLAGS+="-DXWINGRAPHX" \
diff --git a/games/pouetchess/Makefile b/games/pouetchess/Makefile
index 2c5cc6e49b71..d21198882f2e 100644
--- a/games/pouetchess/Makefile
+++ b/games/pouetchess/Makefile
@@ -12,7 +12,7 @@ COMMENT= Open-source 3D chess game
LICENSE= GPLv2 # from sourceforge page
-USES= compiler dos2unix gmake
+USES= compiler dos2unix gl gmake sdl
USE_SDL= sdl image
USE_GL= gl glu
DOS2UNIX_GLOB= *.cpp *.h Makefile config.ini
diff --git a/games/powermanga/Makefile b/games/powermanga/Makefile
index 9fe594e5eb60..91a1d57de568 100644
--- a/games/powermanga/Makefile
+++ b/games/powermanga/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png
-USES= autoreconf localbase tar:tgz
+USES= autoreconf localbase sdl tar:tgz xorg
USE_XORG= xext xxf86dga
USE_SDL= sdl mixer
GNU_CONFIGURE= yes
diff --git a/games/py-fife/Makefile b/games/py-fife/Makefile
index 2de5bf48c50d..68b20f2f1f1c 100644
--- a/games/py-fife/Makefile
+++ b/games/py-fife/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libvorbisfile.so:audio/libvorbis \
libboost_filesystem.so:devel/boost-libs \
libpng.so:graphics/png
-USES= cmake compiler:c++11-lang gl openal:al pkgconfig sdl
+USES= cmake compiler:c++11-lang gl openal:al pkgconfig sdl xorg
USE_GL= gl
USE_SDL= sdl2 ttf2 image2
USE_XORG= xcursor
diff --git a/games/q2p/Makefile b/games/q2p/Makefile
index f1e95b96ff80..04548c4e757b 100644
--- a/games/q2p/Makefile
+++ b/games/q2p/Makefile
@@ -11,7 +11,7 @@ DISTNAME= Q2P-0.2-2006-12-31
MAINTAINER= danfe@FreeBSD.org
COMMENT= Enhanced OpenGL-only Quake II engine
-USES= gmake tar:bzip2
+USES= gmake tar:bzip2 xorg
USE_XORG= xxf86dga xext xxf86vm x11
ALL_TARGET= release
@@ -37,11 +37,12 @@ SDLGL_DESC= Build SDL OpenGL renderer
.if ${PORT_OPTIONS:MGLX} || ${PORT_OPTIONS:MSDLGL}
LIB_DEPENDS+= libpng.so:graphics/png
-USES+= jpeg
+USES+= gl jpeg
USE_GL= glu
.endif
.if ${PORT_OPTIONS:MSDL} || ${PORT_OPTIONS:MSDLGL}
+USES+= sdl
USE_SDL= sdl
.endif
diff --git a/games/q2pro/Makefile b/games/q2pro/Makefile
index a71089e383f1..0dc4aef91cfd 100644
--- a/games/q2pro/Makefile
+++ b/games/q2pro/Makefile
@@ -39,6 +39,7 @@ UI_DESC= Build user interface (for client menus)
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCLIENT}
+USES+= sdl
USE_SDL+= sdl
ALL_TARGET+= client
PLIST_SUB+= CLIENT=""
@@ -62,7 +63,7 @@ PLIST_SUB+= GAME="@comment "
.if ${PORT_OPTIONS:MGL}
LIB_DEPENDS+= libpng.so:graphics/png
-USES+= jpeg
+USES+= gl jpeg
USE_GL= gl
ALL_TARGET+= ref_newgl
PLIST_SUB+= GL=""
diff --git a/games/q3cellshading/Makefile b/games/q3cellshading/Makefile
index 5af9d0fe8f05..20995ed60b9a 100644
--- a/games/q3cellshading/Makefile
+++ b/games/q3cellshading/Makefile
@@ -53,7 +53,8 @@ MAKE_ENV+= DLL_ONLY=true
.endif
.if ${PORT_OPTIONS:MCLIENT} || ${PORT_OPTIONS:MSMP_CLIENT}
-USE_GL= yes
+USES+= gl xorg
+USE_GL= glu
USE_XORG= xxf86dga
.endif
diff --git a/games/quadra/Makefile b/games/quadra/Makefile
index e09952fb04ac..934d31c66a99 100644
--- a/games/quadra/Makefile
+++ b/games/quadra/Makefile
@@ -14,7 +14,7 @@ COMMENT= Tetris like game with multiplayer support
LIB_DEPENDS= libpng.so:graphics/png
-USES= autoreconf gmake localbase tar:bzip2
+USES= autoreconf gmake localbase sdl tar:bzip2 xorg
USE_SDL= sdl
USE_XORG= x11 xau xdmcp
GNU_CONFIGURE= yes
diff --git a/games/quadrapassel/Makefile b/games/quadrapassel/Makefile
index 014501e895fe..4385821bc2a8 100644
--- a/games/quadrapassel/Makefile
+++ b/games/quadrapassel/Makefile
@@ -26,8 +26,8 @@ LIB_DEPENDS= libclutter-1.0.so:graphics/clutter \
PORTSCOUT= limitw:1,even
-USES= gettext gmake gnome localbase pathfix \
- pkgconfig tar:xz
+USES= gettext gl gmake gnome localbase pathfix \
+ pkgconfig tar:xz xorg
USE_GNOME= cairo gtk30 intlhack librsvg2 libxml2:build
INSTALLS_ICONS= yes
USE_GL= gl egl
diff --git a/games/quake2lnx/Makefile b/games/quake2lnx/Makefile
index 37f065136b9a..86c956831ce8 100644
--- a/games/quake2lnx/Makefile
+++ b/games/quake2lnx/Makefile
@@ -52,6 +52,7 @@ REDBLUE_DESC= Enable 3D glasses rendering
# ###
.if ${PORT_OPTIONS:MX11}
+USES+= xorg
USE_XORG= x11 xext xxf86dga xxf86vm
MAKE_ARGS+= BUILD_X11=YES
REF_TARGETS+= softx
@@ -61,6 +62,7 @@ PLIST_SUB+= X11="@comment "
.endif
.if ${PORT_OPTIONS:MGLX} || ${PORT_OPTIONS:MEYECANDY}
+USES+= gl xorg
USE_GL= gl
USE_XORG= x11 xext xxf86dga xxf86vm
MAKE_ARGS+= BUILD_GLX=YES
@@ -72,7 +74,7 @@ PLIST_SUB+= GLX="@comment "
.if ${PORT_OPTIONS:MEYECANDY}
DISTFILES+= maxpak.pak
-USES+= jpeg
+USES+= gl jpeg
USE_GL= glu
MAKE_ARGS+= BUILD_QMAX=YES
PLIST_SUB+= QMAX=""
@@ -81,6 +83,7 @@ PLIST_SUB+= QMAX="@comment "
.endif
.if ${PORT_OPTIONS:MSOFTSDL}
+USES+= sdl
USE_SDL= sdl
MAKE_ARGS+= BUILD_SDL=YES
REF_TARGETS+= softsdl
@@ -90,6 +93,7 @@ PLIST_SUB+= SOFTSDL="@comment "
.endif
.if ${PORT_OPTIONS:MSDLGL}
+USES+= sdl
USE_SDL= sdl
MAKE_ARGS+= BUILD_SDLGL=YES
REF_TARGETS+= sdlgl
@@ -99,6 +103,7 @@ PLIST_SUB+= SDLGL="@comment "
.endif
.if ${PORT_OPTIONS:MSDLCLIENT}
+USES+= sdl
USE_SDL= sdl
MAKE_ARGS+= BUILD_SDLQUAKE2=YES
EXE_TARGETS+= quake2-sdl
diff --git a/games/quake2max/Makefile b/games/quake2max/Makefile
index cd03d7db6695..e16568a682a5 100644
--- a/games/quake2max/Makefile
+++ b/games/quake2max/Makefile
@@ -19,7 +19,7 @@ LICENSE_FILE= ${WRKSRC}/gnu.txt
EXTRACT_DEPENDS= unrar:archivers/unrar
-USES= gmake tar:bzip2
+USES= gmake tar:bzip2 xorg
USE_XORG= x11 xext xxf86vm xxf86dga
ALL_TARGET= release
WRKSRC= ${WRKDIR}/${DISTNAME:S/quake2max/Quake2maX/}
@@ -44,11 +44,12 @@ SDLGL_DESC= Build SDL OpenGL renderer
.if ${PORT_OPTIONS:MGLX} || ${PORT_OPTIONS:MSDLGL}
LIB_DEPENDS= libpng.so:graphics/png
-USES+= jpeg
+USES+= gl jpeg
USE_GL= glu
.endif
.if ${PORT_OPTIONS:MSDLCLIENT} || ${PORT_OPTIONS:MSDLGL}
+USES+= sdl
USE_SDL= sdl
.endif
diff --git a/games/quake3/Makefile b/games/quake3/Makefile
index 0544245aacef..5887925aba15 100644
--- a/games/quake3/Makefile
+++ b/games/quake3/Makefile
@@ -55,7 +55,8 @@ MAKE_ENV+= DLL_ONLY=true
.endif
.if ${PORT_OPTIONS:MCLIENT} || ${PORT_OPTIONS:MTHREADS}
-USE_GL= yes
+USES+= gl xorg
+USE_GL= glu
USE_XORG= xxf86dga
.endif
diff --git a/games/qudos/Makefile b/games/qudos/Makefile
index 8c7e196049c7..f8459f8258ff 100644
--- a/games/qudos/Makefile
+++ b/games/qudos/Makefile
@@ -63,12 +63,13 @@ PLIST_SUB+= ${mod}="@comment "
.endfor
.if ${PORT_OPTIONS:MGLX} || ${PORT_OPTIONS:MSDLGL}
-USES+= jpeg
+USES+= gl jpeg
USE_GL= glu
LIB_DEPENDS+= libpng.so:graphics/png
.endif
.if ${PORT_OPTIONS:MSDL} || ${PORT_OPTIONS:MSDLGL}
+USES+= sdl
USE_SDL= sdl
.endif
diff --git a/games/quetoo/Makefile b/games/quetoo/Makefile
index 8ba89b304bd6..1824136c7cf3 100644
--- a/games/quetoo/Makefile
+++ b/games/quetoo/Makefile
@@ -13,9 +13,9 @@ COMMENT= Fast, stable, compatible, and secure Quake II client
LICENSE= GPLv2
-USE_SDL= sdl
+USES= dos2unix gl sdl tar:bzip2
USE_GL= glut
-USES= dos2unix tar:bzip2
+USE_SDL= sdl
DOS2UNIX_FILES= src/vanctf/g_local.h
GNU_CONFIGURE= yes
diff --git a/games/r1q2/Makefile b/games/r1q2/Makefile
index eb27fb7373c7..27f537a39bea 100644
--- a/games/r1q2/Makefile
+++ b/games/r1q2/Makefile
@@ -58,7 +58,7 @@ PLIST_SUB+= GAME="@comment "
.endif
.if ${PORT_OPTIONS:MREF_GL}
-USES+= jpeg
+USES+= gl jpeg sdl
USE_GL= gl
USE_SDL= sdl
LIB_DEPENDS+= libpng.so:graphics/png
diff --git a/games/renpy/Makefile b/games/renpy/Makefile
index 70790c613ba5..074ae5b4966b 100644
--- a/games/renpy/Makefile
+++ b/games/renpy/Makefile
@@ -28,7 +28,7 @@ CONFLICTS_INSTALL?= ${PORTNAME}6-*
# Upstream tends to reroll distfiles before moving under /release/
PORTSCOUT?= site:http://www.renpy.org/dl/release/
-USES= python:2.7 shebangfix tar:bz2
+USES= gl python:2.7 sdl shebangfix tar:bz2
USE_GL= glew
USE_PYTHON= autoplist distutils cython
USE_SDL?= sdl2
diff --git a/games/retroarch/Makefile b/games/retroarch/Makefile
index 4673b301cb6c..e80584dbcdc2 100644
--- a/games/retroarch/Makefile
+++ b/games/retroarch/Makefile
@@ -36,9 +36,11 @@ PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
PULSEAUDIO_CONFIGURE_ENABLE= pulse
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
ALSA_CONFIGURE_ENABLE= alsa
+SDL_USES= sdl
SDL_USE= SDL=sdl2 image2
SDL_CONFIGURE_ON= --disable-sdl --enable-sdl2
SDL_CONFIGURE_OFF= --disable-sdl --disable-sdl2
+OPENGL_USES= gl
OPENGL_USE= GL=gl,egl,gbm
OPENGL_CONFIGURE_ENABLE=opengl
OPENAL_USES= openal:soft
@@ -58,7 +60,7 @@ LDFLAGS+= -pthread
CONFIGURE_ARGS+=--enable-threads
CONFIGURE_ENV+= MAN_DIR=${MANPREFIX}/man
-USES= compiler:c++11-lib gmake pkgconfig shebangfix
+USES= compiler:c++11-lib gmake pkgconfig shebangfix xorg
USE_GITHUB= yes
GH_ACCOUNT= libretro
SUB_FILES= pkg-message
diff --git a/games/rlvm/Makefile b/games/rlvm/Makefile
index e726fd18b5e4..bbb4636a7a6c 100644
--- a/games/rlvm/Makefile
+++ b/games/rlvm/Makefile
@@ -27,7 +27,7 @@ RUN_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu
USE_GITHUB= yes
GH_ACCOUNT= eglaysher
-USES= compiler:c++11-lib pkgconfig scons
+USES= compiler:c++11-lib gl gnome pkgconfig scons sdl
USE_GL= glew glu
USE_GNOME= gtk20
USE_SDL= image mixer ttf
diff --git a/games/rubix/Makefile b/games/rubix/Makefile
index 3e0061ec3c37..d0070becbe18 100644
--- a/games/rubix/Makefile
+++ b/games/rubix/Makefile
@@ -11,7 +11,7 @@ MASTER_SITES= http://sed.free.fr/rubix/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Another Rubik's cube game with a rather interesting interface
-USES= compiler:nestedfct gmake tar:bzip2
+USES= compiler:nestedfct gmake tar:bzip2 xorg
USE_XORG= x11
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -DENGLISH" \
XINC="-I${LOCALBASE}/include" XLIB="-L${LOCALBASE}/lib -lX11"
diff --git a/games/sarien/Makefile b/games/sarien/Makefile
index d80df013917a..24720c581cac 100644
--- a/games/sarien/Makefile
+++ b/games/sarien/Makefile
@@ -14,7 +14,7 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/doc/COPYING
GNU_CONFIGURE= yes
-USES= gmake
+USES= gmake xorg
USE_XORG= x11
MAKE_JOBS_UNSAFE= yes
diff --git a/games/scorched3d/Makefile b/games/scorched3d/Makefile
index 77167c1c7288..bc1d1a1dfd4b 100644
--- a/games/scorched3d/Makefile
+++ b/games/scorched3d/Makefile
@@ -23,8 +23,8 @@ OPTIONS_DEFINE= MYSQL
WRKSRC= ${WRKDIR}/scorched
-USES= autoreconf compiler:c++11-lang dos2unix gmake iconv jpeg \
- openal:al,alut perl5 pkgconfig
+USES= autoreconf compiler:c++11-lang dos2unix gl gmake iconv jpeg \
+ openal:al,alut perl5 pkgconfig sdl
USE_GL= glew glu
USE_SDL= mixer net sdl
USE_WX= 2.8
diff --git a/games/scourge/Makefile b/games/scourge/Makefile
index cadcd16aeed2..6f579d2b6eeb 100644
--- a/games/scourge/Makefile
+++ b/games/scourge/Makefile
@@ -15,7 +15,7 @@ COMMENT= Rogue-like game
LIB_DEPENDS= libfreetype.so:print/freetype2
RUN_DEPENDS= ${LOCALBASE}/${DATADIR_REL}/config/scourge.cfg:games/scourge-data
-USES= autoreconf compiler gettext gmake localbase
+USES= autoreconf compiler gettext gl gmake localbase sdl
GNU_CONFIGURE= yes
USE_GL= gl
USE_SDL= sdl image mixer net ttf
diff --git a/games/sdb/Makefile b/games/sdb/Makefile
index 433781f8b584..cbc21ef99496 100644
--- a/games/sdb/Makefile
+++ b/games/sdb/Makefile
@@ -16,7 +16,7 @@ COMMENT= Futuristic overhead shooter
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= gmake
+USES= gl gmake sdl
USE_SDL= mixer image sdl
USE_GL= gl glu
diff --git a/games/sea-defender/Makefile b/games/sea-defender/Makefile
index 4b554f18a69f..d4cf1107d031 100644
--- a/games/sea-defender/Makefile
+++ b/games/sea-defender/Makefile
@@ -23,7 +23,7 @@ GH_ACCOUNT= snoutmate
GH_PROJECT= Sea-Defender
GH_TAGNAME= d628051
-USES= gmake
+USES= gl gmake sdl xorg
USE_SDL= sdl mixer image ttf
USE_GL= gl glu
USE_XORG= x11 xrandr
diff --git a/games/seahaven/Makefile b/games/seahaven/Makefile
index 2df5713683de..e2dbedd138d6 100644
--- a/games/seahaven/Makefile
+++ b/games/seahaven/Makefile
@@ -12,6 +12,7 @@ MAINTAINER= imp@FreeBSD.org
COMMENT= The classic, lightweight version of Seahaven Towers
GNU_CONFIGURE= yes
+USES= xorg
USE_XORG= x11 xext xft
PLIST_FILES= bin/seahaven man/man6/seahaven.6.gz
MAKE_ARGS= bindir=${STAGEDIR}${PREFIX}/bin mandir=${STAGEDIR}${PREFIX}/man
diff --git a/games/searchandrescue/Makefile b/games/searchandrescue/Makefile
index e37c0c3db988..200eb2efafe8 100644
--- a/games/searchandrescue/Makefile
+++ b/games/searchandrescue/Makefile
@@ -15,9 +15,10 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${LOCALBASE}/share/searchandrescue/human.ini:games/searchandrescue-data
+USES= gl sdl xorg
+USE_GL= gl glu
USE_SDL= mixer
USE_XORG= ice sm x11 xau xdmcp xext xmu xpm xxf86vm
-USE_GL= gl glu
WRKSRC= ${WRKDIR}/${PORTNAME:tl}_${PORTVERSION}
PLIST_FILES= bin/${PORTNAME} \
diff --git a/games/shaaft/Makefile b/games/shaaft/Makefile
index ae4731ff640b..3ade252e3a6f 100644
--- a/games/shaaft/Makefile
+++ b/games/shaaft/Makefile
@@ -15,7 +15,7 @@ LIB_DEPENDS= libpng.so:graphics/png
CONFLICTS= criticalmass-*
-USES= tar:bzip2
+USES= gl sdl tar:bzip2
USE_SDL= mixer image sdl
USE_GL= gl
USE_GCC= any
diff --git a/games/shootingstar/Makefile b/games/shootingstar/Makefile
index ce6ec0a02c27..474b3e09a276 100644
--- a/games/shootingstar/Makefile
+++ b/games/shootingstar/Makefile
@@ -12,7 +12,7 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= SDL/OpenGL top-down shooter
GNU_CONFIGURE= yes
-USES= gmake
+USES= gl gmake sdl
USE_GL= gl
USE_SDL= sdl mixer image
diff --git a/games/simplevaders/Makefile b/games/simplevaders/Makefile
index f0d60c831466..f83cfc7f9585 100644
--- a/games/simplevaders/Makefile
+++ b/games/simplevaders/Makefile
@@ -13,7 +13,7 @@ COMMENT= Space-Invaders like 2D space shooter
LICENSE= GPLv3+
-USES= localbase:ldflags tar:bzip2
+USES= gl localbase:ldflags sdl tar:bzip2
USE_SDL= sdl mixer image ttf
USE_GL= gl glu
diff --git a/games/slune/Makefile b/games/slune/Makefile
index 9fb569d34711..24c31c5a9696 100644
--- a/games/slune/Makefile
+++ b/games/slune/Makefile
@@ -18,7 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openal>0:audio/py-openal@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}soya3d>0:graphics/py-soya3d@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}py2play>0:net-p2p/py-py2play@${PY_FLAVOR}
-USES= dos2unix gettext python:2.7
+USES= dos2unix gettext gl python:2.7 sdl
DOS2UNIX_GLOB= *.po *.mo
USE_GL= glew
diff --git a/games/sol/Makefile b/games/sol/Makefile
index 9aeb30c0ff85..747d6b437521 100644
--- a/games/sol/Makefile
+++ b/games/sol/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= libXaw.so:x11-toolkits/libXaw \
CONFLICTS= gnome-games-*
-USES= gmake
+USES= gmake xorg
USE_XORG= ice sm x11 xext xmu xpm xt
OPTIONS_DEFINE= DOCS
diff --git a/games/solarconquest/Makefile b/games/solarconquest/Makefile
index 9f100e65d801..0488297d741e 100644
--- a/games/solarconquest/Makefile
+++ b/games/solarconquest/Makefile
@@ -13,7 +13,7 @@ DISTNAME= SolarConquest
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Space 2D action game with plenty of shooting
-USES= dos2unix
+USES= gl dos2unix sdl
USE_SDL= sdl mixer image
USE_GL= yes
DOS2UNIX_FILES= makefile source/MenuScreen.h source/main.cpp
diff --git a/games/spacezero/Makefile b/games/spacezero/Makefile
index 4bb560ff8f1a..6a42f83821d5 100644
--- a/games/spacezero/Makefile
+++ b/games/spacezero/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libvorbisfile.so:audio/libvorbis
-USES= openal:al,alut pkgconfig
+USES= openal:al,alut gnome pkgconfig xorg
USE_GNOME= gtk20
USE_XORG= x11
LLD_UNSAFE= yes
diff --git a/games/spellcast/Makefile b/games/spellcast/Makefile
index 5784853ca46b..d1c0b877250d 100644
--- a/games/spellcast/Makefile
+++ b/games/spellcast/Makefile
@@ -12,6 +12,7 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= Multiplayer fight with spells turn based game for X Window System
+USES= xorg
USE_XORG= x11
PLIST_FILES= bin/spellcast man/man6/spellcast.6.gz
PORTDOCS= README spelllist.ps
diff --git a/games/spider/Makefile b/games/spider/Makefile
index bf6016270d44..a05bc6417bf6 100644
--- a/games/spider/Makefile
+++ b/games/spider/Makefile
@@ -11,7 +11,7 @@ DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Challenging double decked solitaire game
-USES= imake tar:Z
+USES= imake tar:Z xorg
USE_XORG= x11 xext xaw xmu xt sm ice xpm
INSTALL_TARGET= install install.doc
CFLAGS+= -Wno-error=return-type
diff --git a/games/spring/Makefile b/games/spring/Makefile
index 9cc6b45623c5..b412b305159b 100644
--- a/games/spring/Makefile
+++ b/games/spring/Makefile
@@ -33,7 +33,8 @@ USE_LDCONFIG= yes
LLD_UNSAFE= yes
DOS2UNIX_GLOB= *.h *.hpp *.cpp
-USES= cmake:insource compiler:c++11-lib dos2unix openal:al tar:lzma
+USES= cmake:insource compiler:c++11-lib dos2unix gl openal:al sdl \
+ tar:lzma xorg
USES+= desktop-file-utils shared-mime-info
CMAKE_ARGS= -DDATADIR:STRING="share/${PORTNAME}" \
-DAI_TYPES:STRING="NATIVE" \
diff --git a/games/steelstorm/Makefile b/games/steelstorm/Makefile
index 17a9bdaa3d16..921099c1b04d 100644
--- a/games/steelstorm/Makefile
+++ b/games/steelstorm/Makefile
@@ -19,6 +19,7 @@ LICENSE_PERMS_EULA= # none
LICENSE_FILE_EULA= ${WRKSRC}/license.txt
MANUAL_PACKAGE_BUILD= needs interactive license confirmation
+USES= gl
USE_GL= gl
WRKSRC= ${WRKDIR}/${PORTNAME}
@@ -40,6 +41,7 @@ CLIENT_DESC= Build client
DEDICATED_DESC= Dedicated server
CLIENT_ALL_TARGET= cl-release
+CLIENT_USES= xorg
CLIENT_USE= XORG=x11,xext,xpm,xxf86dga,xxf86vm
CLIENT_PLIST_FILES= bin/${PORTNAME}
diff --git a/games/supertux/Makefile b/games/supertux/Makefile
index 9dfa6fb9214c..a3768aefbe0f 100644
--- a/games/supertux/Makefile
+++ b/games/supertux/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= https://github.com/SuperTux/downloads/raw/master/
MAINTAINER= ports@FreeBSD.org
COMMENT= Side-scroller game similar to Super Mario Brothers
-USES= gmake tar:bzip2
+USES= gl gmake sdl tar:bzip2
USE_SDL= image mixer
USE_GL= gl
GNU_CONFIGURE= yes
diff --git a/games/sxsame/Makefile b/games/sxsame/Makefile
index 303fe6033bb5..578f8c15a4a6 100644
--- a/games/sxsame/Makefile
+++ b/games/sxsame/Makefile
@@ -17,7 +17,7 @@ MASTER_SITE_SUBDIR= VinePlus/1.1/JG-0.9.1/sources
MAINTAINER= ports@FreeBSD.org
COMMENT= Tile-removing puzzle game for the X Window system
-USES= imake
+USES= imake xorg
USE_XORG= xpm
INSTALL_TARGET= install install.dir
diff --git a/games/tanglet/Makefile b/games/tanglet/Makefile
index ce8ccab513e7..f8f91a8c059c 100644
--- a/games/tanglet/Makefile
+++ b/games/tanglet/Makefile
@@ -14,7 +14,7 @@ COMMENT= Single player word finding game based on Boggle
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= compiler:c++11-lib desktop-file-utils pkgconfig qmake \
+USES= compiler:c++11-lib desktop-file-utils gl pkgconfig qmake \
qt:5 shared-mime-info tar:bzip2
USE_GL= gl
USE_QT= buildtools_build linguisttools_build core gui widgets
diff --git a/games/tenebrae/Makefile b/games/tenebrae/Makefile
index e80b51418988..c549adc22b19 100644
--- a/games/tenebrae/Makefile
+++ b/games/tenebrae/Makefile
@@ -14,7 +14,7 @@ COMMENT= Quake engine with lighting similar to that in Doom III
LIB_DEPENDS= libpng.so:graphics/png
-USES= gl gmake dos2unix zip
+USES= gl gmake dos2unix sdl xorg zip
USE_GL= gl glu
USE_SDL= sdl
USE_XORG= x11 xext xxf86vm xxf86dga
diff --git a/games/tetrons/Makefile b/games/tetrons/Makefile
index 8d60ba6fdc38..6fe06316c11a 100644
--- a/games/tetrons/Makefile
+++ b/games/tetrons/Makefile
@@ -11,6 +11,7 @@ COMMENT= Tetris(TM) clone for X11
MAKE_ENV= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
X11BASE=${LOCALBASE}
+USES= xorg
USE_XORG= x11 xext xi
PLIST_FILES= bin/tetrons
diff --git a/games/thegrind/Makefile b/games/thegrind/Makefile
index 0d3be7fab9b8..64152c662086 100644
--- a/games/thegrind/Makefile
+++ b/games/thegrind/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= liblua-5.1.so:lang/lua51 \
libphysfs.so.1:devel/physfs
RUN_DEPENDS= zip:archivers/zip
-USES= pkgconfig
+USES= gl pkgconfig sdl
USE_SDL= sdl sound
USE_GL= glu
GNU_CONFIGURE= yes
diff --git a/games/tomatoes/Makefile b/games/tomatoes/Makefile
index 1b957e4215e3..39189256ee71 100644
--- a/games/tomatoes/Makefile
+++ b/games/tomatoes/Makefile
@@ -17,7 +17,7 @@ LICENSE= ZLIB
DATAVERSION= 1.5
DATA_WRKSRC= ${WRKDIR}/tomatoes-${DATAVERSION}
-USES= tar:bzip2 gmake
+USES= gl gmake sdl tar:bzip2
USE_SDL= mixer image
USE_GL= gl glu
MAKEFILE= makefile
diff --git a/games/torcs/Makefile b/games/torcs/Makefile
index c10740ffb3e1..4ca54db4c6ae 100644
--- a/games/torcs/Makefile
+++ b/games/torcs/Makefile
@@ -20,7 +20,7 @@ RUN_DEPENDS= bash:shells/bash
MAKE_JOBS_UNSAFE= yes
USES= compiler:c++11-lang cpe gl gmake openal:al,alut shebangfix \
- tar:bzip2
+ tar:bzip2 xorg
CPE_VENDOR= bernhard_wymann
SHEBANG_FILES= src/tools/accc/accc.in src/tools/nfsperf/nfsperf.in \
src/tools/texmapper/texmapper.in src/tools/nfs2ac/nfs2ac.in \
diff --git a/games/traingame/Makefile b/games/traingame/Makefile
index fb1f745698d0..e6c5e5842bad 100644
--- a/games/traingame/Makefile
+++ b/games/traingame/Makefile
@@ -20,7 +20,7 @@ USE_GITHUB= yes
GH_ACCOUNT= nickg
GH_TAGNAME= cb6513e
-USES= cmake:insource compiler:c++11-lib dos2unix pkgconfig
+USES= cmake:insource compiler:c++11-lib dos2unix gl pkgconfig sdl
DOS2UNIX_GLOB= *.mtl *.obj
USE_CXXSTD= c++11
USE_SDL= sdl image
diff --git a/games/tremulous/Makefile b/games/tremulous/Makefile
index 64161e63c12f..55f32a9e0c96 100644
--- a/games/tremulous/Makefile
+++ b/games/tremulous/Makefile
@@ -59,13 +59,16 @@ MAKE_ENV+= USE_OPENAL_DLOPEN=1
. endif
# SDL
. if ${PORT_OPTIONS:MSDL_AUDIO}
+USES+= sdl
USE_SDL= sdl
MAKE_ENV+= USE_SDL_AUDIO=1
. endif
. if ${PORT_OPTIONS:MSDL_VIDEO}
+USES+= sdl
USE_SDL= sdl
MAKE_ENV+= USE_SDL_VIDEO=1
. else
+USES+= gl xorg
USE_GL= gl
USE_XORG= x11 xxf86dga
. endif
diff --git a/games/trenchbroom/Makefile b/games/trenchbroom/Makefile
index 68d6a4e9cb72..dbadfd9d1066 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 pkgconfig
+USES= cmake:insource compiler:c++11-lib gl pkgconfig
USE_GL= glew
USE_WX= 3.0+
CMAKE_ARGS= -DAPP_BUILD_CHANNEL:STRING="Beta for ${OPSYS}/${ARCH}"
diff --git a/games/tux-aqfh/Makefile b/games/tux-aqfh/Makefile
index 99dbc83614c2..d301e62e642a 100644
--- a/games/tux-aqfh/Makefile
+++ b/games/tux-aqfh/Makefile
@@ -19,7 +19,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib
-USES= gmake
+USES= gl gmake
USE_GL= glut
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-plib=${LOCALBASE}
diff --git a/games/tuxkart/Makefile b/games/tuxkart/Makefile
index bbc89ea7ed9d..958f3fd2880c 100644
--- a/games/tuxkart/Makefile
+++ b/games/tuxkart/Makefile
@@ -19,7 +19,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib
-USES= gmake
+USES= gl gmake
USE_GL= gl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-plib=${LOCALBASE}
diff --git a/games/tuxracer/Makefile b/games/tuxracer/Makefile
index 52c32a04784d..396cf2ca3f38 100644
--- a/games/tuxracer/Makefile
+++ b/games/tuxracer/Makefile
@@ -16,10 +16,10 @@ COMMENT= 3D penguin racing game using OpenGL
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
+USES= gl gmake sdl tk xorg
USE_SDL= mixer sdl
USE_GL= gl
USE_XORG= x11 xt xmu xi
-USES= gmake tk
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-tcl-inc="${TCL_INCLUDEDIR}" \
--with-tcl-libs="${LOCALBASE}/lib" \
diff --git a/games/ufoai/Makefile b/games/ufoai/Makefile
index b67eeca16cc1..8a676c1cd7ff 100644
--- a/games/ufoai/Makefile
+++ b/games/ufoai/Makefile
@@ -25,11 +25,11 @@ BUILD_DEPENDS= zip:archivers/zip
RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/base/default.cfg:games/ufoai-data
ALL_TARGET= all lang
+USES= compiler:c++11-lang gettext gl gmake jpeg openal:soft \
+ pkgconfig python:build sdl tar:bzip2
USE_GL= yes
USE_SDL= sdl image mixer ttf
USE_CXXSTD= c++11
-USES= compiler:c++11-lang gettext gmake jpeg openal:soft pkgconfig \
- python:build tar:bzip2
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-release --target-os=freebsd
LDFLAGS+= -lpthread -lexecinfo
@@ -70,6 +70,7 @@ PLIST_SUB+= UFO2MAP="@comment "
.if ${PORT_OPTIONS:MUFORADIANT}
ALL_TARGET+= uforadiant
CONFIGURE_ARGS+=--enable-uforadiant
+USES+= gnome
USE_GNOME+= gtk20 glib20 gtksourceview2 libxml2
LIB_DEPENDS+= libgtkglext-x11-1.0.so:x11-toolkits/gtkglext
RADIANT_FILES= colours.xml game.xml input.xml mapdef.template menu.xml user.xml
diff --git a/games/uhexen2/Makefile b/games/uhexen2/Makefile
index 967caa3edc1d..b7e0e92f1b4a 100644
--- a/games/uhexen2/Makefile
+++ b/games/uhexen2/Makefile
@@ -19,7 +19,7 @@ COMMENT= Hexen II source port supporting Linux/FreeBSD/Unix/Windows
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USES= gmake pkgconfig tar:tgz
+USES= gl gmake pkgconfig sdl tar:tgz
USE_GL= gl
USE_SDL= sdl
MAKE_ARGS= X11BASE="${LOCALBASE}"
diff --git a/games/ultimatestunts/Makefile b/games/ultimatestunts/Makefile
index 9d5b84c796ae..ccc60ea75b61 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 openal:al,alut pkgconfig
+USES= compiler gettext gl openal:al,alut pkgconfig sdl
USE_GL= gl glu
USE_SDL= sdl image
GNU_CONFIGURE= yes
diff --git a/games/valyriatear/Makefile b/games/valyriatear/Makefile
index 5cb848962678..237853a382c9 100644
--- a/games/valyriatear/Makefile
+++ b/games/valyriatear/Makefile
@@ -24,7 +24,7 @@ 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
+ 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 f0b895ecaf0c..a68980131971 100644
--- a/games/vamos/Makefile
+++ b/games/vamos/Makefile
@@ -19,7 +19,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \
libpng.so:graphics/png
-USES= compiler:c++11-lang libtool openal:al,alut pkgconfig
+USES= compiler:c++11-lang gl 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/vegastrike/Makefile b/games/vegastrike/Makefile
index 342024ff5368..05dc595e24be 100644
--- a/games/vegastrike/Makefile
+++ b/games/vegastrike/Makefile
@@ -26,7 +26,8 @@ LIB_DEPENDS= ${PY_BOOST} \
libfreetype.so:print/freetype2
USES= compiler:c++11-lang dos2unix gl gmake gnome jpeg \
- localbase:ldflags openal:al pkgconfig python:2.7 sdl tar:bzip2
+ localbase:ldflags openal:al pkgconfig python:2.7 sdl tar:bzip2 \
+ xorg
USE_CXXSTD= c++98
USE_SDL= sdl
USE_GL= gl glu glut
diff --git a/games/wargus/Makefile b/games/wargus/Makefile
index 45a3d43301e4..6eec4a5b4aeb 100644
--- a/games/wargus/Makefile
+++ b/games/wargus/Makefile
@@ -22,7 +22,7 @@ LIB_DEPENDS= libpng.so:graphics/png
USE_GITHUB= yes
GH_ACCOUNT= Wargus
-USES= cmake compiler:c++11-lang pkgconfig
+USES= cmake compiler:c++11-lang gnome pkgconfig xorg
CMAKE_ARGS= -DGAMEDIR:STRING="bin" \
-DSHAREDIR:STRING="${DATADIR_REL}"
USE_XORG= x11
diff --git a/games/warzone2100/Makefile b/games/warzone2100/Makefile
index 45b3b80b7846..832e8219c12e 100644
--- a/games/warzone2100/Makefile
+++ b/games/warzone2100/Makefile
@@ -25,7 +25,7 @@ LIB_DEPENDS= libphysfs.so:devel/physfs \
RUN_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu
USES= bison compiler:c++11-lib gl gmake localbase openal:al pkgconfig \
- qmake:no_env qt:5 sdl ssl tar:xz
+ qmake:no_env qt:5 sdl ssl tar:xz xorg
GNU_CONFIGURE= yes
USE_GL= gl glu glew
USE_SDL= sdl2
diff --git a/games/wesnoth/Makefile b/games/wesnoth/Makefile
index b21fc2e3a87b..4a7d59cd6993 100644
--- a/games/wesnoth/Makefile
+++ b/games/wesnoth/Makefile
@@ -26,8 +26,8 @@ LDFLAGS+= -L${LOCALBASE}/lib -lboost_system
PORTSCOUT= limitw:1,even
-USES= cmake compiler:c++11-lang cpe pkgconfig \
- python:2.7,run readline:port shebangfix ssl tar:bzip2
+USES= cmake compiler:c++11-lang cpe gnome pkgconfig \
+ python:2.7,run readline:port shebangfix ssl sdl tar:bzip2 xorg
USE_SDL= image2 mixer2 ttf2
USE_LDCONFIG= yes
USE_GNOME= cairo pango
diff --git a/games/wmqstat/Makefile b/games/wmqstat/Makefile
index a7510a863cf1..21cc0cf6edf0 100644
--- a/games/wmqstat/Makefile
+++ b/games/wmqstat/Makefile
@@ -14,6 +14,7 @@ LICENSE= GPLv2
RUN_DEPENDS= qstat:games/qstat
+USES= xorg
USE_XORG= xpm x11 xext
PLIST_FILES= bin/${PORTNAME}
diff --git a/games/wmtictactoe/Makefile b/games/wmtictactoe/Makefile
index 50ec6606ee2d..85b90ebd435e 100644
--- a/games/wmtictactoe/Makefile
+++ b/games/wmtictactoe/Makefile
@@ -14,8 +14,8 @@ LICENSE_FILE= ${WRKSRC}/../COPYING
WRKSRC= ${WRKDIR}/wmtictactoe.app/wmtictactoe
+USES= gmake xorg
USE_XORG= x11 xext xpm
-USES= gmake
PLIST_FILES= bin/wmtictactoe
diff --git a/games/worldofpadman/Makefile b/games/worldofpadman/Makefile
index 0fc32177ee46..01c01f53beee 100644
--- a/games/worldofpadman/Makefile
+++ b/games/worldofpadman/Makefile
@@ -73,6 +73,7 @@ MAKE_ENV+= USE_OPENAL_DLOPEN=1
. endif
. endif
# SDL
+USES+= gl sdl
USE_GL= glu
USE_SDL= sdl
# Vorbis
diff --git a/games/xasteroids/Makefile b/games/xasteroids/Makefile
index 7b1485f81eef..e1e39fd2f849 100644
--- a/games/xasteroids/Makefile
+++ b/games/xasteroids/Makefile
@@ -18,6 +18,7 @@ EXTRACT_AFTER_ARGS= # empty
NO_WRKSUBDIR= yes
+USES= xorg
USE_XORG= x11 xext
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/games/xataxx/Makefile b/games/xataxx/Makefile
index 85b56540bfc4..cd5596cc3d0d 100644
--- a/games/xataxx/Makefile
+++ b/games/xataxx/Makefile
@@ -13,7 +13,7 @@ COMMENT= Strategy game of position and movement for X Window System
OPTIONS_DEFINE= DOCS
-USES= imake tar:Z
+USES= imake tar:Z xorg
USE_XORG= x11 xext
post-install:
diff --git a/games/xbat/Makefile b/games/xbat/Makefile
index 46ca6a25e334..1a3f3e13b2a1 100644
--- a/games/xbat/Makefile
+++ b/games/xbat/Makefile
@@ -15,7 +15,7 @@ LICENSE= GPLv2
NO_CDROM= Possible copyright infringement
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext
WRKSRC= ${WRKDIR}/Xev111
ALL_TARGET= xbat
diff --git a/games/xbill/Makefile b/games/xbill/Makefile
index 4f8e997aaa37..5954621a40dc 100644
--- a/games/xbill/Makefile
+++ b/games/xbill/Makefile
@@ -27,6 +27,7 @@ PLIST_FILES= bin/${PORTNAME} \
PORTDATA= *
+USES= xorg
USE_XORG= xt x11 sm ice xpm
OPTIONS_SINGLE= WIDGETSET
diff --git a/games/xbl/Makefile b/games/xbl/Makefile
index 59fd4574c77d..019d997c35a1 100644
--- a/games/xbl/Makefile
+++ b/games/xbl/Makefile
@@ -12,6 +12,7 @@ COMMENT= 3D block-dropping game
LICENSE= GPLv1+
LICENSE_FILE= ${WRKSRC}/COPYING
+USES= xorg
USE_XORG= x11
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_prog_IMAKE="" ac_cv_prog_XMKMF=""
diff --git a/games/xblood/Makefile b/games/xblood/Makefile
index 769902851597..8a1657ea649f 100644
--- a/games/xblood/Makefile
+++ b/games/xblood/Makefile
@@ -14,6 +14,7 @@ LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
MAKE_ENV= X11BASE=${LOCALBASE}
+USES= xorg
USE_XORG= x11
PLIST_FILES= bin/xblood man/man1/xblood.1.gz
diff --git a/games/xboard/Makefile b/games/xboard/Makefile
index 91dbf7d6accb..1de46f83a052 100644
--- a/games/xboard/Makefile
+++ b/games/xboard/Makefile
@@ -58,8 +58,8 @@ GTK2_CONFIGURE_WITH= gtk
.include <bsd.port.options.mk>
-USES+= desktop-file-utils makeinfo perl5 pkgconfig shared-mime-info \
- shebangfix
+USES+= desktop-file-utils gnome makeinfo perl5 pkgconfig \
+ shared-mime-info shebangfix xorg
USE_XORG+= xt xpm
USE_GNOME+= librsvg2
.if ${PORT_OPTIONS:MXAW}
diff --git a/games/xboing/Makefile b/games/xboing/Makefile
index bd4bb55486ca..7ee98b425c8e 100644
--- a/games/xboing/Makefile
+++ b/games/xboing/Makefile
@@ -13,7 +13,7 @@ COMMENT= X11 arcade game
LICENSE= MIT
-USES= imake
+USES= imake xorg
USE_XORG= xpm xext x11
WRKSRC= ${WRKDIR}/xboing
diff --git a/games/xbomb/Makefile b/games/xbomb/Makefile
index e487cf1a8f8d..c72946add7f6 100644
--- a/games/xbomb/Makefile
+++ b/games/xbomb/Makefile
@@ -12,7 +12,7 @@ COMMENT= Minesweeper with a couple of grid types
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= pkgconfig tar:tgz
+USES= pkgconfig tar:tgz xorg
USE_XORG= xaw7
do-build:
diff --git a/games/xbubble/Makefile b/games/xbubble/Makefile
index 6475a461544a..9783ec016752 100644
--- a/games/xbubble/Makefile
+++ b/games/xbubble/Makefile
@@ -15,9 +15,9 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png
+USES= gmake xorg
USE_XORG= x11 xmu
GNU_CONFIGURE= yes
-USES= gmake
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/games/xchadance/Makefile b/games/xchadance/Makefile
index ab4e7ecc4ba6..85f5928aa56d 100644
--- a/games/xchadance/Makefile
+++ b/games/xchadance/Makefile
@@ -12,7 +12,7 @@ DISTFILES= xchada01.lzh
MAINTAINER= ports@FreeBSD.org
COMMENT= Display a dancing girl "ChaCha."
-USES= lha
+USES= lha xorg
USE_XORG= x11
MAKEFILE= makefile
NO_WRKSUBDIR= yes
diff --git a/games/xcheckers/Makefile b/games/xcheckers/Makefile
index f8357b1beb4b..0c9779cd0ec6 100644
--- a/games/xcheckers/Makefile
+++ b/games/xcheckers/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= http://arton.cunst.net/xcheckers/
MAINTAINER= ports@FreeBSD.org
COMMENT= Checkers game for X11
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext xpm
post-patch:
diff --git a/games/xchomp/Makefile b/games/xchomp/Makefile
index bf462c0c11fe..7fde3c45dbda 100644
--- a/games/xchomp/Makefile
+++ b/games/xchomp/Makefile
@@ -12,7 +12,7 @@ COMMENT= Pac-man-like game under X11
WRKSRC= ${WRKDIR}/xchomp
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext
PLIST_FILES= bin/xchomp
diff --git a/games/xconq/Makefile b/games/xconq/Makefile
index c68816be5117..dbeda68179a8 100644
--- a/games/xconq/Makefile
+++ b/games/xconq/Makefile
@@ -14,7 +14,7 @@ LICENSE= GPLv2+
OPTIONS_DEFINE= SDL
-USES= compiler gmake makeinfo tar:bzip2
+USES= compiler gmake makeinfo tar:bzip2 xorg
USE_XORG= x11
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-alternate-scoresdir=${SCOREDIR} \
@@ -37,6 +37,7 @@ SCOREDIR?= /var/games/xconq
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSDL}
+USES+= sdl
USE_SDL= sdl
CONFIGURE_ARGS+=--enable-default-ui=sdl
PLIST_SUB+= NOSDL="@comment "
diff --git a/games/xcubes/Makefile b/games/xcubes/Makefile
index e6ac777bb6d5..e6bac3686428 100644
--- a/games/xcubes/Makefile
+++ b/games/xcubes/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Cube puzzle for X11
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext xt sm ice
PLIST_FILES= bin/xcubes \
diff --git a/games/xdeblock/Makefile b/games/xdeblock/Makefile
index 0167023c60cb..d87546770f72 100644
--- a/games/xdeblock/Makefile
+++ b/games/xdeblock/Makefile
@@ -13,7 +13,7 @@ COMMENT= Block action game
WRKSRC= ${WRKDIR}/xdeblo_v1.0
-USES= imake:noman
+USES= imake:noman xorg
USE_XORG= xpm
CFLAGS+= -Wno-return-type
diff --git a/games/xdemineur/Makefile b/games/xdemineur/Makefile
index 23ab69964003..0d7ad0f535b5 100644
--- a/games/xdemineur/Makefile
+++ b/games/xdemineur/Makefile
@@ -11,7 +11,7 @@ MASTER_SITES= XCONTRIB/games \
MAINTAINER= ports@FreeBSD.org
COMMENT= Another minesweeper game for the X Window System
-USES= imake
+USES= imake xorg
USE_XORG= xpm
PLIST_FILES= bin/xdemineur \
man/man1/xdemineur.1.gz
diff --git a/games/xdesktopwaves/Makefile b/games/xdesktopwaves/Makefile
index 6f21dc4e7d28..393c2d423d99 100644
--- a/games/xdesktopwaves/Makefile
+++ b/games/xdesktopwaves/Makefile
@@ -13,6 +13,7 @@ COMMENT= Simulation of water waves on the desktop
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
+USES= xorg
USE_XORG= x11 xext
PLIST_FILES= bin/xdesktopwaves \
diff --git a/games/xdigger/Makefile b/games/xdigger/Makefile
index d025c3668699..c285472c0cca 100644
--- a/games/xdigger/Makefile
+++ b/games/xdigger/Makefile
@@ -13,7 +13,7 @@ COMMENT= Boulderdash-like KC85 Digger for X Window System
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= imake tar:tgz
+USES= imake tar:tgz xorg
USE_XORG= x11 xext
DESKTOP_ENTRIES="XDigger" "" "" "${PORTNAME}" "" ""
diff --git a/games/xdino/Makefile b/games/xdino/Makefile
index 3ff551ed9856..1d1d934dd3b1 100644
--- a/games/xdino/Makefile
+++ b/games/xdino/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Dino puzzle game for X11
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext xt sm ice
PLIST_FILES= bin/xdino \
diff --git a/games/xevil/Makefile b/games/xevil/Makefile
index 064094fccd38..7616af7b0618 100644
--- a/games/xevil/Makefile
+++ b/games/xevil/Makefile
@@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/gpl.txt
NO_WRKSUBDIR= yes
-USES= dos2unix zip
+USES= dos2unix xorg zip
USE_XORG= xpm
DOS2UNIX_GLOB= *.cpp *.h config.mk makefile
MAKEFILE= makefile
diff --git a/games/xeyesplus/Makefile b/games/xeyesplus/Makefile
index 9daebd6c59cd..36fe451a45d2 100644
--- a/games/xeyesplus/Makefile
+++ b/games/xeyesplus/Makefile
@@ -11,6 +11,7 @@ DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Horrible eyes looking at your mouse cursor
+USES= xorg
USE_XORG= xpm
PLIST_FILES= bin/xeyes+
diff --git a/games/xfireworks/Makefile b/games/xfireworks/Makefile
index 0a317564969b..e8e53314a43a 100644
--- a/games/xfireworks/Makefile
+++ b/games/xfireworks/Makefile
@@ -13,6 +13,7 @@ COMMENT= Fireworks on X
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
+USES= xorg
USE_XORG= x11
do-install:
diff --git a/games/xfrisk/Makefile b/games/xfrisk/Makefile
index 935daace4329..3705ea15cc31 100644
--- a/games/xfrisk/Makefile
+++ b/games/xfrisk/Makefile
@@ -21,8 +21,8 @@ NO_CDROM= Possible trademark infringement
WRKSRC= ${WRKDIR}/XFrisk
+USES= gmake xorg
USE_XORG= x11 xt xaw xmu sm ice
-USES= gmake
MAKE_ENV= XDIR="${LOCALBASE}"
do-install:
diff --git a/games/xgalaga++/Makefile b/games/xgalaga++/Makefile
index ef1ab41791ce..97ba148ef05c 100644
--- a/games/xgalaga++/Makefile
+++ b/games/xgalaga++/Makefile
@@ -15,7 +15,7 @@ COMMENT= Classic single screen vertical shoot em up
LICENSE= GPLv2
-USES= gmake
+USES= gmake xorg
USE_XORG= x11 xpm
ALL_TARGET= ${PORTNAME}
diff --git a/games/xgalaga/Makefile b/games/xgalaga/Makefile
index 38980b72190c..56e9b6b97de0 100644
--- a/games/xgalaga/Makefile
+++ b/games/xgalaga/Makefile
@@ -11,7 +11,7 @@ COMMENT= Clone of the classic game Galaga for X11
LICENSE= GPLv2
-USES= gmake
+USES= gmake xorg
USE_XORG= xpm xmu
HAS_CONFIGURE= yes
diff --git a/games/xglk/Makefile b/games/xglk/Makefile
index da5ca877bd6e..3722346bfc6b 100644
--- a/games/xglk/Makefile
+++ b/games/xglk/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS+= libpng.so:graphics/png
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= jpeg
+USES= jpeg xorg
USE_XORG= x11
MAKE_ENV+= AR=${AR} RANLIB=${RANLIB} ECHO=${ECHO} RM=${RM:Q}
diff --git a/games/xhexagons/Makefile b/games/xhexagons/Makefile
index ec5b88706b71..d8c3da1c9fa5 100644
--- a/games/xhexagons/Makefile
+++ b/games/xhexagons/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Hexagons puzzle (similar to Fifteen Puzzle) for X Window System
WRKSRC= ${WRKDIR}/xhexagons
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext xt sm ice
PLIST_FILES= bin/xhexagons \
diff --git a/games/xhime/Makefile b/games/xhime/Makefile
index e5ea8e595698..930dc293b483 100644
--- a/games/xhime/Makefile
+++ b/games/xhime/Makefile
@@ -12,7 +12,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Resident Himechan for X Window System
WRKSRC= ${WRKDIR}/xhime1.51
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext
NO_CDROM= Contains commercial character data
diff --git a/games/xinfocom/Makefile b/games/xinfocom/Makefile
index efcbf71e5d52..c75b1e720f0f 100644
--- a/games/xinfocom/Makefile
+++ b/games/xinfocom/Makefile
@@ -11,7 +11,7 @@ DISTNAME= unix8m
MAINTAINER= ports@FreeBSD.org
COMMENT= Infocom game interpreter for X11
-USES= imake tar:tgz
+USES= imake tar:tgz xorg
USE_XORG= xt sm ice xext x11
WRKSRC= ${WRKDIR}/xinfocom
diff --git a/games/xinvaders/Makefile b/games/xinvaders/Makefile
index 1a094f443076..a652bf929205 100644
--- a/games/xinvaders/Makefile
+++ b/games/xinvaders/Makefile
@@ -12,7 +12,7 @@ COMMENT= Shoot-em-up them nasty little bugs
NO_CDROM= don't sell for profit
-USES= gettext
+USES= gettext xorg
USE_XORG= x11 xmu xaw xt
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-scorefile=/var/games/xinvaders.scores
diff --git a/games/xisola/Makefile b/games/xisola/Makefile
index d159ecc97edb..a2cb9e1e310d 100644
--- a/games/xisola/Makefile
+++ b/games/xisola/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Simple board game for X Window System
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= imake:noman
+USES= imake:noman xorg
USE_XORG= x11 xext xaw xmu xt sm ice
PLIST_FILES= bin/xisola
diff --git a/games/xjewel/Makefile b/games/xjewel/Makefile
index 53fb6bba66ea..142270168178 100644
--- a/games/xjewel/Makefile
+++ b/games/xjewel/Makefile
@@ -14,7 +14,7 @@ COMMENT= X11 dropping jewels game
BUILD_DEPENDS= bdftopcf:x11-fonts/bdftopcf \
mkfontscale>=0:x11-fonts/mkfontscale
-USES= fonts imake
+USES= fonts imake xorg
USE_XORG= x11 xext
DESKTOP_ENTRIES="XJewel" "" "" "${PORTNAME}" "" ""
diff --git a/games/xjig/Makefile b/games/xjig/Makefile
index 888b00bbb896..2e41a7a640c5 100644
--- a/games/xjig/Makefile
+++ b/games/xjig/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= XCONTRIB/games
MAINTAINER= ports@FreeBSD.org
COMMENT= Jigsaw puzzle game for X11
-USES= compiler tar:tgz
+USES= compiler tar:tgz xorg
USE_XORG= x11 xorgproto xext
MAKEFILE= Makefile.Linux
PLIST_FILES= bin/xjig man/man1/xjig.1.gz
diff --git a/games/xjump/Makefile b/games/xjump/Makefile
index d37b41f5dc34..80d6c2449bd0 100644
--- a/games/xjump/Makefile
+++ b/games/xjump/Makefile
@@ -13,6 +13,7 @@ COMMENT= Simple X game where one tries to jump up as many levels as possible
WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/g}
+USES= xorg
USE_XORG= xpm xaw
MAKE_ARGS= CC="${CC} ${CFLAGS}" RECORD_FILE="/var/games/xjump.record" \
IDIR="-I${LOCALBASE}/include" LDIR="-L${LOCALBASE}/lib"
diff --git a/games/xjumpx/Makefile b/games/xjumpx/Makefile
index 6d08328ce31f..93c2d5e8b23c 100644
--- a/games/xjumpx/Makefile
+++ b/games/xjumpx/Makefile
@@ -13,6 +13,7 @@ COMMENT= Improved version of xjump
LICENSE= BSD2CLAUSE
MAKE_ENV= X11BASE=${LOCALBASE}
+USES= xorg
USE_XORG= xpm xaw
SUB_FILES= pkg-message
diff --git a/games/xkoules/Makefile b/games/xkoules/Makefile
index 8877079d680c..2bc6b7e84b34 100644
--- a/games/xkoules/Makefile
+++ b/games/xkoules/Makefile
@@ -20,7 +20,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
WRKSRC= ${WRKDIR}/${PORTNAME:S/x//}${PORTVERSION}
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext
MAKE_JOBS_UNSAFE= yes
diff --git a/games/xlaby/Makefile b/games/xlaby/Makefile
index 343b2ca844e7..6a8e0b997589 100644
--- a/games/xlaby/Makefile
+++ b/games/xlaby/Makefile
@@ -12,7 +12,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Daemonic X Labyrinth played directly with the mouse pointer
NO_WRKSUBDIR= yes
-USES= imake tar:tgz
+USES= imake tar:tgz xorg
USE_XORG= x11
PLIST_FILES= man/man6/xlaby.6.gz
diff --git a/games/xlife/Makefile b/games/xlife/Makefile
index b398d8f214fe..949fedec9b00 100644
--- a/games/xlife/Makefile
+++ b/games/xlife/Makefile
@@ -16,7 +16,7 @@ RUN_DEPENDS= gawk:lang/gawk
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
-USES= imake:notall tar:bzip2
+USES= imake:notall tar:bzip2 xorg
USE_XORG= x11
PORTDOCS= *
diff --git a/games/xmahjongg/Makefile b/games/xmahjongg/Makefile
index b17409c161a6..9e9a8d876b8e 100644
--- a/games/xmahjongg/Makefile
+++ b/games/xmahjongg/Makefile
@@ -12,6 +12,7 @@ COMMENT= Chinese game of Mahjongg for X11
LICENSE= GPLv2
+USES= xorg
USE_XORG= x11
GNU_CONFIGURE= yes
diff --git a/games/xmastermind/Makefile b/games/xmastermind/Makefile
index 544cb095b7ee..3e27408cbcb6 100644
--- a/games/xmastermind/Makefile
+++ b/games/xmastermind/Makefile
@@ -14,6 +14,7 @@ LICENSE= GPLv2
LIB_DEPENDS= libforms.so:x11-toolkits/xforms
+USES= xorg
USE_XORG= x11 xpm
MAKE_ENV= GRAPHLIBS="${LDFLAGS}"
diff --git a/games/xmball/Makefile b/games/xmball/Makefile
index 4093c4ab5a51..d3e274494fac 100644
--- a/games/xmball/Makefile
+++ b/games/xmball/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Masterball puzzle for X Window System
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext xt sm ice
PLIST_FILES= bin/xmball \
diff --git a/games/xmemory/Makefile b/games/xmemory/Makefile
index a00c56796b51..88fe44f69e25 100644
--- a/games/xmemory/Makefile
+++ b/games/xmemory/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= XCONTRIB/games/multiplayer
MAINTAINER= ports@FreeBSD.org
COMMENT= Multi-player memory game
-USES= imake tar:tgz
+USES= imake tar:tgz xorg
USE_CXXSTD= c++98
USE_XORG= x11 xext
MAKE_ENV= DATADIR="${DATADIR}"
diff --git a/games/xmille/Makefile b/games/xmille/Makefile
index 2e59e05d728c..074e87a19314 100644
--- a/games/xmille/Makefile
+++ b/games/xmille/Makefile
@@ -13,7 +13,7 @@ COMMENT= X window mille bourne game
WRKSRC= ${WRKDIR}/Mille
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext
PLIST_FILES= bin/xmille man/man1/xmille.1.gz
MAKE_JOBS_UNSAFE= yes
diff --git a/games/xmine/Makefile b/games/xmine/Makefile
index 1de812b32a6b..9110bfc5489b 100644
--- a/games/xmine/Makefile
+++ b/games/xmine/Makefile
@@ -14,7 +14,7 @@ COMMENT= The `Athena' port of the xminesweeper game
LIB_DEPENDS= libXaw3d.so:x11-toolkits/Xaw3d
-USES= imake
+USES= imake xorg
USE_XORG= x11 xaw xext xmu xt xpm sm ice
.include <bsd.port.mk>
diff --git a/games/xminehunter/Makefile b/games/xminehunter/Makefile
index 156741afc4ed..f09a8a3e3a0a 100644
--- a/games/xminehunter/Makefile
+++ b/games/xminehunter/Makefile
@@ -17,7 +17,7 @@ LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= compiler motif
+USES= compiler motif xorg
USE_XORG= xpm
ALL_TARGET= ${PORTNAME}
diff --git a/games/xmines/Makefile b/games/xmines/Makefile
index 34a40dfb18f5..3fa1e284c583 100644
--- a/games/xmines/Makefile
+++ b/games/xmines/Makefile
@@ -11,6 +11,7 @@ DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Minesweeper game for the X Window System
+USES= xorg
USE_XORG= x11 xt
CFLAGS+= -Wno-error=return-type
diff --git a/games/xminesweep/Makefile b/games/xminesweep/Makefile
index 743ed0004100..699190a89de6 100644
--- a/games/xminesweep/Makefile
+++ b/games/xminesweep/Makefile
@@ -14,7 +14,7 @@ DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= X11 minesweeper game
-USES= imake tar:Z
+USES= imake tar:Z xorg
USE_XORG= x11 xext xmu xaw xt xpm sm ice
PLIST_FILES= bin/xminesweep man/man1/xminesweep.1.gz
diff --git a/games/xmlink/Makefile b/games/xmlink/Makefile
index 4131d63435fb..7bee826d6278 100644
--- a/games/xmlink/Makefile
+++ b/games/xmlink/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Missing Link puzzle for X Window System
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext xt sm ice
PLIST_FILES= bin/xmlink \
diff --git a/games/xmris/Makefile b/games/xmris/Makefile
index 209c89e88e84..44a15328c519 100644
--- a/games/xmris/Makefile
+++ b/games/xmris/Makefile
@@ -11,7 +11,7 @@ DISTNAME= ${PORTNAME}.${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Version of the Mr Do video arcade game for X11
-USES= imake tar:tgz
+USES= imake tar:tgz xorg
USE_XORG= x11 xext xaw xmu xt sm ice
ALL_TARGET= xmris xmred Xmris.ad
diff --git a/games/xmulti/Makefile b/games/xmulti/Makefile
index c85450d169d2..9ccaef092af4 100644
--- a/games/xmulti/Makefile
+++ b/games/xmulti/Makefile
@@ -13,7 +13,7 @@ COMMENT= X11 mascot based on gal-game "To Heart"
WRKSRC= ${WRKDIR}/xmulti200beta4
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext xaw xmu xt xpm sm ice
DOCSDIR= ${PREFIX}/share/doc/ja/${PORTNAME}
diff --git a/games/xneko/Makefile b/games/xneko/Makefile
index 04832c9d18b6..444f832404fc 100644
--- a/games/xneko/Makefile
+++ b/games/xneko/Makefile
@@ -13,7 +13,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= The classic cat-and-mouse
NO_WRKSUBDIR= yes
-USES= imake
+USES= imake xorg
USE_XORG= x11
PLIST_FILES= bin/xneko man/man6/xneko.6.gz
diff --git a/games/xoct/Makefile b/games/xoct/Makefile
index 4383136bb0a7..7e24146d3ba5 100644
--- a/games/xoct/Makefile
+++ b/games/xoct/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Oct puzzle for X Window System
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext xt sm ice
PLIST_FILES= bin/xoct \
diff --git a/games/xoids/Makefile b/games/xoids/Makefile
index 275e06a1c800..755d8d15cea3 100644
--- a/games/xoids/Makefile
+++ b/games/xoids/Makefile
@@ -13,7 +13,7 @@ COMMENT= X Window Asteroids style game with full color pixmaps
NOT_FOR_ARCHS= mips64
NOT_FOR_ARCHS_REASON= unknown architecture
-USES= imake
+USES= imake xorg
USE_XORG= xpm
PLIST_FILES= bin/xoids \
diff --git a/games/xoj/Makefile b/games/xoj/Makefile
index 1f466f81130a..2d9842ae19c7 100644
--- a/games/xoj/Makefile
+++ b/games/xoj/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= SUNSITE/X11/demos
MAINTAINER= ports@FreeBSD.org
COMMENT= O. J. Simpson Simulator root window demo
-USES= imake:noman tar:tgz
+USES= imake:noman tar:tgz xorg
USE_XORG= xaw
PLIST_FILES= bin/xoj
diff --git a/games/xorgramana/Makefile b/games/xorgramana/Makefile
index 81e56ef74778..37b8e3dd5f90 100644
--- a/games/xorgramana/Makefile
+++ b/games/xorgramana/Makefile
@@ -12,7 +12,7 @@ DISTNAME= XorGramana-${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Logic word puzzle game set inside a series of mazes
-USES= tar:bzip2 gmake
+USES= gl gmake sdl tar:bzip2
USE_SDL= sdl image
USE_GL= glu
diff --git a/games/xosmulti/Makefile b/games/xosmulti/Makefile
index 72bdfa7681bf..c576a8f6114d 100644
--- a/games/xosmulti/Makefile
+++ b/games/xosmulti/Makefile
@@ -16,6 +16,7 @@ LICENSE= PD
LICENSE_FILE= ${WRKSRC}/README.jp
WRKSRC= ${WRKDIR}/xosmulti
+USES= xorg
USE_XORG= x11 xbitmaps xext
OPTIONS_DEFINE= DOCS
diff --git a/games/xpanex/Makefile b/games/xpanex/Makefile
index da8d5d8a0783..b1cc0e9c395d 100644
--- a/games/xpanex/Makefile
+++ b/games/xpanex/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Panex puzzle for X Window System
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext xt sm ice
PLIST_FILES= bin/xpanex \
diff --git a/games/xpat2/Makefile b/games/xpat2/Makefile
index 41fe00a690af..7a598aa09fba 100644
--- a/games/xpat2/Makefile
+++ b/games/xpat2/Makefile
@@ -15,7 +15,7 @@ LICENSE= GPLv2+
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
-USES= imake
+USES= imake xorg
USE_XORG= xaw
CFLAGS+= -D_POSIX_SOURCE -DNO_CUSERID -D_POSIX_SAVED_IDS
diff --git a/games/xpenguins/Makefile b/games/xpenguins/Makefile
index 7495b24ce44d..0a74182212af 100644
--- a/games/xpenguins/Makefile
+++ b/games/xpenguins/Makefile
@@ -16,6 +16,7 @@ COMMENT= Cute little penguins that walk along the tops of your windows
LICENSE= GPLv2
+USES= xorg
USE_XORG= xpm
GNU_CONFIGURE= yes
diff --git a/games/xpilot/Makefile b/games/xpilot/Makefile
index 5e6768b3abe9..44af8442f98d 100644
--- a/games/xpilot/Makefile
+++ b/games/xpilot/Makefile
@@ -9,7 +9,7 @@ MASTER_SITES= SF/${PORTNAME}game/${PORTNAME}-4/${PORTNAME}-${PORTVERSION}
MAINTAINER= lme@FreeBSD.org
COMMENT= Xpilot(client) and xpilots(server)
+USES= imake tar:bzip2 xorg
USE_XORG= x11 xext
-USES= imake tar:bzip2
.include <bsd.port.mk>
diff --git a/games/xpipeman/Makefile b/games/xpipeman/Makefile
index b98e91f9db8c..f8d0acd3a103 100644
--- a/games/xpipeman/Makefile
+++ b/games/xpipeman/Makefile
@@ -11,7 +11,7 @@ DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Connect the pipes to stop the leaks
-USES= imake tar:Z
+USES= imake tar:Z xorg
USE_XORG= x11 xaw xext xmu xt sm ice
CFLAGS+= -Wno-error=return-type
diff --git a/games/xpuzzletama/Makefile b/games/xpuzzletama/Makefile
index 9bb82b953a23..f520fb8a2655 100644
--- a/games/xpuzzletama/Makefile
+++ b/games/xpuzzletama/Makefile
@@ -17,7 +17,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Puzzle tama, a Tetris like game
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= imake:noman
+USES= imake:noman xorg
USE_XORG= xpm
PLIST_FILES= bin/xpuzzletama lib/X11/xpuzzletama/tama_score
diff --git a/games/xpyraminx/Makefile b/games/xpyraminx/Makefile
index e41d11ed5dab..33d3720f7a30 100644
--- a/games/xpyraminx/Makefile
+++ b/games/xpyraminx/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Pyraminx puzzle for X Window System
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext xt sm ice
PLIST_FILES= bin/xpyraminx \
diff --git a/games/xqf/Makefile b/games/xqf/Makefile
index b734e1e26bbd..507b0d9c4060 100644
--- a/games/xqf/Makefile
+++ b/games/xqf/Makefile
@@ -12,8 +12,8 @@ COMMENT= Server browser for many popular 3D action games
RUN_DEPENDS= qstat:games/qstat
+USES= gettext gmake gnome pkgconfig xorg
USE_GNOME= intlhack
-USES= gettext gmake pkgconfig
USE_XORG= x11
GNU_CONFIGURE= yes
diff --git a/games/xrally/Makefile b/games/xrally/Makefile
index 1b0fafbeac47..3dc8460eb1df 100644
--- a/games/xrally/Makefile
+++ b/games/xrally/Makefile
@@ -14,8 +14,8 @@ COMMENT= XRally is a Linux clone of the classic Rally X arcade game
WRKSRC= ${WRKDIR}/${PORTNAME}
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
+USES= gmake tar:bzip2 xorg
USE_XORG= x11 xi xpm
-USES= gmake tar:bzip2
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -lpthread -L${LOCALBASE}/lib
MAKE_ENV= INCLUDES="-I${LOCALBASE}/include"
diff --git a/games/xrisk/Makefile b/games/xrisk/Makefile
index 72c9d168aa7d..3481bdfe3886 100644
--- a/games/xrisk/Makefile
+++ b/games/xrisk/Makefile
@@ -11,7 +11,7 @@ MASTER_SITES= http://my.pages.de/pub/comp/unix/games/xrisk/old/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Game for X11, much like the popular board game
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext xt
RESTRICTED= Possible trademark infringement
diff --git a/games/xroach/Makefile b/games/xroach/Makefile
index c7f36505dacf..896167700331 100644
--- a/games/xroach/Makefile
+++ b/games/xroach/Makefile
@@ -21,7 +21,7 @@ BINOWN= bin
BINDIR= ${LOCALBASE}/bin
BINMODE= 755
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext
USE_CSTD= gnu99
PLIST_FILES= bin/xroach man/man6/xroach.6.gz
diff --git a/games/xrobots/Makefile b/games/xrobots/Makefile
index 71a62e294a49..7592fca7937d 100644
--- a/games/xrobots/Makefile
+++ b/games/xrobots/Makefile
@@ -11,7 +11,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-ss-10.20
MAINTAINER= ports@FreeBSD.org
COMMENT= Fight off villainous robots (X version)
-USES= imake
+USES= imake xorg
USE_XORG= x11 xaw xext xmu xt sm ice
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/games/xrot/Makefile b/games/xrot/Makefile
index eb27bb86e81c..22802722cfc0 100644
--- a/games/xrot/Makefile
+++ b/games/xrot/Makefile
@@ -18,7 +18,7 @@ COMMENT= Falling ball puzzle game for X
WRKSRC= ${WRKDIR}/xrot
-USES= imake
+USES= imake xorg
USE_XORG= xpm
ALL_TARGET= xrot
CFLAGS+= -Wno-return-type
diff --git a/games/xrubik/Makefile b/games/xrubik/Makefile
index afd9f44a1a40..7e73a4c1f65f 100644
--- a/games/xrubik/Makefile
+++ b/games/xrubik/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= X-based rubik's cube(tm)
WRKSRC= ${WRKDIR}/xrubik
-USES= imake
+USES= imake xorg
USE_XORG= xt sm ice xext x11
do-install:
diff --git a/games/xsc/Makefile b/games/xsc/Makefile
index 7a20f5d48095..4c0713424385 100644
--- a/games/xsc/Makefile
+++ b/games/xsc/Makefile
@@ -16,7 +16,7 @@ COMMENT= Vector graphics space shoot'em up game
LICENSE= GPLv2
-USES= compiler
+USES= compiler xorg
USE_XORG= x11
GNU_CONFIGURE= yes
CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
diff --git a/games/xscavenger/Makefile b/games/xscavenger/Makefile
index 415ce99b0447..8b7d267130c9 100644
--- a/games/xscavenger/Makefile
+++ b/games/xscavenger/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/../copyright
WRKSRC_SUBDIR= src
-USES= imake tar:tgz
+USES= imake tar:tgz xorg
USE_XORG= x11 xext
CFLAGS+= -Wno-return-type -Wno-pointer-sign
diff --git a/games/xscrabble/Makefile b/games/xscrabble/Makefile
index a811cd747678..12b6824b3287 100644
--- a/games/xscrabble/Makefile
+++ b/games/xscrabble/Makefile
@@ -14,7 +14,7 @@ COMMENT= X version of the popular board game
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= tar:bzip2 imake
+USES= tar:bzip2 imake xorg
USE_XORG= xaw
XSCRABBLEDIR= ${PREFIX}/lib/X11/xscrabble
diff --git a/games/xshisen/Makefile b/games/xshisen/Makefile
index c177e4f25ebd..810a5902d070 100644
--- a/games/xshisen/Makefile
+++ b/games/xshisen/Makefile
@@ -13,6 +13,7 @@ COMMENT= Shisen-sho puzzle game for X11
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
+USES= xorg
USE_XORG= xpm
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --sharedstatedir="${DATADIR}"
diff --git a/games/xshogi/Makefile b/games/xshogi/Makefile
index 236e83a4510a..52221abcf9b4 100644
--- a/games/xshogi/Makefile
+++ b/games/xshogi/Makefile
@@ -11,6 +11,7 @@ COMMENT= Japanese chess-like game for X Window System
RUN_DEPENDS= gnushogi:games/gnushogi
+USES= xorg
USE_XORG= xt xaw x11
GNU_CONFIGURE= yes
diff --git a/games/xskat/Makefile b/games/xskat/Makefile
index ca40b458646d..b6dfe1313968 100644
--- a/games/xskat/Makefile
+++ b/games/xskat/Makefile
@@ -15,6 +15,7 @@ LICENSE_NAME= xskat license clause
LICENSE_FILE= ${WRKSRC}/README
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+USES= xorg
USE_XORG= x11
PLIST_FILES= bin/xskat \
man/man1/xskat.1.gz \
diff --git a/games/xskewb/Makefile b/games/xskewb/Makefile
index 700fb7441403..66b13a697a94 100644
--- a/games/xskewb/Makefile
+++ b/games/xskewb/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Skewb puzzle (similar to Rubik's Cube) for X Window
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext xt sm ice
PLIST_FILES= bin/xskewb \
diff --git a/games/xsokoban/Makefile b/games/xsokoban/Makefile
index cb1984eb7e98..996f282d85bd 100644
--- a/games/xsokoban/Makefile
+++ b/games/xsokoban/Makefile
@@ -11,7 +11,7 @@ MASTER_SITES= http://www.cs.cornell.edu/andru/release/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Puzzle of pushing objects to the goals
-USES= imake
+USES= imake xorg
USE_XORG= xpm
WRKSRC= ${WRKDIR}/xsokoban
ALL_TARGET= xsokoban
diff --git a/games/xsoldier/Makefile b/games/xsoldier/Makefile
index 1ad75406aa16..8eccfe50bc1a 100644
--- a/games/xsoldier/Makefile
+++ b/games/xsoldier/Makefile
@@ -10,6 +10,7 @@ MASTER_SITES= http://www.interq.or.jp/libra/oohara/xsoldier/
MAINTAINER= naddy@FreeBSD.org
COMMENT= Space-based shoot-em up game for X11
+USES= xorg
USE_XORG= x11 ice sm xpm
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var
diff --git a/games/xspacewarp/Makefile b/games/xspacewarp/Makefile
index 969d65fcd3df..51b5f2a87d2c 100644
--- a/games/xspacewarp/Makefile
+++ b/games/xspacewarp/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= XCONTRIB/games
MAINTAINER= ports@FreeBSD.org
COMMENT= Time Trek - like game for X Window System
-USES= imake:noman
+USES= imake:noman xorg
USE_XORG= x11 xaw xext xmu xt xpm sm ice
PLIST_FILES= bin/xspacewarp \
diff --git a/games/xspringies/Makefile b/games/xspringies/Makefile
index ebeaa9f149eb..6476cb04c427 100644
--- a/games/xspringies/Makefile
+++ b/games/xspringies/Makefile
@@ -14,6 +14,7 @@ COMMENT= Mass and spring simulation system
LICENSE= GPLv1+
LICENSE_FILE= ${WRKSRC}/COPYING
+USES= xorg
USE_XORG= x11 xext
ALL_TARGET= ${PORTNAME}
diff --git a/games/xtet42/Makefile b/games/xtet42/Makefile
index 4de1af7808a4..ccadf2e3827b 100644
--- a/games/xtet42/Makefile
+++ b/games/xtet42/Makefile
@@ -12,6 +12,7 @@ COMMENT= One or two player T*tris game
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var/games
+USES= xorg
USE_XORG= x11
ALL_TARGET= ${PORTNAME}
diff --git a/games/xtic/Makefile b/games/xtic/Makefile
index 33101d6e8e66..df8a039833a3 100644
--- a/games/xtic/Makefile
+++ b/games/xtic/Makefile
@@ -11,7 +11,7 @@ DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= X version of a simple but tricky board game
-USES= imake
+USES= imake xorg
USE_XORG= xaw
PLIST_FILES= bin/xtic man/man1/xtic.1.gz
diff --git a/games/xtriangles/Makefile b/games/xtriangles/Makefile
index 3bd32cb6ad12..53241d1374c4 100644
--- a/games/xtriangles/Makefile
+++ b/games/xtriangles/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Triangles puzzle
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext xt sm ice
PLIST_FILES= bin/xtriangles \
diff --git a/games/xtris/Makefile b/games/xtris/Makefile
index 9c59385bd781..d16f8d547b14 100644
--- a/games/xtris/Makefile
+++ b/games/xtris/Makefile
@@ -22,6 +22,7 @@ LICENSE= GPLv2
BROKEN= unfetchable
RESTRICTED= Possible trademark infringement
WRKSRC= ${WRKDIR}/xtris
+USES= xorg
USE_XORG= x11 xext
MAKE_ENV= IPV6_CFLAGS="-DINET6"
diff --git a/games/xtrojka/Makefile b/games/xtrojka/Makefile
index 7f955cdd1fbd..29aa8c02cfac 100644
--- a/games/xtrojka/Makefile
+++ b/games/xtrojka/Makefile
@@ -10,6 +10,7 @@ DISTNAME= ${PORTNAME}${PORTVERSION:C/\.//g}
MAINTAINER= ports@edwinm.ik.nu
COMMENT= Game of skill similar to T*tris
+USES= xorg
USE_XORG= x11 xt xorgproto xaw xmu xext
MAKE_JOBS_UNSAFE= yes
WRKSRC= ${WRKDIR}/${DISTNAME}
diff --git a/games/xtron/Makefile b/games/xtron/Makefile
index 26598628711c..0d84af4e3dab 100644
--- a/games/xtron/Makefile
+++ b/games/xtron/Makefile
@@ -11,6 +11,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Avoid running into walls, your own tail, and that of your opponent
+USES= xorg
USE_XORG= x11 xpm
PLIST_FILES= bin/${PORTNAME} lib/X11/app-defaults/Tron
diff --git a/games/xtruco/Makefile b/games/xtruco/Makefile
index ce19ba4825bb..5642c11603ae 100644
--- a/games/xtruco/Makefile
+++ b/games/xtruco/Makefile
@@ -11,6 +11,7 @@ DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple version for X Window of the famous card game Super Truco
+USES= xorg
USE_XORG= x11
PLIST_FILES= bin/xtruco
diff --git a/games/xtux/Makefile b/games/xtux/Makefile
index 7a5d753513a3..03519eba08a8 100644
--- a/games/xtux/Makefile
+++ b/games/xtux/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= gmake
+USES= gmake xorg
USE_XORG= xpm
MAKE_ENV= CPP="${CC} -E"
diff --git a/games/xvier/Makefile b/games/xvier/Makefile
index 91cac400e6b9..4e9eebb42802 100644
--- a/games/xvier/Makefile
+++ b/games/xvier/Makefile
@@ -14,7 +14,7 @@ EXTRACT_ONLY= ${PORTNAME}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Throw stones into free columns
-USES= imake tar:Z
+USES= imake tar:Z xorg
USE_XORG= x11 xext
USE_CSTD= gnu89
diff --git a/games/xvmines/Makefile b/games/xvmines/Makefile
index 35f3b8a12bba..5c0b646aa127 100644
--- a/games/xvmines/Makefile
+++ b/games/xvmines/Makefile
@@ -14,7 +14,7 @@ LIB_DEPENDS= libxview.so:x11-toolkits/xview
OPTIONS_DEFINE= DOCS
-USES= imake tar:Z
+USES= imake tar:Z xorg
USE_XORG= x11
PORTDOCS= Copyright
diff --git a/games/xworm/Makefile b/games/xworm/Makefile
index 23c77806bd01..4079a0dc1be5 100644
--- a/games/xworm/Makefile
+++ b/games/xworm/Makefile
@@ -11,6 +11,7 @@ DISTNAME= ${PORTNAME}102
MAINTAINER= ports@FreeBSD.org
COMMENT= Classic game with apples and hungry worm
+USES= xorg
USE_XORG= x11 xt
WRKSRC= ${WRKDIR}/XWorm
ALL_TARGET= linux
diff --git a/games/xzip/Makefile b/games/xzip/Makefile
index c880cac16edf..31fc860fc743 100644
--- a/games/xzip/Makefile
+++ b/games/xzip/Makefile
@@ -14,6 +14,7 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= Infocom game interpreter that runs under X11
+USES= xorg
USE_XORG= x11
WRKSRC= ${WRKDIR}/xzip
ALL_TARGET=
diff --git a/games/yadex/Makefile b/games/yadex/Makefile
index e3e4e6f5e1a8..0e11c85afac4 100644
--- a/games/yadex/Makefile
+++ b/games/yadex/Makefile
@@ -13,7 +13,7 @@ COMMENT= WAD file editor, for games like Doom and Heretic
LICENSE= GPLv2
-USES= gmake perl5 shebangfix
+USES= gmake perl5 shebangfix xorg
HAS_CONFIGURE= yes
CONFIGURE_ENV= CC="${CC}" CXX="${CXX}" PREFIX="${PREFIX}"
USE_CXXSTD= c++98 # required for 3D preview option (see r479036)
diff --git a/games/zoom/Makefile b/games/zoom/Makefile
index 2b31b4bb4e28..3021062dd5ff 100644
--- a/games/zoom/Makefile
+++ b/games/zoom/Makefile
@@ -15,7 +15,7 @@ LICENSE= LGPL21
LIB_DEPENDS= libt1.so:devel/t1lib \
libpng.so:graphics/png
-USES= gmake perl5
+USES= gmake perl5 xorg
GNU_CONFIGURE= yes
USE_CSTD= gnu89
USE_XORG= xft