From 3de3028d382ea1cb335ca8f044442e37d2caa56d Mon Sep 17 00:00:00 2001 From: Max Brazhnikov Date: Fri, 22 Nov 2013 18:48:31 +0000 Subject: - Convert to USES=qmake - Adjust USE_QT4 components Approved by: portmgr (blanket approval) --- games/capitalism/Makefile | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'games/capitalism') 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 -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} -- cgit v1.2.3