aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/2048-qt/Makefile4
-rw-r--r--games/allacrost/Makefile4
-rw-r--r--games/anki/Makefile4
-rw-r--r--games/arx-libertatis/Makefile5
-rw-r--r--games/auralquiz/Makefile4
-rw-r--r--games/blinken-kde4/Makefile4
-rw-r--r--games/blinken/Makefile4
-rw-r--r--games/bomber-kde4/Makefile4
-rw-r--r--games/bomber/Makefile4
-rw-r--r--games/bovo-kde4/Makefile4
-rw-r--r--games/bovo/Makefile4
-rw-r--r--games/bubble-chains/Makefile4
-rw-r--r--games/capicity/Makefile4
-rw-r--r--games/capitalism/Makefile4
-rw-r--r--games/chessx/Makefile4
-rw-r--r--games/cockatrice/Makefile8
-rw-r--r--games/colorcode/Makefile4
-rw-r--r--games/connectagram/Makefile4
-rw-r--r--games/cutemaze/Makefile4
-rw-r--r--games/doomsday/Makefile4
-rw-r--r--games/dustrac/Makefile4
-rw-r--r--games/flightgear/Makefile3
-rw-r--r--games/flukz/Makefile4
-rw-r--r--games/gcompris-qt/Makefile4
-rw-r--r--games/goldencheetah/Makefile4
-rw-r--r--games/gottet/Makefile4
-rw-r--r--games/granatier-kde4/Makefile4
-rw-r--r--games/granatier/Makefile4
-rw-r--r--games/hedgewars/Makefile4
-rw-r--r--games/hexalate/Makefile4
-rw-r--r--games/jag/Makefile4
-rw-r--r--games/kajongg-kde4/Makefile4
-rw-r--r--games/kajongg/Makefile4
-rw-r--r--games/kanagram-kde4/Makefile4
-rw-r--r--games/kanagram/Makefile4
-rw-r--r--games/kapman-kde4/Makefile4
-rw-r--r--games/kapman/Makefile4
-rw-r--r--games/kardsgt/Makefile4
-rw-r--r--games/katomic-kde4/Makefile4
-rw-r--r--games/katomic/Makefile4
-rw-r--r--games/kblackbox-kde4/Makefile4
-rw-r--r--games/kblackbox/Makefile4
-rw-r--r--games/kblocks-kde4/Makefile4
-rw-r--r--games/kblocks/Makefile4
-rw-r--r--games/kbounce-kde4/Makefile4
-rw-r--r--games/kbounce/Makefile4
-rw-r--r--games/kbreakout-kde4/Makefile4
-rw-r--r--games/kbreakout/Makefile4
-rw-r--r--games/kcheckers/Makefile4
-rw-r--r--games/kdiamond-kde4/Makefile4
-rw-r--r--games/kdiamond/Makefile4
-rw-r--r--games/kfourinline-kde4/Makefile4
-rw-r--r--games/kfourinline/Makefile4
-rw-r--r--games/kgoldrunner-kde4/Makefile4
-rw-r--r--games/kgoldrunner/Makefile4
-rw-r--r--games/khangman-kde4/Makefile4
-rw-r--r--games/khangman/Makefile4
-rw-r--r--games/kigo-kde4/Makefile4
-rw-r--r--games/kigo/Makefile4
-rw-r--r--games/killbots-kde4/Makefile4
-rw-r--r--games/killbots/Makefile4
-rw-r--r--games/kiriki-kde4/Makefile4
-rw-r--r--games/kiriki/Makefile4
-rw-r--r--games/kjumpingcube-kde4/Makefile4
-rw-r--r--games/kjumpingcube/Makefile4
-rw-r--r--games/klickety-kde4/Makefile4
-rw-r--r--games/klickety/Makefile4
-rw-r--r--games/klines-kde4/Makefile4
-rw-r--r--games/klines/Makefile4
-rw-r--r--games/kmahjongg-kde4/Makefile4
-rw-r--r--games/kmahjongg/Makefile4
-rw-r--r--games/kmines-kde4/Makefile4
-rw-r--r--games/kmines/Makefile4
-rw-r--r--games/knavalbattle-kde4/Makefile4
-rw-r--r--games/knavalbattle/Makefile4
-rw-r--r--games/knetwalk-kde4/Makefile4
-rw-r--r--games/knetwalk/Makefile4
-rw-r--r--games/knights-kde4/Makefile4
-rw-r--r--games/kolf-kde4/Makefile4
-rw-r--r--games/kolf/Makefile4
-rw-r--r--games/kollision-kde4/Makefile4
-rw-r--r--games/kollision/Makefile4
-rw-r--r--games/konquest-kde4/Makefile4
-rw-r--r--games/konquest/Makefile4
-rw-r--r--games/kpat-kde4/Makefile4
-rw-r--r--games/kpat/Makefile4
-rw-r--r--games/kreversi-kde4/Makefile4
-rw-r--r--games/kreversi/Makefile4
-rw-r--r--games/kshisen-kde4/Makefile4
-rw-r--r--games/kshisen/Makefile4
-rw-r--r--games/ksirk-kde4/Makefile4
-rw-r--r--games/ksirk/Makefile4
-rw-r--r--games/ksnakeduel-kde4/Makefile4
-rw-r--r--games/ksnakeduel/Makefile4
-rw-r--r--games/kspaceduel-kde4/Makefile4
-rw-r--r--games/kspaceduel/Makefile4
-rw-r--r--games/ksquares-kde4/Makefile4
-rw-r--r--games/ksquares/Makefile4
-rw-r--r--games/ksudoku-kde4/Makefile4
-rw-r--r--games/ksudoku/Makefile4
-rw-r--r--games/ktuberling-kde4/Makefile4
-rw-r--r--games/ktuberling/Makefile4
-rw-r--r--games/kubrick-kde4/Makefile4
-rw-r--r--games/kubrick/Makefile4
-rw-r--r--games/libkdegames-kde4/Makefile4
-rw-r--r--games/libkdegames/Makefile4
-rw-r--r--games/libkmahjongg-kde4/Makefile4
-rw-r--r--games/libkmahjongg/Makefile4
-rw-r--r--games/lskat-kde4/Makefile4
-rw-r--r--games/lskat/Makefile4
-rw-r--r--games/multimc/Makefile4
-rw-r--r--games/openmw/Makefile4
-rw-r--r--games/openpref/Makefile4
-rw-r--r--games/pairs-kde4/Makefile4
-rw-r--r--games/palapeli-kde4/Makefile4
-rw-r--r--games/palapeli/Makefile4
-rw-r--r--games/peg-e/Makefile4
-rw-r--r--games/pentobi/Makefile4
-rw-r--r--games/picmi-kde4/Makefile4
-rw-r--r--games/picmi/Makefile4
-rw-r--r--games/pokerth/Makefile4
-rw-r--r--games/qgo/Makefile4
-rw-r--r--games/qnetwalk/Makefile4
-rw-r--r--games/qtads/Makefile4
-rw-r--r--games/quackle/Makefile4
-rw-r--r--games/simsu/Makefile4
-rw-r--r--games/solarus-quest-editor/Makefile4
-rw-r--r--games/solarus/Makefile4
-rw-r--r--games/spellathon/Makefile4
-rw-r--r--games/sudoku-sensei/Makefile4
-rw-r--r--games/tanglet/Makefile4
-rw-r--r--games/tbe/Makefile4
-rw-r--r--games/tetzle/Makefile4
-rw-r--r--games/valyriatear/Makefile3
-rw-r--r--games/warzone2100/Makefile6
-rw-r--r--games/xptools/Makefile4
136 files changed, 276 insertions, 273 deletions
diff --git a/games/2048-qt/Makefile b/games/2048-qt/Makefile
index 92177cce1b80..d2cb57326e50 100644
--- a/games/2048-qt/Makefile
+++ b/games/2048-qt/Makefile
@@ -15,8 +15,8 @@ USE_GITHUB= yes
GH_ACCOUNT= xiaoyong
GH_PROJECT= 2048-Qt
-USES= gmake pkgconfig qmake
-USE_QT5= core gui network widgets qml quick buildtools_build quickcontrols
+USES= gmake pkgconfig qmake qt:5
+USE_QT= core gui network widgets qml quick buildtools_build quickcontrols
PLIST_FILES= bin/2048-qt ${DESKTOPDIR}/${PORTNAME}.desktop \
share/pixmaps/${PORTNAME}.png
diff --git a/games/allacrost/Makefile b/games/allacrost/Makefile
index 75718af25357..d2cfe7e23b98 100644
--- a/games/allacrost/Makefile
+++ b/games/allacrost/Makefile
@@ -24,7 +24,6 @@ USES= gettext gmake iconv jpeg lua:51 openal:al
USE_SDL= sdl ttf net
USE_GL= gl glu
USE_XORG= x11
-QT_NONSTANDARD= yes # used when EDITOR enabled
CONFIGURE_ARGS= --datadir=${DATADIR}
CPPFLAGS+= -I${LOCALBASE}/include -I${LUA_INCDIR}
@@ -42,7 +41,8 @@ OPTIONS_SUB= yes
EDITOR_DESC= Enable editor
-EDITOR_USE= QT4=corelib,gui,moc_build,opengl,qt3support
+EDITOR_USES= qmake:no_env qt:4
+EDITOR_USE= QT=corelib,gui,moc_build,opengl,qt3support
EDITOR_CONFIGURE_ON= --enable-editor=yes
EDITOR_CONFIGURE_OFF= --enable-editor=no
diff --git a/games/anki/Makefile b/games/anki/Makefile
index 6fda620368de..b6b4bd0c3913 100644
--- a/games/anki/Makefile
+++ b/games/anki/Makefile
@@ -23,10 +23,10 @@ RUN_DEPENDS= lame:audio/lame \
${PYTHON_PKGNAMEPREFIX}httplib2>0:www/py-httplib2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}send2trash>0:deskutils/py-send2trash@${PY_FLAVOR}
-USES= desktop-file-utils pyqt:4 python:2.7 shared-mime-info shebangfix tar:tgz
+USES= desktop-file-utils pyqt:4 python:2.7 qt:4 shared-mime-info shebangfix tar:tgz
SHEBANG_FILES= tools/build_ui.sh tools/tests.sh anki/anki runanki
USE_PYQT= network_run webkit_run
-USE_QT4= network_run webkit_run
+USE_QT= network_run webkit_run
NO_ARCH= yes
OPTIONS_DEFINE= NLS
diff --git a/games/arx-libertatis/Makefile b/games/arx-libertatis/Makefile
index a180c0a41a69..88ec9ca3e49b 100644
--- a/games/arx-libertatis/Makefile
+++ b/games/arx-libertatis/Makefile
@@ -32,8 +32,9 @@ OPTIONS_DEFINE= CRASHREPORTER DOCS
OPTIONS_SUB= yes
CRASHREPORTER_DESC= Build crash reporter (requires Qt4)
-CRASHREPORTER_USE= QT4=corelib,gui,network \
- QT4=rcc_build,moc_build,uic_build,qmake_build
+CRASHREPORTER_USES= qt:4
+CRASHREPORTER_USE= QT=corelib,gui,network \
+ QT=rcc_build,moc_build,uic_build,qmake_build
CRASHREPORTER_CMAKE_ON= -DBUILD_CRASHREPORTER=ON -DUSE_QT5=OFF
CRASHREPORTER_CMAKE_OFF=-DBUILD_CRASHREPORTER=OFF
diff --git a/games/auralquiz/Makefile b/games/auralquiz/Makefile
index 9d67e25d9e77..93bf9d2d424d 100644
--- a/games/auralquiz/Makefile
+++ b/games/auralquiz/Makefile
@@ -16,9 +16,9 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libtag.so:audio/taglib
-USES= qmake
+USES= qmake qt:5
USE_GL= gl
-USE_QT5= core gui widgets phonon4 qmake_build buildtools_build
+USE_QT= core gui widgets phonon4 qmake_build buildtools_build
PORTDOCS= CHANGELOG README TODO
diff --git a/games/blinken-kde4/Makefile b/games/blinken-kde4/Makefile
index 63a51787f5ff..a0477895349c 100644
--- a/games/blinken-kde4/Makefile
+++ b/games/blinken-kde4/Makefile
@@ -8,8 +8,8 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= Memory enhancement game for KDE 4
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs automoc4
-USE_QT4= moc_build qmake_build rcc_build uic_build
+USE_QT= moc_build qmake_build rcc_build uic_build
.include <bsd.port.mk>
diff --git a/games/blinken/Makefile b/games/blinken/Makefile
index a1c7e79dbe7f..710869e38129 100644
--- a/games/blinken/Makefile
+++ b/games/blinken/Makefile
@@ -8,10 +8,10 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= Memory enhancement game for KDE
-USES= cmake:outsource gettext kde:5 tar:xz
+USES= cmake:outsource gettext kde:5 qt:5 tar:xz
USE_KDE= auth codecs config configwidgets coreaddons crash dbusaddons \
doctools ecm guiaddons i18n widgetsaddons xmlgui
-USE_QT5= core dbus gui phonon4 svg widgets xml \
+USE_QT= core dbus gui phonon4 svg widgets xml \
buildtools_build qmake_build
.include <bsd.port.mk>
diff --git a/games/bomber-kde4/Makefile b/games/bomber-kde4/Makefile
index 8c72072e39e0..24fdd081f0d9 100644
--- a/games/bomber-kde4/Makefile
+++ b/games/bomber-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= moc_build qmake_build rcc_build uic_build
+USE_QT= moc_build qmake_build rcc_build uic_build
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
.include <bsd.port.mk>
diff --git a/games/bomber/Makefile b/games/bomber/Makefile
index 85cbbee918f0..10e85d70662c 100644
--- a/games/bomber/Makefile
+++ b/games/bomber/Makefile
@@ -8,10 +8,10 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource gettext kde:5 tar:xz
+USES= cmake:outsource gettext kde:5 qt:5 tar:xz
USE_KDE= auth codecs config configwidgets coreaddons crash dbusaddons \
ecm i18n kio libkdegames widgetsaddons xmlgui
-USE_QT5= core dbus gui network widgets phonon4 qml quick xml \
+USE_QT= core dbus gui network widgets phonon4 qml quick xml \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/bovo-kde4/Makefile b/games/bovo-kde4/Makefile
index bbc0d98b63c0..4c4d6114f8bf 100644
--- a/games/bovo-kde4/Makefile
+++ b/games/bovo-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= moc_build qmake_build rcc_build uic_build
+USE_QT= moc_build qmake_build rcc_build uic_build
USE_CXXSTD= gnu++98
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
diff --git a/games/bovo/Makefile b/games/bovo/Makefile
index d4fab75382f1..d9a5245e83c1 100644
--- a/games/bovo/Makefile
+++ b/games/bovo/Makefile
@@ -7,10 +7,10 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource gettext kde:5 tar:xz
+USES= cmake:outsource gettext kde:5 qt:5 tar:xz
USE_KDE= auth codecs config configwidgets coreaddons crash dbusaddons \
ecm i18n kdeclarative libkdegames newstuff widgetsaddons xmlgui
-USE_QT5= concurrent core dbus gui network qml quick svg widgets xml \
+USE_QT= concurrent core dbus gui network qml quick svg widgets xml \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/bubble-chains/Makefile b/games/bubble-chains/Makefile
index 78427fbbf230..563647ec895b 100644
--- a/games/bubble-chains/Makefile
+++ b/games/bubble-chains/Makefile
@@ -16,12 +16,12 @@ BUILD_DEPENDS= icotool:graphics/icoutils
USE_GITHUB= yes
GH_ACCOUNT= SanskritFritz
-USES= dos2unix qmake
+USES= dos2unix qmake qt:4
DOS2UNIX_GLOB= *.pro *.cpp *.h *.ui *.rc *.htm *.dat *.css
USE_SDL= mixer sdl
USE_GL= gl
USE_XORG= xrandr
-USE_QT4= moc_build rcc_build uic_build iconengines_run imageformats_run \
+USE_QT= moc_build rcc_build uic_build iconengines_run imageformats_run \
corelib svg xml opengl network
QMAKE_SOURCE_PATH= ${WRKSRC}/Game.pro
diff --git a/games/capicity/Makefile b/games/capicity/Makefile
index d92b0b8fa3b4..69552440669e 100644
--- a/games/capicity/Makefile
+++ b/games/capicity/Makefile
@@ -23,9 +23,9 @@ LIB_DEPENDS= libpcre.so:devel/pcre \
WRKSRC= ${WRKDIR}/CapiCity_${PORTVERSION}
-USES= iconv qmake
+USES= iconv qmake qt:4
USE_XORG= ice sm x11 xau xcb xdmcp xext xrender
-USE_QT4= moc_build rcc_build uic_build iconengines_run imageformats_run \
+USE_QT= moc_build rcc_build uic_build iconengines_run imageformats_run \
corelib gui network script xml
PORTDOCS= README changelog
diff --git a/games/capitalism/Makefile b/games/capitalism/Makefile
index e9d030909808..11e62004f8b8 100644
--- a/games/capitalism/Makefile
+++ b/games/capitalism/Makefile
@@ -23,9 +23,9 @@ LIB_DEPENDS= libpcre.so:devel/pcre \
WRKSRC= ${WRKDIR}/Capitalism-${PORTVERSION}
-USES= iconv qmake
+USES= iconv qmake qt:4
USE_XORG= ice sm x11 xau xcb xdmcp xext xrender
-USE_QT4= moc_build rcc_build uic_build iconengines_run imageformats_run \
+USE_QT= moc_build rcc_build uic_build iconengines_run imageformats_run \
corelib gui network script xml
PORTDOCS= README changelog readme.txt
diff --git a/games/chessx/Makefile b/games/chessx/Makefile
index 9e6ae52a8c49..dbe5d8e957f7 100644
--- a/games/chessx/Makefile
+++ b/games/chessx/Makefile
@@ -12,8 +12,8 @@ COMMENT= Qt 4 chess database application
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= desktop-file-utils qmake shared-mime-info tar:tgz
-USE_QT4= corelib gui svg network linguisttools_build \
+USES= desktop-file-utils qmake qt:4 shared-mime-info tar:tgz
+USE_QT= corelib gui svg network linguisttools_build \
moc_build qmake_build rcc_build uic_build
QMAKE_ARGS+= QMAKE_LRELEASE=${LRELEASE}
diff --git a/games/cockatrice/Makefile b/games/cockatrice/Makefile
index 5e99f5691b12..b267c0fd0edc 100644
--- a/games/cockatrice/Makefile
+++ b/games/cockatrice/Makefile
@@ -14,8 +14,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libprotobuf.so:devel/protobuf
-USES= cmake compiler:c++11-lib
-USE_QT5= buildtools concurrent core network qmake widgets
+USES= cmake compiler:c++11-lib qt:5
+USE_QT= buildtools concurrent core network qmake widgets
USE_GITHUB= yes
GH_TAGNAME= 2018-04-16-Release-2.5.1
@@ -35,8 +35,8 @@ SERVATRICE_CMAKE_OFF= -DWITH_SERVER=OFF
COCKATRICE_CMAKE_ON= -DWITH_CLIENT=ON -DWITH_ORACLE=ON
COCKATRICE_CMAKE_OFF= -DWITH_CLIENT=OFF -DWITH_ORACLE=OFF
-COCKATRICE_USE= qt5=multimedia,printsupport,svg,linguisttools,gui
-SERVATRICE_USE= qt5=sql,sql-mysql,websockets
+COCKATRICE_USE= qt=multimedia,printsupport,svg,linguisttools,gui
+SERVATRICE_USE= qt=sql,sql-mysql,websockets
SERVATRICE_USE+= RC_SUBR=servatrice
MYSQL_USES+= mysql:server
diff --git a/games/colorcode/Makefile b/games/colorcode/Makefile
index 3485b4ff4e34..a12dc18739b9 100644
--- a/games/colorcode/Makefile
+++ b/games/colorcode/Makefile
@@ -12,8 +12,8 @@ COMMENT= Advanced MasterMind game and solver
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USE_QT5= core gui widgets buildtools_build
-USES= qmake
+USE_QT= core gui widgets buildtools_build
+USES= qmake qt:5
WRKSRC= ${WRKDIR}/ColorCode-${PORTVERSION}
DESKTOP_ENTRIES=ColorCode \
diff --git a/games/connectagram/Makefile b/games/connectagram/Makefile
index c0ffa63af66e..fec8f0bc1576 100644
--- a/games/connectagram/Makefile
+++ b/games/connectagram/Makefile
@@ -13,9 +13,9 @@ COMMENT= Word unscrambling game
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= compiler:c++11-lib qmake tar:bzip2
+USES= compiler:c++11-lib qmake qt:5 tar:bzip2
USE_GL= gl
-USE_QT5= buildtools_build core gui linguisttools_build network widgets
+USE_QT= buildtools_build core gui linguisttools_build network widgets
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/games/cutemaze/Makefile b/games/cutemaze/Makefile
index f75a0c778f65..9c7559e09ae3 100644
--- a/games/cutemaze/Makefile
+++ b/games/cutemaze/Makefile
@@ -13,9 +13,9 @@ COMMENT= Simple, top-down game in which mazes are randomly generated
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= qmake tar:bzip2
+USES= qmake qt:5 tar:bzip2
USE_GL= gl
-USE_QT5= core gui svg imageformats_run widgets \
+USE_QT= core gui svg imageformats_run widgets \
linguisttools_build buildtools_build
PORTDOCS= ChangeLog NEWS README
diff --git a/games/doomsday/Makefile b/games/doomsday/Makefile
index 3fb0b69ebcbd..84d5a3269a89 100644
--- a/games/doomsday/Makefile
+++ b/games/doomsday/Makefile
@@ -17,12 +17,12 @@ LIB_DEPENDS= libcurl.so:ftp/curl \
libfluidsynth.so:audio/fluidsynth
RUN_DEPENDS= timidity:audio/timidity
-USES= cmake:outsource compiler:c++11-lib localbase:ldflags ninja openal pkgconfig python:2.7,build
+USES= cmake:outsource compiler:c++11-lib localbase:ldflags ninja openal pkgconfig python:2.7,build qt:5
USE_GL= gl glu
USE_LDCONFIG= yes
USE_SDL= sdl2 mixer2
USE_XORG= x11 sm ice xext xrandr xxf86vm
-USE_QT5= buildtools_build core gui network widgets qmake opengl x11extras
+USE_QT= buildtools_build core gui network widgets qmake opengl x11extras
CMAKE_ARGS+= -DDENG_ENABLE_COTIRE=OFF -DDENG_ASSIMP_EMBEDDED=OFF
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME}
diff --git a/games/dustrac/Makefile b/games/dustrac/Makefile
index 42ad6c53ab8d..4c04e36a1356 100644
--- a/games/dustrac/Makefile
+++ b/games/dustrac/Makefile
@@ -10,9 +10,9 @@ COMMENT= 2D top-view racing game
LIB_DEPENDS= libvorbisfile.so:audio/libvorbis
-USES= compiler:c++11-lib cmake:outsource openal pkgconfig
+USES= compiler:c++11-lib cmake:outsource openal pkgconfig qt:5
USE_GL= glu
-USE_QT5= core opengl xml widgets \
+USE_QT= core opengl xml widgets \
buildtools_build linguisttools_build qmake_build
CMAKE_ARGS= -DReleaseBuild=on \
-DDATA_PATH=${DATADIR} \
diff --git a/games/flightgear/Makefile b/games/flightgear/Makefile
index 2e03e80046a6..8f6d422c64fe 100644
--- a/games/flightgear/Makefile
+++ b/games/flightgear/Makefile
@@ -47,7 +47,8 @@ DBUS_CMAKE_ON= -DUSE_DBUS:BOOL=ON
DBUS_CMAKE_OFF= -DUSE_DBUS:BOOL=OFF
QT5_CMAKE_ON= -DENABLE_QT:BOOL=ON
QT5_CMAKE_OFF= -DENABLE_QT:BOOL=OFF
-QT5_USE= QT5=core,buildtools,gui,network,qmake,qml,quick,widgets
+QT5_USES= qt:5
+QT5_USE= QT=core,buildtools,gui,network,qmake,qml,quick,widgets
.include <bsd.port.pre.mk>
diff --git a/games/flukz/Makefile b/games/flukz/Makefile
index 192a9e2f9aa3..7b59e1f5010e 100644
--- a/games/flukz/Makefile
+++ b/games/flukz/Makefile
@@ -9,8 +9,8 @@ DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Vertically scrolling shoot'em up
-USES= qmake
-USE_QT4= multimedia network moc_build rcc_build
+USES= qmake qt:4
+USE_QT= multimedia network moc_build rcc_build
DESKTOP_ENTRIES= Flukz "" ${PORTNAME} \
${PORTNAME} "Game;ArcadeGame;" true
diff --git a/games/gcompris-qt/Makefile b/games/gcompris-qt/Makefile
index 4aa7433a0f42..7bbab94edd00 100644
--- a/games/gcompris-qt/Makefile
+++ b/games/gcompris-qt/Makefile
@@ -13,9 +13,9 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libBox2D.so:x11-toolkits/qml-box2d
-USES= cmake:outsource kde:5 tar:xz
+USES= cmake:outsource kde:5 qt:5 tar:xz
USE_KDE= doctools
-USE_QT5= core gui multimedia network qml quick sensors svg widgets \
+USE_QT= core gui multimedia network qml quick sensors svg widgets \
xml xmlpatterns \
buildtools_build linguisttools_build qmake_build
diff --git a/games/goldencheetah/Makefile b/games/goldencheetah/Makefile
index 714d208caa1a..9592cc801077 100644
--- a/games/goldencheetah/Makefile
+++ b/games/goldencheetah/Makefile
@@ -27,9 +27,9 @@ DESKTOP_ENTRIES= "${PORTNAME}" \
"Education;Sports;" \
false
-USES= bison gmake qmake
+USES= bison gmake qmake qt:4
USE_GL= gl glu
-USE_QT4= corelib gui linguist moc_build network opengl \
+USE_QT= corelib gui linguist moc_build network opengl \
qmake rcc script sql svg uic webkit xml
INFO= GC3-FAQ GC3-Release GC31-Release
diff --git a/games/gottet/Makefile b/games/gottet/Makefile
index 14405bc7e4be..0114d1687fd9 100644
--- a/games/gottet/Makefile
+++ b/games/gottet/Makefile
@@ -13,9 +13,9 @@ COMMENT= Tetris clone
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= compiler:c++11-lib qmake tar:bzip2
+USES= compiler:c++11-lib qmake qt:5 tar:bzip2
USE_GL= gl
-USE_QT5= core gui widgets \
+USE_QT= core gui widgets \
buildtools_build linguisttools_build
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/games/granatier-kde4/Makefile b/games/granatier-kde4/Makefile
index 949cabedaad5..5a88648cfdc4 100644
--- a/games/granatier-kde4/Makefile
+++ b/games/granatier-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= corelib gui xml \
+USE_QT= corelib gui xml \
moc_build qmake_build rcc_build uic_build
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
diff --git a/games/granatier/Makefile b/games/granatier/Makefile
index 91a15fb244cd..6e4dc9656284 100644
--- a/games/granatier/Makefile
+++ b/games/granatier/Makefile
@@ -7,11 +7,11 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource gettext kde:5 tar:xz
+USES= cmake:outsource gettext kde:5 qt:5 tar:xz
USE_KDE= attica auth codecs config configwidgets coreaddons crash \
dbusaddons ecm guiaddons i18n iconthemes itemviews kio \
libkdegames newstuff notifyconfig service widgetsaddons xmlgui
-USE_QT5= core dbus gui network qml quick svg widgets xml \
+USE_QT= core dbus gui network qml quick svg widgets xml \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/hedgewars/Makefile b/games/hedgewars/Makefile
index ad7aefd54bb0..4fb75712fe9f 100644
--- a/games/hedgewars/Makefile
+++ b/games/hedgewars/Makefile
@@ -17,10 +17,10 @@ LICENSE_COMB= multi
LIB_DEPENDS= libphysfs.so:devel/physfs \
libpng.so:graphics/png
-USES= cmake:noninja desktop-file-utils fpc lua:51 tar:bzip2 pkgconfig
+USES= cmake:noninja desktop-file-utils fpc lua:51 qt:5 tar:bzip2 pkgconfig
USE_SDL= sdl2 mixer2 image2 ttf2 net2
USE_FPC= opengl libpng rtl-objpas
-USE_QT5= core gui widgets network \
+USE_QT= core gui widgets network \
qmake_build buildtools_build \
linguisttools_build
LLD_UNSAFE= yes
diff --git a/games/hexalate/Makefile b/games/hexalate/Makefile
index 8b9f15f23ae8..36e0b272ba2c 100644
--- a/games/hexalate/Makefile
+++ b/games/hexalate/Makefile
@@ -14,8 +14,8 @@ COMMENT= Color matching game
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= compiler:c++11-lib qmake tar:bzip2
-USE_QT5= core gui widgets buildtools_build linguisttools_build
+USES= compiler:c++11-lib qmake qt:5 tar:bzip2
+USE_QT= core gui widgets buildtools_build linguisttools_build
USE_GL= gl
INSTALLS_ICONS= yes
diff --git a/games/jag/Makefile b/games/jag/Makefile
index 5bf1a35f831d..589996a6d9da 100644
--- a/games/jag/Makefile
+++ b/games/jag/Makefile
@@ -14,11 +14,11 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= 2D arcade-puzzle game like KDiamonds
-USES= dos2unix qmake zip
+USES= dos2unix qmake qt:4 zip
USE_SDL= sdl mixer
DOS2UNIX_FILES= Game.pro
USE_XORG= x11
-USE_QT4= uic_build moc_build rcc_build \
+USE_QT= uic_build moc_build rcc_build \
corelib svg xml opengl network
PLIST_FILES= bin/${PORTNAME}
diff --git a/games/kajongg-kde4/Makefile b/games/kajongg-kde4/Makefile
index 1271b4289b27..71aa4a219397 100644
--- a/games/kajongg-kde4/Makefile
+++ b/games/kajongg-kde4/Makefile
@@ -11,9 +11,9 @@ COMMENT= ${${PORTNAME}_DESC}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twisted>=0:devel/py-twisted@${PY_FLAVOR}
NO_ARCH= yes
-USES= cmake:outsource kde:4 python:2.7 tar:xz shebangfix sqlite
+USES= cmake:outsource kde:4 python:2.7 qt:4 tar:xz shebangfix sqlite
USE_KDE= kdelibs pykde4 automoc4
-USE_QT4= moc_build qmake_build rcc_build uic_build
+USE_QT= moc_build qmake_build rcc_build uic_build
CMAKE_ARGS= -DINSTALL_KAJONGG:BOOL=TRUE
SHEBANG_FILES= src/kajongg.py \
diff --git a/games/kajongg/Makefile b/games/kajongg/Makefile
index e4630ac075f0..55121f28d78d 100644
--- a/games/kajongg/Makefile
+++ b/games/kajongg/Makefile
@@ -11,11 +11,11 @@ COMMENT= ${${PORTNAME}_DESC}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twisted>=0:devel/py-twisted@${PY_FLAVOR}
-USES= cmake:outsource pkgconfig python:3 pyqt:5 kde:5 tar:xz \
+USES= cmake:outsource pkgconfig python:3 pyqt:5 kde:5 qt:5 tar:xz \
sqlite
USE_KDE= config doctools ecm
USE_PYQT= core gui svg widgets
-USE_QT5= core gui svg widgets \
+USE_QT= core gui svg widgets \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/kanagram-kde4/Makefile b/games/kanagram-kde4/Makefile
index 12fa8a6edb5d..dfe5f607adb9 100644
--- a/games/kanagram-kde4/Makefile
+++ b/games/kanagram-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= Letter order game for KDE 4
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkeduvocdocument automoc4
-USE_QT4= xml corelib declarative gui opengl script xml \
+USE_QT= xml corelib declarative gui opengl script xml \
moc_build qmake_build rcc_build uic_build
.include <bsd.port.mk>
diff --git a/games/kanagram/Makefile b/games/kanagram/Makefile
index 28fe80ef35ab..3d64e8e7247c 100644
--- a/games/kanagram/Makefile
+++ b/games/kanagram/Makefile
@@ -7,11 +7,11 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= Letter order game for KDE
-USES= cmake:outsource gettext kde:5 tar:xz
+USES= cmake:outsource gettext kde:5 qt:5 tar:xz
USE_KDE= attica auth codecs config configwidgets coreaddons crash \
doctools ecm i18n kdeclarative kio libkeduvocdocument newstuff \
package service sonnet widgetsaddons xmlgui
-USE_QT5= core dbus gui network opengl qml quick speech svg widgets xml \
+USE_QT= core dbus gui network opengl qml quick speech svg widgets xml \
buildtools_build qmake_build
.include <bsd.port.mk>
diff --git a/games/kapman-kde4/Makefile b/games/kapman-kde4/Makefile
index 226d031de0cd..1860826d1f40 100644
--- a/games/kapman-kde4/Makefile
+++ b/games/kapman-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= corelib gui xml \
+USE_QT= corelib gui xml \
moc_build qmake_build rcc_build uic_build
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
diff --git a/games/kapman/Makefile b/games/kapman/Makefile
index 1fab00c48dad..05d86978e5aa 100644
--- a/games/kapman/Makefile
+++ b/games/kapman/Makefile
@@ -7,11 +7,11 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource gettext kde:5 tar:xz
+USES= cmake:outsource gettext kde:5 qt:5 tar:xz
USE_KDE= auth codecs completion config configwidgets coreaddons crash \
dbusaddons ecm i18n libkdegames notifyconfig widgetsaddons \
windowsystem xmlgui
-USE_QT5= core dbus gui network qml quick svg widgets xml \
+USE_QT= core dbus gui network qml quick svg widgets xml \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/kardsgt/Makefile b/games/kardsgt/Makefile
index 95ed595da13f..21c3c471b4b0 100644
--- a/games/kardsgt/Makefile
+++ b/games/kardsgt/Makefile
@@ -13,8 +13,8 @@ COMMENT= Card game suite
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= qmake
-USE_QT4= assistantclient corelib gui network \
+USES= qmake qt:4
+USE_QT= assistantclient corelib gui network \
moc_build rcc_build uic_build
ALL_TARGET= qmake release
MAKE_JOBS_UNSAFE= yes
diff --git a/games/katomic-kde4/Makefile b/games/katomic-kde4/Makefile
index 2358dda2bd7a..239ffdbcb7bb 100644
--- a/games/katomic-kde4/Makefile
+++ b/games/katomic-kde4/Makefile
@@ -8,10 +8,10 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 shebangfix tar:xz
+USES= cmake:outsource kde:4 qt:4 shebangfix tar:xz
USE_KDE= kdelibs libkdegames automoc4
SHEBANG_FILES= katomic-levelset-upd.pl
-USE_QT4= moc_build qmake_build rcc_build uic_build
+USE_QT= moc_build qmake_build rcc_build uic_build
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
.include <bsd.port.mk>
diff --git a/games/katomic/Makefile b/games/katomic/Makefile
index df4ce7f56a99..2a4b573f2fcc 100644
--- a/games/katomic/Makefile
+++ b/games/katomic/Makefile
@@ -6,11 +6,11 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource gettext kde:5 shebangfix tar:xz
+USES= cmake:outsource gettext kde:5 qt:5 shebangfix tar:xz
USE_KDE= attica auth codecs config configwidgets coreaddons crash \
dbusaddons ecm guiaddons i18n iconthemes itemviews kio \
libkdegames newstuff notifyconfig service widgetsaddons xmlgui
-USE_QT5= core dbus gui network qml quick widgets xml \
+USE_QT= core dbus gui network qml quick widgets xml \
buildtools_build qmake_build
SHEBANG_FILES= katomic-levelset-upd.pl
diff --git a/games/kblackbox-kde4/Makefile b/games/kblackbox-kde4/Makefile
index add79a706a14..8c7dc828723a 100644
--- a/games/kblackbox-kde4/Makefile
+++ b/games/kblackbox-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= corelib gui xml \
+USE_QT= corelib gui xml \
moc_build qmake_build rcc_build uic_build
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
diff --git a/games/kblackbox/Makefile b/games/kblackbox/Makefile
index 37e48e9c3307..a79e5260b596 100644
--- a/games/kblackbox/Makefile
+++ b/games/kblackbox/Makefile
@@ -7,11 +7,11 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource gettext kde:5 tar:xz
+USES= cmake:outsource gettext kde:5 qt:5 tar:xz
USE_KDE= archive auth codecs config configwidgets coreaddons crash \
dbusaddons ecm guiaddons i18n iconthemes libkdegames sonnet \
textwidgets widgetsaddons xmlgui
-USE_QT5= core dbus gui network qml quick svg widgets xml \
+USE_QT= core dbus gui network qml quick svg widgets xml \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/kblocks-kde4/Makefile b/games/kblocks-kde4/Makefile
index c3c7e8767114..8765357fdf4f 100644
--- a/games/kblocks-kde4/Makefile
+++ b/games/kblocks-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= corelib gui network \
+USE_QT= corelib gui network \
moc_build qmake_build rcc_build uic_build
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
diff --git a/games/kblocks/Makefile b/games/kblocks/Makefile
index e1ac976bf911..6a18b5dd3892 100644
--- a/games/kblocks/Makefile
+++ b/games/kblocks/Makefile
@@ -8,11 +8,11 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource gettext kde:5 tar:xz
+USES= cmake:outsource gettext kde:5 qt:5 tar:xz
USE_KDE= auth codecs completion config configwidgets coreaddons crash \
dbusaddons i18n itemmodels kio libkdegames newstuff \
notifyconfig textwidgets widgetsaddons windowsystem xmlgui
-USE_QT5= core dbus gui network phonon4 qml quick svg testlib widgets xml \
+USE_QT= core dbus gui network phonon4 qml quick svg testlib widgets xml \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/kbounce-kde4/Makefile b/games/kbounce-kde4/Makefile
index 162e56ed873a..50f4cb2fd059 100644
--- a/games/kbounce-kde4/Makefile
+++ b/games/kbounce-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= moc_build qmake_build rcc_build uic_build
+USE_QT= moc_build qmake_build rcc_build uic_build
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
.include <bsd.port.mk>
diff --git a/games/kbounce/Makefile b/games/kbounce/Makefile
index 23bf353e4174..0e9764d4c780 100644
--- a/games/kbounce/Makefile
+++ b/games/kbounce/Makefile
@@ -8,11 +8,11 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource gettext kde:5 tar:xz
+USES= cmake:outsource gettext kde:5 qt:5 tar:xz
USE_KDE= auth codecs completion config configwidgets coreaddons crash \
dbusaddons ecm guiaddons i18n iconthemes jobwidgets kio \
libkdegames notifyconfig service textwidgets widgetsaddons xmlgui
-USE_QT5= core dbus gui network phonon4 qml quick svg testlib widgets xml \
+USE_QT= core dbus gui network phonon4 qml quick svg testlib widgets xml \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/kbreakout-kde4/Makefile b/games/kbreakout-kde4/Makefile
index 968bc1fac6bd..6df05374d90f 100644
--- a/games/kbreakout-kde4/Makefile
+++ b/games/kbreakout-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= corelib gui xml \
+USE_QT= corelib gui xml \
moc_build qmake_build rcc_build uic_build
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
diff --git a/games/kbreakout/Makefile b/games/kbreakout/Makefile
index 880b8a4c1ef4..80903ddf4bd0 100644
--- a/games/kbreakout/Makefile
+++ b/games/kbreakout/Makefile
@@ -7,11 +7,11 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource gettext kde:5 tar:xz
+USES= cmake:outsource gettext kde:5 qt:5 tar:xz
USE_KDE= auth codecs completion config configwidgets coreaddons crash \
dbusaddons ecm guiaddons i18n iconthemes jobwidgets kio libkdegames \
service widgetsaddons xmlgui
-USE_QT5= core dbus gui network qml quick svg widgets xml \
+USE_QT= core dbus gui network qml quick svg widgets xml \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/kcheckers/Makefile b/games/kcheckers/Makefile
index b59e0e178672..fe7a8939fd81 100644
--- a/games/kcheckers/Makefile
+++ b/games/kcheckers/Makefile
@@ -10,8 +10,8 @@ MASTER_SITES= SF/qcheckers/${PORTNAME}/${PORTVERSION}
MAINTAINER= johans@FreeBSD.org
COMMENT= Qt version of the classic boardgame checkers
-USES= qmake
-USE_QT4= corelib gui moc_build rcc_build
+USES= qmake qt:4
+USE_QT= corelib gui moc_build rcc_build
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/common.h
diff --git a/games/kdiamond-kde4/Makefile b/games/kdiamond-kde4/Makefile
index e9e981d6a103..cbe7bbfd07b8 100644
--- a/games/kdiamond-kde4/Makefile
+++ b/games/kdiamond-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= moc_build qmake_build rcc_build uic_build
+USE_QT= moc_build qmake_build rcc_build uic_build
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
.include <bsd.port.mk>
diff --git a/games/kdiamond/Makefile b/games/kdiamond/Makefile
index e8f11e337a37..14dde980f6cc 100644
--- a/games/kdiamond/Makefile
+++ b/games/kdiamond/Makefile
@@ -7,11 +7,11 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource gettext kde:5 tar:xz
+USES= cmake:outsource gettext kde:5 qt:5 tar:xz
USE_KDE= auth codecs config configwidgets coreaddons crash dbusaddons \
doctools ecm guiaddons i18n iconthemes libkdegames \
notifications notifyconfig widgetsaddons xmlgui
-USE_QT5= core dbus gui network qml quick widgets xml \
+USE_QT= core dbus gui network qml quick widgets xml \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/kfourinline-kde4/Makefile b/games/kfourinline-kde4/Makefile
index f3313d8d72b8..087c9cc71594 100644
--- a/games/kfourinline-kde4/Makefile
+++ b/games/kfourinline-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= moc_build qmake_build rcc_build uic_build
+USE_QT= moc_build qmake_build rcc_build uic_build
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
.include <bsd.port.mk>
diff --git a/games/kfourinline/Makefile b/games/kfourinline/Makefile
index 4ae7b2c75915..840bcbe1a8b4 100644
--- a/games/kfourinline/Makefile
+++ b/games/kfourinline/Makefile
@@ -7,12 +7,12 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource gettext kde:5 tar:xz
+USES= cmake:outsource gettext kde:5 qt:5 tar:xz
USE_KDE= auth codecs completion config configwidgets coreaddons crash \
dbusaddons dnssd ecm i18n iconthemes itemmodels itemviews \
kdeclarative kdelibs4support kio libkdegames notifyconfig \
widgetsaddons xmlgui
-USE_QT5= core dbus gui network qml quick svg widgets xml \
+USE_QT= core dbus gui network qml quick svg widgets xml \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/kgoldrunner-kde4/Makefile b/games/kgoldrunner-kde4/Makefile
index e1a953ca0a4c..2105e64d8380 100644
--- a/games/kgoldrunner-kde4/Makefile
+++ b/games/kgoldrunner-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= moc_build qmake_build rcc_build uic_build
+USE_QT= moc_build qmake_build rcc_build uic_build
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
.include <bsd.port.mk>
diff --git a/games/kgoldrunner/Makefile b/games/kgoldrunner/Makefile
index 98215e1b89cf..a97a007a89a4 100644
--- a/games/kgoldrunner/Makefile
+++ b/games/kgoldrunner/Makefile
@@ -7,11 +7,11 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:5 tar:xz
+USES= cmake:outsource kde:5 qt:5 tar:xz
USE_KDE= auth codecs completion config configwidgets coreaddons \
crash dbusaddons ecm i18n kio libkdegames service \
widgetsaddons xmlgui
-USE_QT5= core dbus gui network qml quick widgets xml \
+USE_QT= core dbus gui network qml quick widgets xml \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/khangman-kde4/Makefile b/games/khangman-kde4/Makefile
index 5e6e9089863c..cea5683f9470 100644
--- a/games/khangman-kde4/Makefile
+++ b/games/khangman-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= Hangman game for KDE 4
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkeduvocdocument automoc4
-USE_QT4= corelib declarative gui opengl script xml \
+USE_QT= corelib declarative gui opengl script xml \
moc_build qmake_build rcc_build uic_build
USE_LDCONFIG= yes
diff --git a/games/khangman/Makefile b/games/khangman/Makefile
index 5738ea3cf203..e75abebd82eb 100644
--- a/games/khangman/Makefile
+++ b/games/khangman/Makefile
@@ -7,11 +7,11 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= Hangman game for KDE 4
-USES= cmake:outsource gettext kde:5 tar:xz
+USES= cmake:outsource gettext kde:5 qt:5 tar:xz
USE_KDE= attica auth codecs completion config configwidgets coreaddons \
crash doctools ecm i18n kdeclarative libkeduvocdocument \
newstuff notifications package service widgetsaddons xmlgui
-USE_QT5= core dbus gui network qml quick svg widgets xml \
+USE_QT= core dbus gui network qml quick svg widgets xml \
buildtools_build qmake_build
USE_LDCONFIG= yes
diff --git a/games/kigo-kde4/Makefile b/games/kigo-kde4/Makefile
index 189e6abaa22e..26fb5d9a57cc 100644
--- a/games/kigo-kde4/Makefile
+++ b/games/kigo-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= moc_build qmake_build rcc_build uic_build
+USE_QT= moc_build qmake_build rcc_build uic_build
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
.include <bsd.port.mk>
diff --git a/games/kigo/Makefile b/games/kigo/Makefile
index 6fc64770592f..765f3f49e0ce 100644
--- a/games/kigo/Makefile
+++ b/games/kigo/Makefile
@@ -7,12 +7,12 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:5 tar:xz
+USES= cmake:outsource kde:5 qt:5 tar:xz
USE_KDE= attica auth codecs completion config configwidgets \
coreaddons crash dbusaddons ecm i18n jobwidgets kio \
libkdegames newstuff notifyconfig service sonnet textwidgets \
widgetsaddons xmlgui
-USE_QT5= core dbus gui network qml quick svg widgets xml \
+USE_QT= core dbus gui network qml quick svg widgets xml \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/killbots-kde4/Makefile b/games/killbots-kde4/Makefile
index 7e5c95f32e15..804e515829cb 100644
--- a/games/killbots-kde4/Makefile
+++ b/games/killbots-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= corelib gui qtestlib xml \
+USE_QT= corelib gui qtestlib xml \
moc_build qmake_build rcc_build uic_build
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
diff --git a/games/killbots/Makefile b/games/killbots/Makefile
index ce0e134cece5..ca6fac2447c7 100644
--- a/games/killbots/Makefile
+++ b/games/killbots/Makefile
@@ -7,11 +7,11 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource gettext kde:5 tar:xz
+USES= cmake:outsource gettext kde:5 qt:5 tar:xz
USE_KDE= auth codecs completion config configwidgets coreaddons crash \
dbusaddons ecm guiaddons i18n iconthemes itemviews kio \
libkdegames notifyconfig widgetsaddons xmlgui
-USE_QT5= core dbus gui network qml quick widgets xml \
+USE_QT= core dbus gui network qml quick widgets xml \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/kiriki-kde4/Makefile b/games/kiriki-kde4/Makefile
index 2f015bb2326f..da8f0776c6da 100644
--- a/games/kiriki-kde4/Makefile
+++ b/games/kiriki-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= moc_build qmake_build rcc_build uic_build
+USE_QT= moc_build qmake_build rcc_build uic_build
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
.include <bsd.port.mk>
diff --git a/games/kiriki/Makefile b/games/kiriki/Makefile
index 60eb27981424..bdf9d4464137 100644
--- a/games/kiriki/Makefile
+++ b/games/kiriki/Makefile
@@ -7,10 +7,10 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource gettext kde:5 tar:xz
+USES= cmake:outsource gettext kde:5 qt:5 tar:xz
USE_KDE= auth codecs config configwidgets coreaddons crash dbusaddons \
ecm guiaddons i18n iconthemes kio libkdegames widgetsaddons xmlgui
-USE_QT5= core dbus gui network printsupport qml quick svg widgets xml \
+USE_QT= core dbus gui network printsupport qml quick svg widgets xml \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/kjumpingcube-kde4/Makefile b/games/kjumpingcube-kde4/Makefile
index f7acfce20c22..f0f5de0c36cf 100644
--- a/games/kjumpingcube-kde4/Makefile
+++ b/games/kjumpingcube-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= moc_build qmake_build rcc_build uic_build
+USE_QT= moc_build qmake_build rcc_build uic_build
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
.include <bsd.port.mk>
diff --git a/games/kjumpingcube/Makefile b/games/kjumpingcube/Makefile
index 0f83279c76f3..842ae64afacf 100644
--- a/games/kjumpingcube/Makefile
+++ b/games/kjumpingcube/Makefile
@@ -7,12 +7,12 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource gettext kde:5 tar:xz
+USES= cmake:outsource gettext kde:5 qt:5 tar:xz
USE_KDE= auth codecs completion config configwidgets coreaddons crash \
dbusaddons ecm guiaddons i18n iconthemes itemviews jobwidgets \
kio libkdegames newstuff notifyconfig service widgetsaddons \
xmlgui
-USE_QT5= core dbus gui network qml quick svg widgets xml \
+USE_QT= core dbus gui network qml quick svg widgets xml \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/klickety-kde4/Makefile b/games/klickety-kde4/Makefile
index 7d5ec5f0f976..e122b823cb62 100644
--- a/games/klickety-kde4/Makefile
+++ b/games/klickety-kde4/Makefile
@@ -8,10 +8,10 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 shebangfix tar:xz
+USES= cmake:outsource kde:4 qt:4 shebangfix tar:xz
USE_KDE= kdelibs libkdegames automoc4
SHEBANG_FILES= klickety-2.0-inherit-ksame-highscore.pl
-USE_QT4= corelib gui xml \
+USE_QT= corelib gui xml \
moc_build qmake_build rcc_build uic_build
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
diff --git a/games/klickety/Makefile b/games/klickety/Makefile
index 85d9013c71f0..f11d3ba1b05a 100644
--- a/games/klickety/Makefile
+++ b/games/klickety/Makefile
@@ -7,13 +7,13 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource gettext kde:5 shebangfix tar:xz
+USES= cmake:outsource gettext kde:5 qt:5 shebangfix tar:xz
SHEBANG_FILES= klickety-2.0-inherit-ksame-highscore.pl
USE_KDE= auth bookmarks codecs completion config configwidgets \
coreaddons crash dbusaddons doctools ecm i18n itemviews \
jobwidgets kio libkdegames notifications notifyconfig service \
solid widgetsaddons xmlgui
-USE_QT5= core dbus gui network qml quick widgets xml \
+USE_QT= core dbus gui network qml quick widgets xml \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/klines-kde4/Makefile b/games/klines-kde4/Makefile
index 052037ecdd8f..0f64a085077f 100644
--- a/games/klines-kde4/Makefile
+++ b/games/klines-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= moc_build qmake_build rcc_build uic_build
+USE_QT= moc_build qmake_build rcc_build uic_build
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
.include <bsd.port.mk>
diff --git a/games/klines/Makefile b/games/klines/Makefile
index 8acbd14470a8..ea0f95dbee66 100644
--- a/games/klines/Makefile
+++ b/games/klines/Makefile
@@ -7,11 +7,11 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource gettext kde:5 tar:xz
+USES= cmake:outsource gettext kde:5 qt:5 tar:xz
USE_KDE= auth codecs config configwidgets coreaddons crash dbusaddons \
ecm guiaddons i18n iconthemes itemviews kio libkdegames \
newstuff service widgetsaddons xmlgui
-USE_QT5= core dbus gui network qml quick svg widgets xml \
+USE_QT= core dbus gui network qml quick svg widgets xml \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/kmahjongg-kde4/Makefile b/games/kmahjongg-kde4/Makefile
index 5d88f255729b..36d18e247785 100644
--- a/games/kmahjongg-kde4/Makefile
+++ b/games/kmahjongg-kde4/Makefile
@@ -10,9 +10,9 @@ COMMENT= ${${PORTNAME}_DESC}
LIB_DEPENDS= libkmahjongglib.so:games/libkmahjongg-kde4
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= moc_build qmake_build rcc_build uic_build
+USE_QT= moc_build qmake_build rcc_build uic_build
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
.include <bsd.port.mk>
diff --git a/games/kmahjongg/Makefile b/games/kmahjongg/Makefile
index 582e79f21667..0cef0f366f59 100644
--- a/games/kmahjongg/Makefile
+++ b/games/kmahjongg/Makefile
@@ -9,11 +9,11 @@ COMMENT= ${${PORTNAME}_DESC}
LIB_DEPENDS= libKF5KMahjongglib.so:games/libkmahjongg
-USES= cmake:outsource gettext kde:5 tar:xz
+USES= cmake:outsource gettext kde:5 qt:5 tar:xz
USE_KDE= auth codecs completion config configwidgets coreaddons crash \
dbusaddons doctools ecm i18n kdeclarative libkdegames newstuff \
widgetsaddons xmlgui
-USE_QT5= core dbus gui network qml quick svg widgets xml \
+USE_QT= core dbus gui network qml quick svg widgets xml \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/kmines-kde4/Makefile b/games/kmines-kde4/Makefile
index b69c1ef29d35..00f135479d55 100644
--- a/games/kmines-kde4/Makefile
+++ b/games/kmines-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= moc_build qmake_build rcc_build uic_build
+USE_QT= moc_build qmake_build rcc_build uic_build
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
.include <bsd.port.mk>
diff --git a/games/kmines/Makefile b/games/kmines/Makefile
index 62c066bea30c..49f22a9c52a1 100644
--- a/games/kmines/Makefile
+++ b/games/kmines/Makefile
@@ -7,11 +7,11 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource gettext kde:5 tar:xz
+USES= cmake:outsource gettext kde:5 qt:5 tar:xz
USE_KDE= auth codecs config configwidgets coreaddons crash dbusaddons \
ecm i18n kio libkdegames notifyconfig sonnet textwidgets \
widgetsaddons xmlgui
-USE_QT5= core dbus gui network qml quick widgets xml \
+USE_QT= core dbus gui network qml quick widgets xml \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/knavalbattle-kde4/Makefile b/games/knavalbattle-kde4/Makefile
index 1e1c1181e7a9..9f1a9db5c23c 100644
--- a/games/knavalbattle-kde4/Makefile
+++ b/games/knavalbattle-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= corelib gui network xml \
+USE_QT= corelib gui network xml \
moc_build qmake_build rcc_build uic_build
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
diff --git a/games/knavalbattle/Makefile b/games/knavalbattle/Makefile
index ccbfe1426c8a..c12af0ad4963 100644
--- a/games/knavalbattle/Makefile
+++ b/games/knavalbattle/Makefile
@@ -7,11 +7,11 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource gettext kde:5 tar:xz
+USES= cmake:outsource gettext kde:5 qt:5 tar:xz
USE_KDE= auth codecs completion config configwidgets coreaddons crash \
dbusaddons dnssd doctools ecm i18n libkdegames sonnet \
textwidgets widgetsaddons xmlgui
-USE_QT5= core dbus gui network qml quick widgets xml \
+USE_QT= core dbus gui network qml quick widgets xml \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/knetwalk-kde4/Makefile b/games/knetwalk-kde4/Makefile
index 5c088f32ba7f..898b1e126160 100644
--- a/games/knetwalk-kde4/Makefile
+++ b/games/knetwalk-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= moc_build qmake_build rcc_build uic_build
+USE_QT= moc_build qmake_build rcc_build uic_build
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
.include <bsd.port.mk>
diff --git a/games/knetwalk/Makefile b/games/knetwalk/Makefile
index b74d7e75ca4f..c553931d05e5 100644
--- a/games/knetwalk/Makefile
+++ b/games/knetwalk/Makefile
@@ -7,11 +7,11 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource gettext kde:5 tar:xz
+USES= cmake:outsource gettext kde:5 qt:5 tar:xz
USE_KDE= auth codecs config configwidgets coreaddons crash dbusaddons \
ecm guiaddons i18n iconthemes itemviews kio libkdegames \
notifyconfig sonnet textwidgets widgetsaddons xmlgui
-USE_QT5= core dbus gui network qml quick svg widgets xml \
+USE_QT= core dbus gui network qml quick svg widgets xml \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/knights-kde4/Makefile b/games/knights-kde4/Makefile
index fc3b505a810d..41c128cd2ec7 100644
--- a/games/knights-kde4/Makefile
+++ b/games/knights-kde4/Makefile
@@ -14,9 +14,9 @@ RUN_DEPENDS= ${LOCALBASE}/bin/gnuchess:games/gnuchess
LICENSE= GPLv2
-USES= cmake:outsource kde:4 tar:bzip2
+USES= cmake:outsource kde:4 qt:4 tar:bzip2
USE_KDE= kdelibs automoc4 workspace libkdegames
-USE_QT4= qmake_build moc_build rcc_build uic_build
+USE_QT= qmake_build moc_build rcc_build uic_build
OPTIONS_DEFINE= DOCS NLS
diff --git a/games/kolf-kde4/Makefile b/games/kolf-kde4/Makefile
index c6c2cc5c7383..e231832b02d6 100644
--- a/games/kolf-kde4/Makefile
+++ b/games/kolf-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= moc_build qmake_build rcc_build uic_build
+USE_QT= moc_build qmake_build rcc_build uic_build
USE_LDCONFIG= yes
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
diff --git a/games/kolf/Makefile b/games/kolf/Makefile
index 8f9323394b5f..406c1283124c 100644
--- a/games/kolf/Makefile
+++ b/games/kolf/Makefile
@@ -8,13 +8,13 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:5 tar:xz
+USES= cmake:outsource kde:5 qt:5 tar:xz
USE_KDE= auth bookmarks codecs completion config configwidgets \
coreaddons crash dbusaddons ecm guiaddons i18n iconthemes \
itemviews jobwidgets kdelibs4support kio libkdegames \
notifications parts service solid sonnet textwidgets \
unitconversion widgetsaddons windowsystem xmlgui
-USE_QT5= core dbus gui network phonon4 printsupport qml quick \
+USE_QT= core dbus gui network phonon4 printsupport qml quick \
widgets xml \
buildtools_build qmake_build
diff --git a/games/kollision-kde4/Makefile b/games/kollision-kde4/Makefile
index 6cfc68b36036..6a9bd64baec9 100644
--- a/games/kollision-kde4/Makefile
+++ b/games/kollision-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= moc_build qmake_build rcc_build uic_build
+USE_QT= moc_build qmake_build rcc_build uic_build
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
.include <bsd.port.mk>
diff --git a/games/kollision/Makefile b/games/kollision/Makefile
index 27acb8c97722..13ad798ad450 100644
--- a/games/kollision/Makefile
+++ b/games/kollision/Makefile
@@ -8,11 +8,11 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource gettext kde:5 tar:xz
+USES= cmake:outsource gettext kde:5 qt:5 tar:xz
USE_KDE= auth codecs config configwidgets coreaddons crash dbusaddons \
ecm i18n kio libkdegames newstuff notifyconfig textwidgets \
widgetsaddons xmlgui
-USE_QT5= core dbus gui network phonon4 qml quick svg widgets xml \
+USE_QT= core dbus gui network phonon4 qml quick svg widgets xml \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/konquest-kde4/Makefile b/games/konquest-kde4/Makefile
index 92a11e72a89e..44bfd56b8cd6 100644
--- a/games/konquest-kde4/Makefile
+++ b/games/konquest-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= moc_build qmake_build rcc_build uic_build
+USE_QT= moc_build qmake_build rcc_build uic_build
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
.include <bsd.port.mk>
diff --git a/games/konquest/Makefile b/games/konquest/Makefile
index 5c1119b87532..b5a61c782e8b 100644
--- a/games/konquest/Makefile
+++ b/games/konquest/Makefile
@@ -7,11 +7,11 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:5 tar:xz
+USES= cmake:outsource kde:5 qt:5 tar:xz
USE_KDE= auth codecs config configwidgets coreaddons crash \
dbusaddons ecm guiaddons i18n libkdegames widgetsaddons \
xmlgui
-USE_QT5= core dbus gui network qml quick svg widgets xml \
+USE_QT= core dbus gui network qml quick svg widgets xml \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/kpat-kde4/Makefile b/games/kpat-kde4/Makefile
index 3f0118ab4cad..421c7b9d8935 100644
--- a/games/kpat-kde4/Makefile
+++ b/games/kpat-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 shared-mime-info tar:xz
+USES= cmake:outsource kde:4 qt:4 shared-mime-info tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= moc_build qmake_build rcc_build uic_build
+USE_QT= moc_build qmake_build rcc_build uic_build
post-patch:
${REINPLACE_CMD} -e '/^update_xdg_mimetypes/ d' \
diff --git a/games/kpat/Makefile b/games/kpat/Makefile
index a03f7b5eff3d..bc0b8c8ca81a 100644
--- a/games/kpat/Makefile
+++ b/games/kpat/Makefile
@@ -8,12 +8,12 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource gettext kde:5 shared-mime-info tar:xz
+USES= cmake:outsource gettext kde:5 qt:5 shared-mime-info tar:xz
USE_KDE= attica auth codecs completion config configwidgets coreaddons \
crash dbusaddons ecm guiaddons i18n iconthemes itemviews \
kdeclarative kio libkdegames newstuff notifyconfig service \
textwidgets widgetsaddons xmlgui
-USE_QT5= core dbus gui network phonon4 qml quick svg widgets xml \
+USE_QT= core dbus gui network phonon4 qml quick svg widgets xml \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/kreversi-kde4/Makefile b/games/kreversi-kde4/Makefile
index 1bd7067d71f8..4436ac738e34 100644
--- a/games/kreversi-kde4/Makefile
+++ b/games/kreversi-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= moc_build qmake_build rcc_build uic_build
+USE_QT= moc_build qmake_build rcc_build uic_build
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
.include <bsd.port.mk>
diff --git a/games/kreversi/Makefile b/games/kreversi/Makefile
index 5b1d9bb88c48..356750c3a897 100644
--- a/games/kreversi/Makefile
+++ b/games/kreversi/Makefile
@@ -7,12 +7,12 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:5 tar:xz
+USES= cmake:outsource kde:5 qt:5 tar:xz
USE_KDE= auth bookmarks codecs completion config configwidgets \
coreaddons crash dbusaddons ecm i18n iconthemes itemviews \
jobwidgets kdeclarative kio libkdegames package service \
solid widgetsaddons xmlgui
-USE_QT5= core dbus gui network qml quick svg widgets xml \
+USE_QT= core dbus gui network qml quick svg widgets xml \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/kshisen-kde4/Makefile b/games/kshisen-kde4/Makefile
index 74780fba8a4b..65931f0d41a5 100644
--- a/games/kshisen-kde4/Makefile
+++ b/games/kshisen-kde4/Makefile
@@ -10,9 +10,9 @@ COMMENT= ${${PORTNAME}_DESC}
LIB_DEPENDS= libkmahjongglib.so:games/libkmahjongg-kde4
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= moc_build qmake_build rcc_build uic_build
+USE_QT= moc_build qmake_build rcc_build uic_build
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
.include <bsd.port.mk>
diff --git a/games/kshisen/Makefile b/games/kshisen/Makefile
index ba9c4e563cf8..5859337757b4 100644
--- a/games/kshisen/Makefile
+++ b/games/kshisen/Makefile
@@ -9,11 +9,11 @@ COMMENT= ${${PORTNAME}_DESC}
LIB_DEPENDS= libKF5KMahjongglib.so:games/libkmahjongg
-USES= cmake:outsource gettext kde:5 tar:xz
+USES= cmake:outsource gettext kde:5 qt:5 tar:xz
USE_KDE= auth codecs completion config configwidgets coreaddons crash \
dbusaddons dnssd ecm i18n kdeclarative kio libkdegames \
newstuff widgetsaddons xmlgui
-USE_QT5= core dbus gui network qml quick svg widgets xml \
+USE_QT= core dbus gui network qml quick svg widgets xml \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/ksirk-kde4/Makefile b/games/ksirk-kde4/Makefile
index 6659cffff049..a718e5b913cb 100644
--- a/games/ksirk-kde4/Makefile
+++ b/games/ksirk-kde4/Makefile
@@ -10,9 +10,9 @@ COMMENT= ${${PORTNAME}_DESC}
LIB_DEPENDS= libqca.so:devel/qca@qt4
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= corelib gui corelib gui network qt3support svg xml \
+USE_QT= corelib gui corelib gui network qt3support svg xml \
moc_build qmake_build rcc_build uic_build
USE_LDCONFIG= yes
diff --git a/games/ksirk/Makefile b/games/ksirk/Makefile
index a6d5fd34ed50..ec277a9b1ae5 100644
--- a/games/ksirk/Makefile
+++ b/games/ksirk/Makefile
@@ -10,11 +10,11 @@ COMMENT= ${${PORTNAME}_DESC}
LIB_DEPENDS= libqca-qt5.so:devel/qca@qt5
-USES= cmake:outsource kde:5 tar:xz
+USES= cmake:outsource kde:5 qt:5 tar:xz
USE_KDE= attica auth codecs completion config configwidgets \
coreaddons crash i18n iconthemes kio libkdegames newstuff \
service wallet widgetsaddons xmlgui
-USE_QT5= core dbus gui network phonon4 qml quick svg widgets xml \
+USE_QT= core dbus gui network phonon4 qml quick svg widgets xml \
buildtools_build qmake_build
USE_LDCONFIG= yes
diff --git a/games/ksnakeduel-kde4/Makefile b/games/ksnakeduel-kde4/Makefile
index dbb4a4e5991b..b3fa173d0ea0 100644
--- a/games/ksnakeduel-kde4/Makefile
+++ b/games/ksnakeduel-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= moc_build qmake_build rcc_build uic_build
+USE_QT= moc_build qmake_build rcc_build uic_build
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
.include <bsd.port.mk>
diff --git a/games/ksnakeduel/Makefile b/games/ksnakeduel/Makefile
index 28916123422c..e9c787db2995 100644
--- a/games/ksnakeduel/Makefile
+++ b/games/ksnakeduel/Makefile
@@ -7,11 +7,11 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:5 tar:xz
+USES= cmake:outsource kde:5 qt:5 tar:xz
USE_KDE= auth codecs completion config configwidgets coreaddons \
crash dbusaddons ecm guiaddons i18n libkdegames \
widgetsaddons xmlgui
-USE_QT5= core dbus gui network qml quick svg widgets xml \
+USE_QT= core dbus gui network qml quick svg widgets xml \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/kspaceduel-kde4/Makefile b/games/kspaceduel-kde4/Makefile
index a2a3b5009b81..1122d928355d 100644
--- a/games/kspaceduel-kde4/Makefile
+++ b/games/kspaceduel-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= moc_build qmake_build rcc_build uic_build
+USE_QT= moc_build qmake_build rcc_build uic_build
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
.include <bsd.port.mk>
diff --git a/games/kspaceduel/Makefile b/games/kspaceduel/Makefile
index e47c200ec619..2e6db28706fe 100644
--- a/games/kspaceduel/Makefile
+++ b/games/kspaceduel/Makefile
@@ -7,10 +7,10 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:5 tar:xz
+USES= cmake:outsource kde:5 qt:5 tar:xz
USE_KDE= auth codecs completion config configwidgets coreaddons \
crash dbusaddons ecm i18n libkdegames widgetsaddons xmlgui
-USE_QT5= core dbus gui network qml quick svg widgets xml \
+USE_QT= core dbus gui network qml quick svg widgets xml \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/ksquares-kde4/Makefile b/games/ksquares-kde4/Makefile
index bcddd12fc52d..70818357d203 100644
--- a/games/ksquares-kde4/Makefile
+++ b/games/ksquares-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= moc_build qmake_build rcc_build uic_build
+USE_QT= moc_build qmake_build rcc_build uic_build
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
.include <bsd.port.mk>
diff --git a/games/ksquares/Makefile b/games/ksquares/Makefile
index 9b40bffda785..cff3d106b311 100644
--- a/games/ksquares/Makefile
+++ b/games/ksquares/Makefile
@@ -7,11 +7,11 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource gettext kde:5 tar:xz
+USES= cmake:outsource gettext kde:5 qt:5 tar:xz
USE_KDE= auth codecs completion config configwidgets coreaddons crash \
dbusaddons ecm guiaddons i18n iconthemes itemviews kio \
libkdegames notifyconfig widgetsaddons xmlgui
-USE_QT5= core dbus gui network qml quick widgets xml \
+USE_QT= core dbus gui network qml quick widgets xml \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/ksudoku-kde4/Makefile b/games/ksudoku-kde4/Makefile
index eb6081ee317d..32ca2ecba10d 100644
--- a/games/ksudoku-kde4/Makefile
+++ b/games/ksudoku-kde4/Makefile
@@ -8,10 +8,10 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_GL= glu
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= corelib gui corelib gui opengl \
+USE_QT= corelib gui corelib gui opengl \
moc_build qmake_build rcc_build uic_build
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
diff --git a/games/ksudoku/Makefile b/games/ksudoku/Makefile
index ebdd1445848e..6dcfb66cac73 100644
--- a/games/ksudoku/Makefile
+++ b/games/ksudoku/Makefile
@@ -7,12 +7,12 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:5 tar:xz
+USES= cmake:outsource 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 \
libkdegames service widgetsaddons xmlgui
-USE_QT5= core dbus gui network opengl printsupport qml quick \
+USE_QT= core dbus gui network opengl printsupport qml quick \
svg widgets xml \
buildtools_build qmake_build
diff --git a/games/ktuberling-kde4/Makefile b/games/ktuberling-kde4/Makefile
index e3c69a000e3e..cbe7c0aad340 100644
--- a/games/ktuberling-kde4/Makefile
+++ b/games/ktuberling-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= moc_build qmake_build rcc_build uic_build
+USE_QT= moc_build qmake_build rcc_build uic_build
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
.include <bsd.port.mk>
diff --git a/games/ktuberling/Makefile b/games/ktuberling/Makefile
index 2ae09a770abf..15b560306758 100644
--- a/games/ktuberling/Makefile
+++ b/games/ktuberling/Makefile
@@ -8,14 +8,14 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource gettext kde:5 tar:xz
+USES= cmake:outsource gettext kde:5 qt:5 tar:xz
USE_KDE= auth bookmarks codecs completion config configwidgets \
coreaddons crash dbusaddons ecm emoticons guiaddons i18n \
iconthemes init itemmodels itemviews jobwidgets \
kdelibs4support kio libkdegames newstuff notifications \
notifyconfig parts service solid sonnet textwidgets \
unitconversion widgetsaddons windowsystem xmlgui
-USE_QT5= core dbus gui multimedia network phonon4 printsupport qml \
+USE_QT= core dbus gui multimedia network phonon4 printsupport qml \
quick svg testlib widgets xml \
buildtools_build qmake_build
diff --git a/games/kubrick-kde4/Makefile b/games/kubrick-kde4/Makefile
index 8914d3776aed..ef22270c277e 100644
--- a/games/kubrick-kde4/Makefile
+++ b/games/kubrick-kde4/Makefile
@@ -8,10 +8,10 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_GL= glu
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= corelib gui opengl \
+USE_QT= corelib gui opengl \
moc_build qmake_build rcc_build uic_build
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
diff --git a/games/kubrick/Makefile b/games/kubrick/Makefile
index 9966db697aab..04b406df65af 100644
--- a/games/kubrick/Makefile
+++ b/games/kubrick/Makefile
@@ -7,11 +7,11 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:5 tar:xz
+USES= cmake:outsource 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
-USE_QT5= core dbus gui network opengl qml quick svg widgets xml \
+USE_QT= core dbus gui network opengl qml quick svg widgets xml \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/libkdegames-kde4/Makefile b/games/libkdegames-kde4/Makefile
index b8dec4541a62..7c327cf367ef 100644
--- a/games/libkdegames-kde4/Makefile
+++ b/games/libkdegames-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= Libraries used by KDE 4 games
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs automoc4
-USE_QT4= network phonon xml moc_build qmake_build rcc_build uic_build
+USE_QT= network phonon xml moc_build qmake_build rcc_build uic_build
USE_LDCONFIG= yes
OPTIONS_DEFINE= LOWLATENCY
diff --git a/games/libkdegames/Makefile b/games/libkdegames/Makefile
index 6570e420dd22..05a1774fc28d 100644
--- a/games/libkdegames/Makefile
+++ b/games/libkdegames/Makefile
@@ -9,13 +9,13 @@ COMMENT= Libraries used by KDE games
LIB_DEPENDS= libsndfile.so:audio/libsndfile
-USES= cmake:outsource gettext kde:5 openal tar:xz
+USES= cmake:outsource gettext kde:5 openal qt:5 tar:xz
USE_KDE= archive attica auth bookmarks codecs completion config \
configwidgets coreaddons crash dbusaddons dnssd ecm emoticons \
globalaccel guiaddons i18n iconthemes init itemmodels \
itemviews jobwidgets kdeclarative kdelibs4support kio newstuff \
package service textwidgets widgetsaddons xmlgui
-USE_QT5= core dbus gui network qml quick svg testlib widgets xml \
+USE_QT= core dbus gui network qml quick svg testlib widgets xml \
buildtools_build qmake_build
USE_LDCONFIG= yes
diff --git a/games/libkmahjongg-kde4/Makefile b/games/libkmahjongg-kde4/Makefile
index ff70e3eebc04..8d466dc64fcb 100644
--- a/games/libkmahjongg-kde4/Makefile
+++ b/games/libkmahjongg-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= Library for the Mahjongg Solitaire for KDE 4
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= moc_build qmake_build rcc_build uic_build
+USE_QT= moc_build qmake_build rcc_build uic_build
USE_LDCONFIG= yes
.include <bsd.port.mk>
diff --git a/games/libkmahjongg/Makefile b/games/libkmahjongg/Makefile
index 9073e7de7a76..45549c299741 100644
--- a/games/libkmahjongg/Makefile
+++ b/games/libkmahjongg/Makefile
@@ -7,9 +7,9 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= Library for the Mahjongg Solitaire for KDE 5
-USES= cmake:outsource compiler:c++11-lang gettext kde:5 tar:xz
+USES= cmake:outsource compiler:c++11-lang gettext kde:5 qt:5 tar:xz
USE_KDE= completion config configwidgets coreaddons ecm i18n widgetsaddons
-USE_QT5= core gui svg widgets \
+USE_QT= core gui svg widgets \
buildtools_build qmake_build
USE_LDCONFIG= yes
diff --git a/games/lskat-kde4/Makefile b/games/lskat-kde4/Makefile
index 7339a56ff18e..34965fab45e4 100644
--- a/games/lskat-kde4/Makefile
+++ b/games/lskat-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= corelib gui gui svg \
+USE_QT= corelib gui gui svg \
moc_build qmake_build rcc_build uic_build
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
diff --git a/games/lskat/Makefile b/games/lskat/Makefile
index c7742a786f5f..f24d17d14f2e 100644
--- a/games/lskat/Makefile
+++ b/games/lskat/Makefile
@@ -7,10 +7,10 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:5 tar:xz
+USES= cmake:outsource kde:5 qt:5 tar:xz
USE_KDE= auth codecs config configwidgets coreaddons crash ecm \
guiaddons i18n libkdegames notifyconfig widgetsaddons xmlgui
-USE_QT5= core dbus gui network qml quick svg widgets xml \
+USE_QT= core dbus gui network qml quick svg widgets xml \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/multimc/Makefile b/games/multimc/Makefile
index 5d7a92b2f59d..c558926f7daf 100644
--- a/games/multimc/Makefile
+++ b/games/multimc/Makefile
@@ -12,7 +12,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING.md
RUN_DEPENDS= lwjgl>=2.9.3:games/lwjgl
-USES= cmake:outsource compiler:c++14-lang
+USES= cmake:outsource compiler:c++14-lang qt:5
USE_GITHUB= yes
GH_ACCOUNT= MultiMC
GH_PROJECT= MultiMC5
@@ -20,7 +20,7 @@ GH_TUPLE= MultiMC:libnbtplusplus:508eda8:libnbtplusplus/libraries/libnbtplusplus
MultiMC:quazip:3691d57:quazip/libraries/quazip
USE_LDCONFIG= yes
USE_JAVA= 1.8+
-USE_QT5= buildtools core concurrent gui network qmake testlib_build widgets xml
+USE_QT= buildtools core concurrent gui network qmake testlib_build widgets xml
CMAKE_ARGS= -DMultiMC_LAYOUT="lin-system"
CMAKE_OFF= MultiMC_UPDATER
diff --git a/games/openmw/Makefile b/games/openmw/Makefile
index 5ad99cbcb656..cfdcf4fa238b 100644
--- a/games/openmw/Makefile
+++ b/games/openmw/Makefile
@@ -23,9 +23,9 @@ LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \
USE_GITHUB= yes
GH_ACCOUNT= OpenMW
-USES= cmake:outsource compiler:c++14-lang openal pkgconfig
+USES= cmake:outsource compiler:c++14-lang openal pkgconfig qt:5
USE_GL= gl
-USE_QT5= qmake_build buildtools_build core gui network opengl \
+USE_QT= qmake_build buildtools_build core gui network opengl \
printsupport widgets
USE_SDL= sdl2
USE_XORG= xt
diff --git a/games/openpref/Makefile b/games/openpref/Makefile
index 3db225db257e..1410eea8d1eb 100644
--- a/games/openpref/Makefile
+++ b/games/openpref/Makefile
@@ -13,8 +13,8 @@ COMMENT= Preferans game
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= qmake
-USE_QT4= corelib gui moc_build rcc_build uic_build
+USES= qmake qt:4
+USE_QT= corelib gui moc_build rcc_build uic_build
MAKE_JOBS_UNSAFE= yes
PLIST_FILES= bin/${PORTNAME} \
diff --git a/games/pairs-kde4/Makefile b/games/pairs-kde4/Makefile
index d48209b74b9d..7bedc1aba172 100644
--- a/games/pairs-kde4/Makefile
+++ b/games/pairs-kde4/Makefile
@@ -11,9 +11,9 @@ COMMENT= Memory and pairs game for KDE
LICENSE= GPLv2
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs automoc4
-USE_QT4= declarative opengl phonon xmlpatterns \
+USE_QT= declarative opengl phonon xmlpatterns \
moc_build qmake_build rcc_build uic_build
.include <bsd.port.mk>
diff --git a/games/palapeli-kde4/Makefile b/games/palapeli-kde4/Makefile
index 34d75c341bba..8f0d08c4d1a1 100644
--- a/games/palapeli-kde4/Makefile
+++ b/games/palapeli-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 shared-mime-info tar:xz
+USES= cmake:outsource kde:4 qt:4 shared-mime-info tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= corelib gui gui \
+USE_QT= corelib gui gui \
moc_build qmake_build rcc_build uic_build
USE_LDCONFIG= yes
diff --git a/games/palapeli/Makefile b/games/palapeli/Makefile
index 097aeba7ddda..0b2b36ca15b8 100644
--- a/games/palapeli/Makefile
+++ b/games/palapeli/Makefile
@@ -7,11 +7,11 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:5 shared-mime-info tar:xz
+USES= cmake:outsource kde:5 qt:5 shared-mime-info tar:xz
USE_KDE= archive auth codecs completion config configwidgets coreaddons \
crash i18n itemviews jobwidgets kio libkdegames notifications service \
widgetsaddons xmlgui
-USE_QT5= concurrent core dbus gui network svg widgets xml \
+USE_QT= concurrent core dbus gui network svg widgets xml \
buildtools_build qmake_build
USE_LDCONFIG= yes
diff --git a/games/peg-e/Makefile b/games/peg-e/Makefile
index b4d776771044..f4d56cbe6c1c 100644
--- a/games/peg-e/Makefile
+++ b/games/peg-e/Makefile
@@ -14,8 +14,8 @@ COMMENT= Peg elimination game
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= compiler:c++11-lib qmake tar:bzip2
-USE_QT5= core gui widgets qmake_build buildtools_build linguisttools_build
+USES= compiler:c++11-lib qmake qt:5 tar:bzip2
+USE_QT= core gui widgets qmake_build buildtools_build linguisttools_build
USE_GL= gl
INSTALLS_ICONS= yes
diff --git a/games/pentobi/Makefile b/games/pentobi/Makefile
index 58b932f13bd2..3c9b1d036834 100644
--- a/games/pentobi/Makefile
+++ b/games/pentobi/Makefile
@@ -12,8 +12,8 @@ COMMENT= Computer opponent for the board game Blokus
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= cmake desktop-file-utils shared-mime-info tar:xz
-USE_QT5= core gui widgets svg concurrent \
+USES= cmake desktop-file-utils qt:5 shared-mime-info tar:xz
+USE_QT= core gui widgets svg concurrent \
qmake_build buildtools_build linguisttools_build
PORTDOCS= NEWS
diff --git a/games/picmi-kde4/Makefile b/games/picmi-kde4/Makefile
index a13a693858ff..08fb5578ae0c 100644
--- a/games/picmi-kde4/Makefile
+++ b/games/picmi-kde4/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= games kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource kde:4 tar:xz
+USES= cmake:outsource kde:4 qt:4 tar:xz
USE_KDE= kdelibs libkdegames automoc4
-USE_QT4= moc_build qmake_build rcc_build uic_build \
+USE_QT= moc_build qmake_build rcc_build uic_build \
svg xml
.include <${.CURDIR}/../kdegames-kde4/Makefile.common>
diff --git a/games/picmi/Makefile b/games/picmi/Makefile
index 7af4bff54eaa..b737597cd1b9 100644
--- a/games/picmi/Makefile
+++ b/games/picmi/Makefile
@@ -7,11 +7,11 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake:outsource gettext kde:5 tar:xz
+USES= cmake:outsource gettext kde:5 qt:5 tar:xz
USE_KDE= auth codecs completion config configwidgets coreaddons crash \
dbusaddons doctools ecm i18n jobwidgets kdeclarative kio \
libkdegames newstuff service widgetsaddons xmlgui
-USE_QT5= core dbus gui network qml quick svg testlib widgets xml \
+USE_QT= core dbus gui network qml quick svg testlib widgets xml \
buildtools_build qmake_build
.include <${.CURDIR}/../kdegames/Makefile.common>
diff --git a/games/pokerth/Makefile b/games/pokerth/Makefile
index 3f71dd27c9c6..be500412f847 100644
--- a/games/pokerth/Makefile
+++ b/games/pokerth/Makefile
@@ -23,8 +23,8 @@ LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
BUILD_DEPENDS= ${LOCALBASE}/include/libircclient.h:irc/libircclient \
protoc:devel/protobuf
-USES= iconv gmake qmake sqlite ssl
-USE_QT4= gui corelib network sql sql-sqlite3 \
+USES= iconv gmake qmake qt:4 sqlite ssl
+USE_QT= gui corelib network sql sql-sqlite3 \
moc_build rcc_build uic_build
USE_SDL= mixer
QMAKE_SOURCE_PATH= pokerth.pro
diff --git a/games/qgo/Makefile b/games/qgo/Makefile
index d4a405300ec8..4fceee012d48 100644
--- a/games/qgo/Makefile
+++ b/games/qgo/Makefile
@@ -12,8 +12,8 @@ COMMENT= Go board and SGF editor written with the Qt library
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= desktop-file-utils qmake tar:bzip2
-USE_QT4= gui network qtestlib moc_build rcc_build uic_build
+USES= desktop-file-utils qmake qt:4 tar:bzip2
+USE_QT= gui network qtestlib moc_build rcc_build uic_build
PLIST_FILES= bin/qgo share/applications/qgo.desktop share/pixmaps/qgo.png
diff --git a/games/qnetwalk/Makefile b/games/qnetwalk/Makefile
index d267b5bb55ad..d6cc64408559 100644
--- a/games/qnetwalk/Makefile
+++ b/games/qnetwalk/Makefile
@@ -13,8 +13,8 @@ COMMENT= Qt-version of the NetWalk game
LICENSE= GPLv2
-USES= qmake
-USE_QT4= corelib gui moc_build rcc_build
+USES= qmake qt:4
+USE_QT= corelib gui moc_build rcc_build
USE_SDL= mixer
PLIST_FILES= bin/qnetwalk \
diff --git a/games/qtads/Makefile b/games/qtads/Makefile
index 36696028851a..114a3ea9744a 100644
--- a/games/qtads/Makefile
+++ b/games/qtads/Makefile
@@ -11,8 +11,8 @@ COMMENT= Cross-platform multimedia interpreter for TADS games
LICENSE= GPLv2
-USES= gmake pkgconfig qmake tar:bzip2
-USE_QT4= gui moc_build network rcc_build uic_build
+USES= gmake pkgconfig qmake qt:4 tar:bzip2
+USE_QT= gui moc_build network rcc_build uic_build
USE_SDL= sdl mixer sound
QMAKE_ARGS+= QMAKE_CFLAGS_RELEASE="" QMAKE_CXXFLAGS_RELEASE=""
diff --git a/games/quackle/Makefile b/games/quackle/Makefile
index c938dce798ad..605fc498f5c2 100644
--- a/games/quackle/Makefile
+++ b/games/quackle/Makefile
@@ -14,8 +14,8 @@ LICENSE= GPLv3
USE_GITHUB= yes
-USES= compiler:c++11-lib gmake qmake
-USE_QT4= corelib gui moc_build
+USES= compiler:c++11-lib gmake qmake qt:4
+USE_QT= corelib gui moc_build
BUILD_WRKSRC= ${WRKSRC}/quacker
diff --git a/games/simsu/Makefile b/games/simsu/Makefile
index fc79c2bd3004..6214ba026e46 100644
--- a/games/simsu/Makefile
+++ b/games/simsu/Makefile
@@ -14,8 +14,8 @@ COMMENT= Basic Sudoku game
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= compiler:c++11-lib qmake tar:bzip2
-USE_QT5= core gui widgets buildtools_build linguisttools_build
+USES= compiler:c++11-lib qmake qt:5 tar:bzip2
+USE_QT= core gui widgets buildtools_build linguisttools_build
USE_GL= gl
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/games/solarus-quest-editor/Makefile b/games/solarus-quest-editor/Makefile
index 89670f2b744d..f2388c15883e 100644
--- a/games/solarus-quest-editor/Makefile
+++ b/games/solarus-quest-editor/Makefile
@@ -25,8 +25,8 @@ GH_ACCOUNT= christopho
CMAKE_ARGS+= -DSOLARUS_USE_LUAJIT=OFF
USE_SDL= sdl2 ttf2 image2
-USE_QT5= buildtools core gui linguist qmake widgets
-USES= cmake compiler:c++11-lib openal
+USE_QT= buildtools core gui linguist qmake widgets
+USES= cmake compiler:c++11-lib openal qt:5
DESKTOP_ENTRIES= "Solarus Quest Editor" "${COMMENT}" "${PORTNAME}" "${PORTNAME}" \
"Game;" false
diff --git a/games/solarus/Makefile b/games/solarus/Makefile
index 8847976b0745..ccdc9cbd6dc5 100644
--- a/games/solarus/Makefile
+++ b/games/solarus/Makefile
@@ -21,10 +21,10 @@ LIB_DEPENDS= libphysfs.so:devel/physfs \
CMAKE_ARGS+= -DSOLARUS_USE_LUAJIT=OFF
MAKE_ARGS+= DESTDIR=${STAGEDIR}
-USE_QT5= buildtools_build core gui linguisttools_build widgets
+USE_QT= buildtools_build core gui linguisttools_build widgets
USE_SDL= sdl2 ttf2 image2
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-USES= cmake:noninja qmake compiler:c++11-lib openal
+USES= cmake:noninja qmake compiler:c++11-lib openal qt:5
USE_LDCONFIG= yes
.include <bsd.port.mk>
diff --git a/games/spellathon/Makefile b/games/spellathon/Makefile
index 5caeb4d3d5d2..e5cace499813 100644
--- a/games/spellathon/Makefile
+++ b/games/spellathon/Makefile
@@ -20,9 +20,9 @@ LIB_DEPENDS= libpcre.so:devel/pcre \
libfontconfig.so:x11-fonts/fontconfig
CXXFLAGS+= -fPIC
-USES= gettext iconv qmake
+USES= gettext iconv qmake qt:4
USE_GNOME= glib20
-USE_QT4= corelib gui moc_build rcc_build uic_build
+USE_QT= corelib gui moc_build rcc_build uic_build
USE_XORG= ice sm x11 xau xcb xdmcp xext xrender
USE_LDCONFIG= yes
diff --git a/games/sudoku-sensei/Makefile b/games/sudoku-sensei/Makefile
index 15f7ac5adb85..19066ef1df98 100644
--- a/games/sudoku-sensei/Makefile
+++ b/games/sudoku-sensei/Makefile
@@ -17,8 +17,8 @@ LICENSE= GPLv2+
WRKSRC= ${WRKDIR}/SudokuSenseiSources
-USES= qmake
-USE_QT4= moc_build uic_build corelib gui iconengines_run imageformats_run
+USES= qmake qt:4
+USE_QT= moc_build uic_build corelib gui iconengines_run imageformats_run
SUB_FILES= ${PORTNAME} pkg-deinstall pkg-message
diff --git a/games/tanglet/Makefile b/games/tanglet/Makefile
index 4a6352368476..52308695dc3e 100644
--- a/games/tanglet/Makefile
+++ b/games/tanglet/Makefile
@@ -14,9 +14,9 @@ LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= compiler:c++11-lib desktop-file-utils pkgconfig qmake \
- shared-mime-info tar:bzip2
+ qt:5 shared-mime-info tar:bzip2
USE_GL= gl
-USE_QT5= buildtools_build linguisttools_build core gui widgets
+USE_QT= buildtools_build linguisttools_build core gui widgets
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/games/tbe/Makefile b/games/tbe/Makefile
index a143a7c09566..32b02b341798 100644
--- a/games/tbe/Makefile
+++ b/games/tbe/Makefile
@@ -18,8 +18,8 @@ BUILD_DEPENDS= ${LOCALBASE}/bin/unzip:archivers/unzip
USE_GITHUB= yes
GH_ACCOUNT= kaa-ching
-USES= cmake compiler:c++11-lib
-USE_QT4= corelib gui linguisttools_build moc_build qmake_build rcc_build \
+USES= cmake compiler:c++11-lib qt:4
+USE_QT= corelib gui linguisttools_build moc_build qmake_build rcc_build \
svg uic_build xml
PORTDOCS= *
diff --git a/games/tetzle/Makefile b/games/tetzle/Makefile
index fdd214683d72..66e5a535c655 100644
--- a/games/tetzle/Makefile
+++ b/games/tetzle/Makefile
@@ -14,8 +14,8 @@ COMMENT= Jigsaw puzzle with tetrominoes
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= compiler:c++11-lib desktop-file-utils qmake tar:bzip2
-USE_QT5= core gui widgets buildtools_build linguisttools_build
+USES= compiler:c++11-lib desktop-file-utils qmake qt:5 tar:bzip2
+USE_QT= core gui widgets buildtools_build linguisttools_build
USE_GL= gl
INSTALLS_ICONS= yes
diff --git a/games/valyriatear/Makefile b/games/valyriatear/Makefile
index 3ffa89a4558e..3110d37679f3 100644
--- a/games/valyriatear/Makefile
+++ b/games/valyriatear/Makefile
@@ -41,7 +41,8 @@ OPTIONS_SUB= yes
EDITOR_DESC= Compile the Qt editor along with the game
EDITOR_CMAKE_BOOL= EDITOR_SUPPORT
-EDITOR_USE= QT4=corelib,gui,opengl,qmake_build,moc_build,uic_build,rcc_build
+EDITOR_USES= qt:4
+EDITOR_USE= QT=corelib,gui,opengl,qmake_build,moc_build,uic_build,rcc_build
EDITOR_DESKTOP_ENTRIES= \
"Valyria Tear Editor" \
"Map editor for Valyria Tear game" \
diff --git a/games/warzone2100/Makefile b/games/warzone2100/Makefile
index f0f1315a6a71..a05cd340c5b1 100644
--- a/games/warzone2100/Makefile
+++ b/games/warzone2100/Makefile
@@ -24,13 +24,13 @@ LIB_DEPENDS= libphysfs.so:devel/physfs \
libharfbuzz.so:print/harfbuzz
RUN_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu
-USES= bison compiler:c++11-lib gmake localbase openal:al pkgconfig ssl tar:xz
+USES= bison compiler:c++11-lib gmake localbase openal:al pkgconfig \
+ qmake:no_env qt:5 ssl tar:xz
GNU_CONFIGURE= yes
USE_GL= gl glu glew
USE_SDL= sdl2
USE_XORG= x11 xrandr
-USE_QT5= core gui widgets script buildtools_build
-QT_NONSTANDARD= yes
+USE_QT= core gui widgets script buildtools_build
CONFIGURE_ARGS= --program-transform-name="" --with-distributor="FreeBSD ports"
CONFIGURE_ENV= LIBCRYPTO_CFLAGS="-I${OPENSSLINC}" \
LIBCRYPTO_LIBS="-L${OPENSSLLIB} -lcrypto"
diff --git a/games/xptools/Makefile b/games/xptools/Makefile
index 4c4ba30d484a..e3417eaa07df 100644
--- a/games/xptools/Makefile
+++ b/games/xptools/Makefile
@@ -34,7 +34,7 @@ LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libGLw.so:graphics/libGLw \
libGLU.so:graphics/libGLU
-USES= eigen:3 gmake jpeg sqlite ssl
+USES= eigen:3 gmake jpeg qt:4 sqlite ssl
USE_GITHUB= yes
GH_ACCOUNT= X-Plane
@@ -43,7 +43,7 @@ GH_TAGNAME= 982173e:xptools_libs
USE_CXXSTD= c++11
USE_BINUTILS= yes
-USE_QT4= corelib gui moc opengl
+USE_QT= corelib gui moc opengl
USE_GL+= gl
BINARIES= DDSTool DSFTool MeshTool ObjConverter ObjView RenderFarm RenderFarmUI WED XGrinder XPlaneSupportLin.p