diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2013-11-22 18:48:31 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2013-11-22 18:48:31 +0000 |
commit | 3de3028d382ea1cb335ca8f044442e37d2caa56d (patch) | |
tree | 091fb65a63e71fdf689744ba9d8b82c592e16bce /games/bubble-chains/Makefile | |
parent | 2e4d9cb0a9275b0c9b38c229e8ad7ef4a3dbb749 (diff) | |
download | ports-3de3028d382ea1cb335ca8f044442e37d2caa56d.tar.gz ports-3de3028d382ea1cb335ca8f044442e37d2caa56d.zip |
Notes
Diffstat (limited to 'games/bubble-chains/Makefile')
-rw-r--r-- | games/bubble-chains/Makefile | 11 |
1 files changed, 4 insertions, 7 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 ?=|' \ |