summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2013-11-22 18:48:31 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2013-11-22 18:48:31 +0000
commit3de3028d382ea1cb335ca8f044442e37d2caa56d (patch)
tree091fb65a63e71fdf689744ba9d8b82c592e16bce /games
parent- update to 2.2.0 (diff)
- Convert to USES=qmake
- Adjust USE_QT4 components Approved by: portmgr (blanket approval)
Notes
Notes: svn path=/head/; revision=334602
Diffstat (limited to 'games')
-rw-r--r--games/bubble-chains/Makefile11
-rw-r--r--games/capicity/Makefile11
-rw-r--r--games/capitalism/Makefile13
-rw-r--r--games/connectagram/Makefile10
-rw-r--r--games/cutemaze/Makefile7
-rw-r--r--games/gottet/Makefile11
-rw-r--r--games/jag/Makefile9
-rw-r--r--games/peg-e/Makefile8
-rw-r--r--games/qnetwalk/Makefile8
-rw-r--r--games/simsu/Makefile7
-rw-r--r--games/tanglet/Makefile10
-rw-r--r--games/tbe/Makefile6
12 files changed, 30 insertions, 81 deletions
diff --git a/games/bubble-chains/Makefile b/games/bubble-chains/Makefile
index f7a541e0b292..5d549e16b3c7 100644
--- a/games/bubble-chains/Makefile
+++ b/games/bubble-chains/Makefile
@@ -19,18 +19,19 @@ BUILD_DEPENDS= 7z:${PORTSDIR}/archivers/p7zip
WRKSRC= ${WRKDIR}/chains-${PORTVERSION}-src
+USES= qmake
USE_SDL= sdl image mixer
USE_GL= glut glew glu
USE_XORG= xrandr
USE_DOS2UNIX= *.pro *.cpp *.h *.ui *.ui *.rc *.htm *.dat *.css
-USE_QT4= moc_build qmake_build rcc_build uic_build iconengines imageformats \
+USE_QT4= moc_build rcc_build uic_build iconengines_run imageformats_run \
corelib svg xml opengl network
-QMAKEFLAGS= QMAKE_LFLAGS="-L${LOCALBASE}/lib -lX11 -lSDL-1.2"
+LDFLAGS+= -L${LOCALBASE}/lib -lX11 -lSDL-1.2
PORTDOCS= README
DESKTOP_ENTRIES="Bubble Chains" "${COMMENT}" "${PORTNAME}" \
- "${PORTNAME}" "Game;ArcadeGame;" false
+ "${PORTNAME}" "Game;ArcadeGame;" true
OPTIONS_DEFINE= DOCS
@@ -47,10 +48,6 @@ post-patch:
@${REINPLACE_CMD} -e 's|/usr/local/games/chains|${DATADIR}|' \
${WRKSRC}/main.cpp ${WRKSRC}/Game.pro
-do-configure:
- @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
- ${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
-
post-configure:
@${REINPLACE_CMD} -e 's|CFLAGS =|CFLAGS ?=|' \
-e 's|CXXFLAGS =|CXXFLAGS ?=|' \
diff --git a/games/capicity/Makefile b/games/capicity/Makefile
index a27d501f99ff..24f21b340f77 100644
--- a/games/capicity/Makefile
+++ b/games/capicity/Makefile
@@ -21,9 +21,9 @@ LIB_DEPENDS= libpthread-stubs.so:${PORTSDIR}/devel/libpthread-stubs \
WRKSRC= ${WRKDIR}/CapiCity_${PORTVERSION}
-USES= iconv
+USES= iconv qmake
USE_XORG= ice sm x11 xau xcb xdmcp xext xrender
-USE_QT4= moc_build qmake_build rcc_build uic_build iconengines imageformats \
+USE_QT4= moc_build rcc_build uic_build iconengines_run imageformats_run \
corelib gui network script xml
PORTDOCS= README changelog
@@ -43,13 +43,6 @@ NLS_USES= gettext
NO_STAGE= yes
.include <bsd.port.options.mk>
-do-configure:
- @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
- ${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
-
-post-configure:
- @${REINPLACE_CMD} -e 's|-O2 -pthread||g' ${WRKSRC}/Makefile
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/CapiCity ${PREFIX}/bin/${PORTNAME}
diff --git a/games/capitalism/Makefile b/games/capitalism/Makefile
index 01fa3653521b..47542ff3096b 100644
--- a/games/capitalism/Makefile
+++ b/games/capitalism/Makefile
@@ -22,9 +22,9 @@ LIB_DEPENDS= libpthread-stubs.so:${PORTSDIR}/devel/libpthread-stubs \
WRKSRC= ${WRKDIR}/Capitalism-${PORTVERSION}
-USES= iconv
+USES= iconv qmake
USE_XORG= ice sm x11 xau xcb xdmcp xext xrender
-USE_QT4= moc_build qmake_build rcc_build uic_build iconengines imageformats \
+USE_QT4= moc_build rcc_build uic_build iconengines_run imageformats_run \
corelib gui network script xml
PORTDOCS= README changelog readme.txt
@@ -33,7 +33,7 @@ INSTALLS_ICONS= yes
ICON_SIZES= 16x16 22x22 24x24 32x32 48x48 64x64
DESKTOP_ENTRIES="Capitalism" "${COMMENT}" "${PORTNAME}" \
- "${PORTNAME}" "Game;BoardGame;" false
+ "${PORTNAME}" "Game;BoardGame;" true
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
@@ -43,13 +43,6 @@ NLS_USES= gettext
.include <bsd.port.options.mk>
-do-configure:
- @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
- ${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
-
-post-configure:
- @${REINPLACE_CMD} -e 's|-O2 -pthread||g' ${WRKSRC}/Makefile
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/Capitalism ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
diff --git a/games/connectagram/Makefile b/games/connectagram/Makefile
index bee51d5cc132..70cdf36a9953 100644
--- a/games/connectagram/Makefile
+++ b/games/connectagram/Makefile
@@ -13,9 +13,9 @@ COMMENT= Word unscrambling game
LICENSE= GPLv3
USE_BZIP2= yes
-USES= desktop-file-utils
-USE_QT4= moc_build qmake_build rcc_build gui network iconengines \
- imageformats
+USES= desktop-file-utils qmake
+USE_QT4= moc_build rcc_build gui network iconengines_run \
+ imageformats_run
INSTALLS_ICONS= yes
PORTDOCS= CREDITS ChangeLog
@@ -23,10 +23,6 @@ PORTDOCS= CREDITS ChangeLog
NO_STAGE= yes
.include <bsd.port.options.mk>
-do-configure:
- @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
- ${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
-
post-install:
@(cd ${WRKSRC} && ${COPYTREE_SHARE} data ${DATADIR})
@(cd ${WRKSRC}/icons && ${COPYTREE_SHARE} patterns ${DATADIR})
diff --git a/games/cutemaze/Makefile b/games/cutemaze/Makefile
index 5b1c0b73c327..8969da5c63c1 100644
--- a/games/cutemaze/Makefile
+++ b/games/cutemaze/Makefile
@@ -14,8 +14,9 @@ LICENSE= GPLv3
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+USES= qmake
USE_BZIP2= yes
-USE_QT4= moc_build qmake_build rcc_build uic_build iconengines imageformats
+USE_QT4= moc_build rcc_build uic_build iconengines_run imageformats_run
INSTALLS_ICONS= yes
PORTDOCS= ChangeLog README
@@ -23,10 +24,6 @@ PORTDOCS= ChangeLog README
NO_STAGE= yes
.include <bsd.port.options.mk>
-do-configure:
- @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
- ${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX} ${WRKSRC}/${PORTNAME}.pro
-
post-install:
# Icons
@(cd ${WRKSRC}/icons && ${COPYTREE_SHARE} oxygen ${PREFIX}/share/icons/)
diff --git a/games/gottet/Makefile b/games/gottet/Makefile
index 2c3354699d2d..739ef988af8c 100644
--- a/games/gottet/Makefile
+++ b/games/gottet/Makefile
@@ -12,8 +12,9 @@ COMMENT= Tetris clone
LICENSE= GPLv3
+USES= qmake
USE_BZIP2= yes
-USE_QT4= moc_build qmake_build rcc_build iconengines imageformats
+USE_QT4= moc_build rcc_build iconengines_run imageformats_run
INSTALLS_ICONS= yes
PORTDOCS= CREDITS ChangeLog
@@ -21,14 +22,6 @@ PORTDOCS= CREDITS ChangeLog
NO_STAGE= yes
.include <bsd.port.options.mk>
-do-configure:
- @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
- ${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
-
-post-configure:
- @${REINPLACE_CMD} 's|-O2 -Wall|-Wall|g' \
- ${WRKSRC}/Makefile
-
post-install:
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps/
diff --git a/games/jag/Makefile b/games/jag/Makefile
index 74696ab1135d..a5fc51737e02 100644
--- a/games/jag/Makefile
+++ b/games/jag/Makefile
@@ -19,9 +19,8 @@ USE_SDL= sdl mixer
USE_DOS2UNIX= Game.pro
USE_XORG= x11
-MAKE_ARGS+= INSTALL_ROOT="${STAGEDIR}"
-
-USE_QT4= qmake_build uic_build moc_build rcc_build \
+USES= qmake
+USE_QT4= uic_build moc_build rcc_build \
corelib svg xml opengl network
PLIST_FILES= bin/${PORTNAME}
@@ -32,10 +31,6 @@ post-patch:
${WRKSRC}/main.cpp ${WRKSRC}/Game.pro
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/Game.pro
-do-configure:
- @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
- ${QMAKE} ${QMAKEFLAGS} Game.pro
-
post-install:
cd ${WRKDIR}/${DISTNAME:C/src/data/} && ${COPYTREE_SHARE} data ${STAGEDIR}${DATADIR}/
diff --git a/games/peg-e/Makefile b/games/peg-e/Makefile
index 183ddaf9eb83..65c3fb19925b 100644
--- a/games/peg-e/Makefile
+++ b/games/peg-e/Makefile
@@ -11,15 +11,11 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Peg elimination game
+USES= qmake
USE_BZIP2= yes
-USE_QT4= corelib gui moc_build qmake_build rcc_build
+USE_QT4= corelib gui moc_build rcc_build
INSTALLS_ICONS= yes
-DESTDIRNAME= INSTALL_ROOT
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-do-configure:
- @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS} \
- PREFIX=${PREFIX} ${PORTNAME}.pro
-
.include <bsd.port.mk>
diff --git a/games/qnetwalk/Makefile b/games/qnetwalk/Makefile
index 7a8b526b2490..8f0dd7bf54a6 100644
--- a/games/qnetwalk/Makefile
+++ b/games/qnetwalk/Makefile
@@ -12,9 +12,9 @@ COMMENT= Qt-version of the NetWalk game
LICENSE= GPLv2
-USE_QT4= corelib gui qmake_build moc_build rcc_build
+USES= qmake
+USE_QT4= corelib gui moc_build rcc_build
USE_SDL= mixer
-DESTDIRNAME= INSTALL_ROOT
PORTDOCS= ChangeLog README
@@ -26,10 +26,6 @@ post-patch:
s|/usr/share|$$$${PREFIX}/share|; \
/INSTALLS.*menu/ d' ${WRKSRC}/${PORTNAME}.pro
-do-configure:
- @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
- ${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
-
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}/
diff --git a/games/simsu/Makefile b/games/simsu/Makefile
index dde8aac8b66b..68c52171a94b 100644
--- a/games/simsu/Makefile
+++ b/games/simsu/Makefile
@@ -13,8 +13,9 @@ COMMENT= Basic Sudoku game
LICENSE= GPLv3
+USES= qmake
USE_BZIP2= yes
-USE_QT4= moc_build qmake_build rcc_build uic_build iconengines imageformats
+USE_QT4= moc_build rcc_build uic_build iconengines_run imageformats_run
INSTALLS_ICONS= yes
PORTDOCS= CREDITS ChangeLog
@@ -22,10 +23,6 @@ PORTDOCS= CREDITS ChangeLog
NO_STAGE= yes
.include <bsd.port.options.mk>
-do-configure:
- @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
- ${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
-
post-install:
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps/
diff --git a/games/tanglet/Makefile b/games/tanglet/Makefile
index fe7baa9a01e3..902ca042a438 100644
--- a/games/tanglet/Makefile
+++ b/games/tanglet/Makefile
@@ -14,9 +14,9 @@ COMMENT= Single player word finding game based on Boggle
LICENSE= GPLv3
USE_BZIP2= yes
-USES= desktop-file-utils
-USE_QT4= moc_build qmake_build rcc_build gui iconengines imageformats
-QMAKEFLAGS= QMAKE_LFLAGS="-lz"
+USES= desktop-file-utils qmake
+USE_QT4= moc_build rcc_build gui iconengines_run imageformats_run
+LDFLAGS+= -lz
INSTALLS_ICONS= yes
PORTDOCS= CREDITS ChangeLog NEWS
@@ -28,10 +28,6 @@ post-patch:
@${REINPLACE_CMD} -i '' -e '/PKGCONFIG += zlib/d' \
${WRKSRC}/tanglet.pro
-do-configure:
- @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
- ${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
-
post-install:
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps/
diff --git a/games/tbe/Makefile b/games/tbe/Makefile
index 08656f7b4d8c..74f3e6a6fb02 100644
--- a/games/tbe/Makefile
+++ b/games/tbe/Makefile
@@ -13,8 +13,9 @@ COMMENT= The Butterfly Effect
BUILD_DEPENDS= ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip
LIB_DEPENDS= execinfo:${PORTSDIR}/devel/libexecinfo
+USES= qmake
USE_GMAKE= yes
-USE_QT4= qmake_build corelib gui moc_build rcc_build svg uic_build xml
+USE_QT4= corelib gui moc_build rcc_build svg uic_build xml
WRKSRC= ${WRKDIR}/TheButterflyEffect-M${PORTVERSION}rc3
PLIST_FILES= bin/tbe
@@ -34,10 +35,9 @@ post-patch:
@${REINPLACE_CMD} -e '/ensure that no-one tries to build/,$$d' \
${WRKSRC}/tbe.pro
-pre-build:
+pre-configure:
# This is supposedly done by the ./configure script
@cd ${WRKSRC}/3rdParty && ${GMAKE}
- @cd ${WRKSRC} && ${QMAKE} ${QMAKEFLAGS}
do-install:
@${MKDIR} ${PREFIX}/bin