aboutsummaryrefslogtreecommitdiff
path: root/games/capitalism
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/capitalism
parent2e4d9cb0a9275b0c9b38c229e8ad7ef4a3dbb749 (diff)
downloadports-3de3028d382ea1cb335ca8f044442e37d2caa56d.tar.gz
ports-3de3028d382ea1cb335ca8f044442e37d2caa56d.zip
Notes
Diffstat (limited to 'games/capitalism')
-rw-r--r--games/capitalism/Makefile13
1 files changed, 3 insertions, 10 deletions
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}